Repository navigation
Annotations
3 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 (postgres) failed after 29 runs (17 shrinks)
replay: FUZZ_SEED=1072265818 FUZZ_PATH=29:2:0:1:2:2:2:1:1:3:3:4:4:4:4:4:4:4 bun run fuzz -t 'generated fixtures: query results agree \(postgres\)'
--- input (shrunk)
{"fixture":{"orders":[{"OrgId":"org_1","Customer":"acme","Amount":0,"Status":"paid","Note":null,"Created":1767225600000,"Id":1}],"customers":[]},"plan":{"orgId":"org_1","join":"inner","where":[{"k":"cmp","op":"eq","l":{"k":"arith","op":"div","l":{"k":"num","v":0},"r":{"k":"col","col":"Amount"}},"r":{"k":"value","v":0}},{"k":"tenant","side":"orders"}],"shape":{"k":"rows","select":[["id",{"k":"col","col":"Id"}]],"distinct":false,"orderBy":[],"limit":undefined,"offset":undefined},"wrap":false,"crossTenant":false}}
--- error
expected 'DatabaseError' to be 'Rows' // Object.is equality
--- sql
WITH "orders" AS (
SELECT CAST('org_1' AS text) AS "OrgId", CAST(1 AS int4) AS "Id", CAST('acme' AS text) AS "Customer", CAST(0 AS int8) AS "Amount", CAST('paid' AS text) AS "Status", CAST(NULL AS text) AS "Note", CAST('2026-01-01 00:00:00.000' AS timestamptz) AS "Created"
),
"customers" AS (
SELECT CAST(NULL AS text) AS "OrgId", CAST(NULL AS text) AS "Name", CAST(NULL AS text) AS "Tier" WHERE 1 = 0
)
SELECT
"orders"."Id" AS "id"
FROM "orders"
INNER JOIN "customers" AS "c" ON ("orders"."Customer" = "c"."Name" AND "orders"."OrgId" = "c"."OrgId")
WHERE 0 / "orders"."Amount" = 0
AND "orders"."OrgId" = $1
--- parameters
["org_1"]
--- tenantScope
single-tenant
--- outcome
{"_tag":"DatabaseError","message":"division by zero"}
--- expected
[]
--- pin it: add the input above to tests/fuzz/regressions.ts under a key matching "generated fixtures: query results agree (postgres)"
❯ property tests/fuzz/harness.ts:155:8
|
|
Check package, types, unit tests and live dialect:
tests/fuzz/harness.ts#L207
Error: [fuzz] compiled row codec retains generated values (d1)
Property falsified after 69 run(s) and 16 shrink(s)
Shrunk input: {
"id": "\u0000",
"payload": {
"id": "\u0000",
"message": "",
"values": [],
"metadata": {
"": null,
"\u0000": "",
"Ʊ": null,
"/n~,i~ ": null,
"\\V": null,
"\ud800": null
}
},
"transformed": 2.4211977153927447e-141
}
Failure: Error: expected false to be true // Object.is equality
Replay: [0,"8323332255941353",68,7,[0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6],"PropertyError"]
--- wire
[{"id":"\u0000","payload":"{\"id\":\"\\u0000\",\"message\":\"\",\"values\":[],\"metadata\":{\"\":null,\"\\u0000\":\"\",\"Ʊ\":null,\"/n~,i~ \":null,\"\\\\V\":null,\"\\ud800\":null}}","transformed":"2.4211977153927447e-141"}]
--- decoded
[{"id":"\u0000","payload":{"id":"\u0000","message":"","values":[],"metadata":{"":null,"\\":"","Ʊ":null,"/n~,i~ ":null,"\\V":null,"\ud800":null}},"transformed":2.4211977153927447e-141}]
FUZZ_REPLAY='[0,"8323332255941353",68,7,[0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6],"PropertyError"]' bun run fuzz -t 'compiled row codec retains generated values \(d1\)'
❯ nativeProperty tests/fuzz/harness.ts:207: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