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

Full suite red: 2 files in check run 01m8edsmy1ncvj1bmvt42q3vm2 #16544

Closed opened this

Closed without the crew

opened this

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

2 files failed in the full suite on main (check run 01m8edsmy1ncvj1bmvt42q3vm2, 7faccfb), filed as one issue: one run red for one cause starts one builder.

  • test/git-zero-timeout.test.ts
  • test/ship-time.test.ts

test/git-zero-timeout.test.ts

Red only in the full suite: test/git-zero-timeout.test.ts passed when rerun alone on main's commit 7faccfb in 9.4 s, with 6 other checks running (a flake under load), so it is held until a second full-suite run is red for it.

  • a git given no time is killed even when the event loop is busy until it would have finished

a git given no time is killed even when the event loop is busy until it would have finished failed: error: expect(received).toBe(expected)

37 | test("a git given no time is killed even when the event loop is busy until it would have finished", async () => {
38 |   const before = liveGits();
39 |   const run = runGit(["--version"], { timeoutMs: 0 });
40 |   holdUntilNewGitsEnd(before);
41 |   const r = await run;
42 |   expect(r.ok).toBe(false);
                    ^
error: expect(received).toBe(expected)

Expected: false
Received: true

      at <anonymous> (test/git-zero-timeout.test.ts:42:16)
(fail) a git given no time is killed even when the event loop is busy until it would have finished [8.26ms]

To reproduce:

bun test ./test/git-zero-timeout.test.ts
bun test ./test/git-zero-timeout.test.ts --rerun-each 10

The full suite ran it in shard 1377/4378, 4 files at a time.

test/ship-time.test.ts

Red alone too: test/ship-time.test.ts failed when rerun alone on main's commit 7faccfb in 3.7 s, with 6 other checks running. The runner was shared, so the red may be load, and so it is held until a second full-suite run is red for it.

  • one source, three doors > the API and the kept reading say what the function says; only an admin reads it
  • one source, three doors > the kept reading is reused for a minute and read again after

one source, three doors > the API and the kept reading say what the function says; only an admin reads it failed: error: expect(received).toBe(expected)

189 |       const base = `http://127.0.0.1:${servers.port}`;
190 |       const cookie = `forge_session=${createSession(s.app.db, s.u.id).token}`;
191 |       const res = await fetch(`${base}/api/v1/flow/ship-time`, { headers: { cookie } });
192 |       expect(res.status).toBe(200);
193 |       const body = (await res.json()) as { sentence: string; count: number; medianMs: number };
194 |       expect(body.count).toBe(1);
                               ^
error: expect(received).toBe(expected)

Expected: 1
Received: 0

      at <anonymous> (test/ship-time.test.ts:194:26)
(fail) one source, three doors > the API and the kept reading say what the function says; only an admin reads it [87.83ms]

one source, three doors > the kept reading is reused for a minute and read again after failed: error: expect(received).toBe(expected)

205 |     const s = await seed();
206 |     s.shipped(40, 5);
207 |     const first = cachedShipTime(s.app.db, new Date());
208 |     s.shipped(50, 5);
209 |     expect(cachedShipTime(s.app.db, new Date(Date.now() + 1000))).toBe(first);
210 |     expect(cachedShipTime(s.app.db, new Date(Date.now() + 61_000)).count).toBe(2);
                                                                                ^
error: expect(received).toBe(expected)

Expected: 2
Received: 0

      at <anonymous> (test/ship-time.test.ts:210:75)
(fail) one source, three doors > the kept reading is reused for a minute and read again after [289.45ms]

To reproduce:

bun test ./test/ship-time.test.ts
bun test ./test/ship-time.test.ts --rerun-each 10

The full suite ran it in shard 2489/4378, 4 files at a time.

Files: test/git-zero-timeout.test.ts, test/ship-time.test.ts

2 earlier comments
commented

A second full-suite run is red for it, so it is no longer held as red-only-in-full-suite: a builder may start it.

Still red in the full suite (check run 01m8eh0crhd11vptqb419p25xv, dd6f251).

  • one source, three doors > the API and the kept reading say what the function says; only an admin reads it
  • one source, three doors > the kept reading is reused for a minute and read again after

one source, three doors > the API and the kept reading say what the function says; only an admin reads it failed: error: expect(received).toBe(expected)

189 |       const base = `http://127.0.0.1:${servers.port}`;
190 |       const cookie = `forge_session=${createSession(s.app.db, s.u.id).token}`;
191 |       const res = await fetch(`${base}/api/v1/flow/ship-time`, { headers: { cookie } });
192 |       expect(res.status).toBe(200);
193 |       const body = (await res.json()) as { sentence: string; count: number; medianMs: number };
194 |       expect(body.count).toBe(1);
                               ^
error: expect(received).toBe(expected)

Expected: 1
Received: 0

      at <anonymous> (test/ship-time.test.ts:194:26)
(fail) one source, three doors > the API and the kept reading say what the function says; only an admin reads it [63.37ms]

one source, three doors > the kept reading is reused for a minute and read again after failed: error: expect(received).toBe(expected)

205 |     const s = await seed();
206 |     s.shipped(40, 5);
207 |     const first = cachedShipTime(s.app.db, new Date());
208 |     s.shipped(50, 5);
209 |     expect(cachedShipTime(s.app.db, new Date(Date.now() + 1000))).toBe(first);
210 |     expect(cachedShipTime(s.app.db, new Date(Date.now() + 61_000)).count).toBe(2);
                                                                                ^
error: expect(received).toBe(expected)

Expected: 2
Received: 0

      at <anonymous> (test/ship-time.test.ts:210:75)
(fail) one source, three doors > the kept reading is reused for a minute and read again after [33.44ms]

To reproduce:

bun test ./test/ship-time.test.ts
bun test ./test/ship-time.test.ts --rerun-each 10

The full suite ran it in shard 2690/4390, 4 files at a time.

commented

Still red in the full suite (check run 01m8eknz83m3yv4psfh575xkwy, b6a253b).

  • one source, three doors > the API and the kept reading say what the function says; only an admin reads it
  • one source, three doors > the kept reading is reused for a minute and read again after

one source, three doors > the API and the kept reading say what the function says; only an admin reads it failed: error: expect(received).toBe(expected)

189 |       const base = `http://127.0.0.1:${servers.port}`;
190 |       const cookie = `forge_session=${createSession(s.app.db, s.u.id).token}`;
191 |       const res = await fetch(`${base}/api/v1/flow/ship-time`, { headers: { cookie } });
192 |       expect(res.status).toBe(200);
193 |       const body = (await res.json()) as { sentence: string; count: number; medianMs: number };
194 |       expect(body.count).toBe(1);
                               ^
error: expect(received).toBe(expected)

Expected: 1
Received: 0

      at <anonymous> (test/ship-time.test.ts:194:26)
(fail) one source, three doors > the API and the kept reading say what the function says; only an admin reads it [79.31ms]

one source, three doors > the kept reading is reused for a minute and read again after failed: error: expect(received).toBe(expected)

205 |     const s = await seed();
206 |     s.shipped(40, 5);
207 |     const first = cachedShipTime(s.app.db, new Date());
208 |     s.shipped(50, 5);
209 |     expect(cachedShipTime(s.app.db, new Date(Date.now() + 1000))).toBe(first);
210 |     expect(cachedShipTime(s.app.db, new Date(Date.now() + 61_000)).count).toBe(2);
                                                                                ^
error: expect(received).toBe(expected)

Expected: 2
Received: 0

      at <anonymous> (test/ship-time.test.ts:210:75)
(fail) one source, three doors > the kept reading is reused for a minute and read again after [24.04ms]

To reproduce:

bun test ./test/ship-time.test.ts
bun test ./test/ship-time.test.ts --rerun-each 10

The full suite ran it in shard 1833/4399, 4 files at a time.

commented

Green again in the full suite (check run 01m8esschrqjydg69jsgwxtf1m, fc48693).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs