Repository navigation
docs: coming from Drizzle or Prisma, and a Worker on Hyperdrive - #117
Merged
Makisuo merged 3 commits intoNov 2, 2026
Merged
Annotations
2 errors and 1 notice
|
Check package, types, unit tests and live dialect
Process completed with exit code 1.
|
|
Check package, types, unit tests and live dialect:
tests/fuzz/harness.ts#L155
Error: [fuzz] generated fixtures: query results agree (clickhouse-join-nulls) failed after 19 runs (30 shrinks)
replay: FUZZ_SEED=-51217625 FUZZ_PATH=18:0:1:0:0:0:1:1:1:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 bun run fuzz -t 'generated fixtures: query results agree \(clickhouse-join-nulls\)'
--- input (shrunk)
{"fixture":{"orders":[],"customers":[]},"plan":{"orgId":"org_1","join":undefined,"where":[{"k":"and","style":"method","cs":[{"k":"not","c":{"k":"in","neg":false,"e":{"k":"col","col":"Note"},"values":[]}},{"k":"and","style":"method","cs":[{"k":"cmp","op":"eq","l":{"k":"arith","op":"add","l":{"k":"num","v":0},"r":{"k":"col","col":"Id"}},"r":{"k":"expr","e":{"k":"arith","op":"mod","l":{"k":"col","col":"Id"},"r":{"k":"col","col":"Id"}}}},{"k":"between","neg":false,"e":{"k":"arith","op":"add","l":{"k":"num","v":0},"r":{"k":"col","col":"Id"}},"lo":{"k":"value","v":0.25},"hi":{"k":"param","kind":"int","v":0}}]}]}],"shape":{"k":"agg","keys":[],"aggs":[["a0",{"k":"countIf","c":{"k":"and","style":"method","cs":[{"k":"like","op":"like","l":{"k":"str","v":""},"pattern":"org\\_1"},{"k":"like","op":"like","l":{"k":"col","col":"OrgId"},"pattern":"org\\_1"}]}}]],"having":[],"orderBy":[],"limit":undefined,"offset":undefined},"wrap":false,"crossTenant":false}}
--- error
expected 'DatabaseError' to be 'Rows' // Object.is equality
--- sql
WITH orders AS (
SELECT CAST('' AS String) AS "OrgId", CAST(0 AS UInt32) AS "Id", CAST('' AS String) AS "Customer", CAST(0 AS Int64) AS "Amount", CAST('' AS String) AS "Status", CAST(NULL AS Nullable(String)) AS "Note", CAST('2026-01-01 00:00:00.000' AS DateTime64(3, 'UTC')) AS "Created" WHERE 1 = 0
),
customers AS (
SELECT CAST('' AS String) AS "OrgId", CAST('' AS String) AS "Name", CAST('' AS String) AS "Tier" WHERE 1 = 0
)
SELECT
countIf(('' LIKE 'org\\_1' AND orders.OrgId LIKE 'org\\_1')) AS a0
FROM orders
WHERE (NOT (1 = 0) AND (0 + orders.Id = orders.Id % orders.Id AND 0 + orders.Id BETWEEN 0.25 AND 0))
--- parameters
[]
--- tenantScope
cross-tenant
--- outcome
{"_tag":"DatabaseError","message":"Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 26.2.19.43 (official build))"}
--- expected
[{"a0":0}]
--- pin it: add the input above to tests/fuzz/regressions.ts under a key matching "generated fixtures: query results agree (clickhouse-join-nulls)"
❯ property tests/fuzz/harness.ts:155:8
|
|
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
background
wait
wait-all
cancel
parallel
Loading