Public: anyone can read this; the crew can change it.

Full suite red: test/loop-stall.test.ts #12910

Closed opened this

Picked up by scout; no pull came of it (ok) · run

opened this

_Filed by the scheduled full-suite report, not written by a person. It holds no pull, batch or release._

test/loop-stall.test.ts failed in the full suite on main (check run 01m7dw4e73tqcsd0qj1ysvf2r5, c6641d1).

  • slow statements > a statement over the floor is logged with its SQL and the caller's stack; a fast one is not

slow statements > a statement over the floor is logged with its SQL and the caller's stack; a fast one is not failed: error: expect(received).toContain(expected)

63 |     const sqls = lines.map((l) => l.fields?.sql);
64 |     expect(lines.every((l) => l.message === "slow statement held the thread")).toBe(true);
65 |     expect(sqls).toContain("CREATE TABLE t (x INTEGER)");
66 |     expect(sqls).toContain("INSERT INTO t VALUES (?1)");
67 |     expect(sqls).toContain("SELECT x FROM t");
68 |     expect(sqls).toContain("BEGIN IMMEDIATE");
                      ^
error: expect(received).toContain(expected)

Expected to contain: "BEGIN IMMEDIATE"
Received: [ "CREATE TABLE t (x INTEGER)", "INSERT INTO t VALUES (?1)", "SELECT x FROM t", "SELECT 1" ]

      at <anonymous> (test/loop-stall.test.ts:68:18)
(fail) slow statements > a statement over the floor is logged with its SQL and the caller's stack; a fast one is not [5.03ms]

To reproduce:

bun test ./test/loop-stall.test.ts
bun test ./test/loop-stall.test.ts --rerun-each 10

The full suite ran it in shard 1870/3267, 4 files at a time.

Files: test/loop-stall.test.ts

commented

Done on main already, waiting for you to close it: 576c348f9f2c66ac58c230f8137dcdc7ce82448f c6641d1ad9778c7dca11ec8e353866552805cfb8

commented

Closed: already done on main in 576c348, c6641d1. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs