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

Full suite red: 4 files in check run 01m88myjv5qvraqbp1k0ehe857 #16401

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._

4 files failed in the full suite on main (check run 01m88myjv5qvraqbp1k0ehe857, 07da35b), filed as one issue: one run red for one cause starts one builder.

  • test/og-map.test.ts
  • test/new-forge-pick-150.test.ts
  • test/timers-named.test.ts
  • test/cookie-flags.test.ts

test/og-map.test.ts

Red only in the full suite: test/og-map.test.ts passed when rerun alone on main's commit 07da35b in 13.6 s, with 1 other check running (a flake under load), so it is held until a second full-suite run is red for it.

  • the card draws open issues only, names the done count, and resolves fast

the card draws open issues only, names the done count, and resolves fast failed: error: expect(received).toBeLessThan(expected)

53 |   expect(new TextEncoder().encode(svg).length).toBeLessThan(300_000);
54 |   expect(svg).toContain("2000 done");
55 |   expect(svg).toContain("300 open issues");
56 |   const resolve = /resolve;dur=([\d.]+)/.exec(res.headers.get("server-timing") ?? "");
57 |   expect(resolve).not.toBeNull();
58 |   expect(Number(resolve![1])).toBeLessThan(150);
                                   ^
error: expect(received).toBeLessThan(expected)

Expected: < 150
Received: 201.1

      at <anonymous> (test/og-map.test.ts:58:31)
(fail) the card draws open issues only, names the done count, and resolves fast [479.08ms]

To reproduce:

bun test ./test/og-map.test.ts
bun test ./test/og-map.test.ts --rerun-each 10

The full suite ran it in shard 24/4342, 4 files at a time.

test/new-forge-pick-150.test.ts

Red alone too: test/new-forge-pick-150.test.ts failed when rerun alone on main's commit 07da35b in 18.2 s, with 1 other check 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.

  • the page with 150 repositories costs a handful of statements, not one per repository

the page with 150 repositories costs a handful of statements, not one per repository failed: error: expect(received).toBeLessThanOrEqual(expected)

20 |   });
21 | }
22 |
23 | /** Asserts counted work `measured` is no larger than `max`. */
24 | export function expectWork(measured: number, opts: { max: number }): void {
25 |   expect(measured).toBeLessThanOrEqual(opts.max);
                        ^
error: expect(received).toBeLessThanOrEqual(expected)

Expected: <= 20
Received: 21

      at expectWork (test/helpers/work.ts:25:20)
      at <anonymous> (test/new-forge-pick-150.test.ts:54:3)
(fail) the page with 150 repositories costs a handful of statements, not one per repository [301.36ms]

To reproduce:

bun test ./test/new-forge-pick-150.test.ts
bun test ./test/new-forge-pick-150.test.ts --rerun-each 10

The full suite ran it in shard 503/4342, 4 files at a time.

test/timers-named.test.ts

Red alone too: test/timers-named.test.ts failed when rerun alone on main's commit 07da35b in 11.8 s, with 1 other check 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.

  • background timers run inside during > every server-side timer callback is wrapped in during or allowed by name
  • background timers run inside during > each allowed entry names exactly one timer, and says why

background timers run inside during > every server-side timer callback is wrapped in during or allowed by name failed: error: expect(received).toEqual(expected)

363 |
364 |   test("every server-side timer callback is wrapped in during or allowed by name", () => {
365 |     const unnamed = timers()
366 |       .filter((t) => !t.named && !ALLOWED.some((a) => matches(a, t)))
367 |       .map((t) => `${t.file}:${t.line}: ${t.call}(${t.callback.slice(0, 60)}`);
368 |     expect(unnamed).toEqual([]);
                          ^
error: expect(received).toEqual(expected)

- []
+ [
+   "src/spawn/making.ts:231: setTimeout(r",
+ ]

- Expected  - 1
+ Received  + 3

      at <anonymous> (test/timers-named.test.ts:368:21)
(fail) background timers run inside during > every server-side timer callback is wrapped in during or allowed by name [856.99ms]

background timers run inside during > each allowed entry names exactly one timer, and says why failed: error: expect(received).toEqual(expected)

404 |   test("each allowed entry names exactly one timer, and says why", () => {
405 |     const all = timers();
406 |     for (const a of ALLOWED) {
407 |       expect(a.why.length).toBeGreaterThan(10);
408 |       const listed = ALLOWED.filter((b) => b.file === a.file && b.call === a.call && b.starts === a.starts).length;
409 |       expect({ ...a, found: all.filter((t) => matches(a, t)).length }).toEqual({ ...a, found: listed });
                                                                             ^
error: expect(received).toEqual(expected)

  {
    "call": "setTimeout",
    "file": "src/actions/order.ts",
-   "found": 1,
+   "found": 0,
    "starts": "r",
    "why": "a sleep: it only resolves the promise its caller awaits, and the caller's work after the await is the caller's job",
  }

- Expected  - 1
+ Received  + 1

      at <anonymous> (test/timers-named.test.ts:409:72)
(fail) background timers run inside during > each allowed entry names exactly one timer, and says why [1.41ms]

To reproduce:

bun test ./test/timers-named.test.ts
bun test ./test/timers-named.test.ts --rerun-each 10

The full suite ran it in shard 1114/4342, 4 files at a time.

test/cookie-flags.test.ts

Red alone too: test/cookie-flags.test.ts failed when rerun alone on main's commit 07da35b in 16.5 s, with 1 other check 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.

  • cookie-setting sites > every file's cookie sites are walked above or named, counted exactly; a stray one is named by file and line

cookie-setting sites > every file's cookie sites are walked above or named, counted exactly; a stray one is named by file and line failed: error: expect(received).toEqual(expected)

448 |     for (const [file, { sites }] of Object.entries(UNREACHED)) expected[file] = sites;
449 |     const off = [...new Set([...Object.keys(found), ...Object.keys(expected)])]
450 |       .sort()
451 |       .filter((file) => (found[file]?.length ?? 0) !== (expected[file] ?? 0))
452 |       .map((file) => `${file}: ${found[file]?.length ?? 0} sites, the test names ${expected[file] ?? 0} (${(found[file] ?? []).join(", ") || "none left"})`);
453 |     expect(off).toEqual([]);
                      ^
error: expect(received).toEqual(expected)

- []
+ [
+   "src/web/pages/new-forge.ts: 2 sites, the test names 1 (src/web/pages/new-forge.ts:813, src/web/pages/new-forge.ts:834)",
+ ]

- Expected  - 1
+ Received  + 3

      at <anonymous> (test/cookie-flags.test.ts:453:17)
(fail) cookie-setting sites > every file's cookie sites are walked above or named, counted exactly; a stray one is named by file and line [480.37ms]

To reproduce:

bun test ./test/cookie-flags.test.ts
bun test ./test/cookie-flags.test.ts --rerun-each 10

The full suite ran it in shard 1298/4342, 4 files at a time.

Files: test/og-map.test.ts, test/new-forge-pick-150.test.ts, test/timers-named.test.ts, test/cookie-flags.test.ts

commented

Green again in the full suite (check run 01m88r2bxtfa4jbpqm9ahkfzaz, b0b02c3).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs