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

Full suite red: 7 files in check run 01m7tt6wg5j4sc3kpz97xvqar4 #14401

Closed opened this

Picked up by torque; no pull came of it (failed) · 3 runs · run

opened this

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

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

  • test/page-budget.test.ts
  • test/wallet.test.ts
  • test/attention.test.ts
  • test/did-you-mean.test.ts
  • test/asks.test.ts
  • test/not-found-search.test.ts
  • test/design-lint.test.ts

test/page-budget.test.ts

  • each first page runs no more SQL statements warm than its budget

each first page runs no more SQL statements warm than its budget failed: error: expect(received).toEqual(expected)

/explore  200  14 sql
/map  200  16 sql
/:owner/:name  200  50 sql
/changelog  200  21 sql
/:owner/:name/next  200  66 sql
/:owner/:name/space  200  16 sql
/:owner/:name/space.json  200  7 sql
/maintenance  200  81 sql
/pricing  200  10 sql
/forges/new  200  9 sql
/claim  200  11 sql
185 |     table.push(`${b.pattern}\t${c.status}\t${c.statements} sql`);
186 |     const f = countFinding(b, { ...c, samples: [] });
187 |     if (f) findings.push(f);
188 |   }
189 |   console.log(`first pages, counted warm:\n${table.join("\n")}`);
190 |   expect(findings).toEqual([]);
                         ^
error: expect(received).toEqual(expected)

- []
+ [
+   "/:owner/:name (an app page): 50 SQL statements, budget 49 (app 42.0 ms, refs 15.0 ms, wave 9.1 ms, tree 8.3 ms, render 5.9 ms, session 0.2 ms, credit 0.1 ms, appof 0.0 ms, readme 0.0 ms, followi…
+ ]

- Expected  - 1
+ Received  + 3

      at <anonymous> (test/page-budget.test.ts:190:20)
(fail) each first page runs no more SQL statements warm than its budget [23448.01ms]

To reproduce:

bun test ./test/page-budget.test.ts
bun test ./test/page-budget.test.ts --rerun-each 10

The full suite ran it in shard 579/3748, 4 files at a time.

test/wallet.test.ts

  • with 10,000 ledger rows the page costs a few statements, not one per row

with 10,000 ledger rows the page costs a few statements, not one per row failed: error: expect(received).toBeLessThanOrEqual(expected)

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

Expected: <= 40
Received: 41

      at expectWork (test/helpers/work.ts:24:20)
      at <anonymous> (test/wallet.test.ts:167:3)
(fail) with 10,000 ledger rows the page costs a few statements, not one per row [326.97ms]

To reproduce:

bun test ./test/wallet.test.ts
bun test ./test/wallet.test.ts --rerun-each 10

The full suite ran it in shard 996/3748, 4 files at a time.

test/attention.test.ts

  • each page stays inside its first-view budget

each page stays inside its first-view budget failed: error: expect(received).toEqual(expected)

explore      1280   43/42   9/9     0/0
changelog    390    16/18   4/5     0/0
changelog    1280   16/18   4/5     0/0
boards       390    323/336 95/95   2/2
boards       1280   323/336 95/95   2/2
forges       390    30/30   5/5     1/1
forges       1280   30/30   5/5     1/1
crew         390    724/742 89/89   4/4
crew         1280   724/742 89/89   4/4
(seen/budget)
130 |       if (max === undefined) over.push(`${name} @${w}: no budget`);
131 |       else for (const k of ["words", "blocks", "colours"] as const)
132 |         if (got[k] > max[k]) over.push(`${name} @${w}: ${k} ${got[k]} > budget ${max[k]}`);
133 |     }
134 |   console.log(`${rows.join("\n")}\n(seen/budget)`);
135 |   expect(over).toEqual([]);
                     ^
error: expect(received).toEqual(expected)

- []
+ [
+   "explore @390: words 43 > budget 42",
+   "explore @1280: words 43 > budget 42",
+ ]

- Expected  - 1
+ Received  + 4

      at <anonymous> (test/attention.test.ts:135:16)
(fail) each page stays inside its first-view budget [67.23ms]

To reproduce:

bun test ./test/attention.test.ts
bun test ./test/attention.test.ts --rerun-each 10

The full suite ran it in shard 1134/3748, 4 files at a time.

test/did-you-mean.test.ts

  • the suggestion costs queries on a 404 only: the 200 path's count is pinned

the suggestion costs queries on a 404 only: the 200 path's count is pinned failed: error: expect(received).toBe(expected)

111 |   await get("/trevato/forge", "stranger"); // warm
112 |   const found = await queriesFor("/trevato/forge", "stranger");
113 |   const missed = await queriesFor("/trevato/forg", "stranger");
114 |   const bare = await queriesFor("/api-nothing-here/a/b/c/d", "stranger");
115 |   // Pinned exactly, so a query added to or hidden in the 200 path changes a number.
116 |   expect(found).toBe(FOUND_QUERIES);
                      ^
error: expect(received).toBe(expected)

Expected: 41
Received: 42

      at <anonymous> (test/did-you-mean.test.ts:116:17)
(fail) the suggestion costs queries on a 404 only: the 200 path's count is pinned [47.15ms]

To reproduce:

bun test ./test/did-you-mean.test.ts
bun test ./test/did-you-mean.test.ts --rerun-each 10

The full suite ran it in shard 1847/3748, 4 files at a time.

test/asks.test.ts

  • the asks page > a green change's card says what its tests did

the asks page > a green change's card says what its tests did failed: error: expect(received).toContain(expected)

274 |     finishRun(app.db, run.id, { state: "ok", summary: `running at x${TESTS_PASSED_TAIL}` });
275 |     const card = decisionsFor(
276 |       { app, auth: { user: getUserByName(app.db, "alice")! } } as unknown as Ctx,
277 |       [repo],
278 |     ).find((d) => d.id === `look:${pull.id}`);
279 |     expect(card?.says).toContain("its tests passed");
                             ^
error: expect(received).toContain(expected)

Expected to contain: "its tests passed"
Received: "bot finished \"Bot clause\" and the check is green (its check passed). Look at the preview, then ship it or say what is off."

      at <anonymous> (test/asks.test.ts:279:24)
(fail) the asks page > a green change's card says what its tests did [50.01ms]

To reproduce:

bun test ./test/asks.test.ts
bun test ./test/asks.test.ts --rerun-each 10

The full suite ran it in shard 2077/3748, 4 files at a time.

test/not-found-search.test.ts

  • /owner/name offers a search for name; the 404 says once that a private app looks the same

/owner/name offers a search for name; the 404 says once that a private app looks the same failed: error: expect(received).toBe(expected)

38 |   const { status, body } = await get("/nope/nothing");
39 |   expect(status).toBe(404);
40 |   expect(body).toContain('name="q" aria-label="Search this forge" placeholder="Search this forge" value="nothing"');
41 |   expect(body).not.toContain("Search for nothing");
42 |   expect(body).not.toContain("A private app looks the same");
43 |   expect(body.match(/not visible to you/g)?.length).toBe(1);
                                                         ^
error: expect(received).toBe(expected)

Expected: 1
Received: 4

      at <anonymous> (test/not-found-search.test.ts:43:53)
(fail) /owner/name offers a search for name; the 404 says once that a private app looks the same [19.83ms]

To reproduce:

bun test ./test/not-found-search.test.ts
bun test ./test/not-found-search.test.ts --rerun-each 10

The full suite ran it in shard 2795/3748, 4 files at a time.

test/design-lint.test.ts

  • design check: the layout rules (#12017) > the tree is no worse than its named debt

design check: the layout rules (#12017) > the tree is no worse than its named debt failed: error: expect(received).toEqual(expected)

380 |     for (const l of lines) expect(l).toMatch(/^src\/web\/x\.ts:2 {2}(zindex|fixed|viewport|space): .* → /);
381 |     expect(compareLayout(layoutCounts(files), files)).toEqual([]);
382 |   });
383 |   test("the tree is no worse than its named debt", () => {
384 |     const base = JSON.parse(readFileSync("docs/design/baseline.json", "utf8"));
385 |     expect(compareLayout(base.layout ?? {}, scanLayout("."))).toEqual([]);
                                                                    ^
error: expect(received).toEqual(expected)

- []
+ [
+   "src/web/style/components.ts:62  space: padding: 0 10px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:62  space: gap: 5px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:63  space: padding: 0 18px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:80  space: padding: 7px 10px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:103  space: padding-right: 28px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:137  space: gap: 6px 10px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:179  space: padding: 10px 12px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:196  space: padding: 1px 8px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:324  space: padding: 0 5px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:344  space: padding: 2px 5px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:363  space: padding: 0 3px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:368  space: padding: 1px 5px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:408  space: gap: 5px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:411  space: padding: 0 5px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:444  space: padding: 10px 14px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:448  space: gap: 10px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:451  space: padding: 14px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:454  space: padding: 10px 14px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",
+   "src/web/style/components.ts:477  space: gap: 14px  →  spacing is the scale 2 4 6 8 12 16 24 32 48 64px: pick the nearest (68 already named in docs/design/baseline.json)",

To reproduce:

bun test ./test/design-lint.test.ts
bun test ./test/design-lint.test.ts --rerun-each 10

The full suite ran it in shard 3481/3748, 4 files at a time.

Files: test/page-budget.test.ts, test/wallet.test.ts, test/attention.test.ts, test/did-you-mean.test.ts, test/asks.test.ts, test/not-found-search.test.ts, test/design-lint.test.ts

3 earlier comments
commented

Parked by the crew: the run ended without a pull: declined: all seven files pass on the current head, so there is nothing to change. I couldn't tie it to one fix, so no commit is named as the cause.

commented

Parked by the crew: the run ended without a pull: declined: all seven files pass on the current head of this branch (85 pass, 0 fail when run together), so there is nothing to change. The failures were reported against main at 285a1d0. I can't tie them to one

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: declined: all seven files pass on the current head, so there is nothing to change. I couldn't tie it to one fix, so no commit is named as the cause
  2. the run ended without a pull: declined: all seven files pass on the current head of this branch (85 pass, 0 fail when run together), so there is nothing to change. The failures were reported against main at 285a1d0. I can't tie them to one

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Parked by the crew: the run ended without a pull: declined: all seven files pass on the current head of this branch, 8d587066e (85 pass, 0 fail when run together), so there is nothing to change. The report was filed against main at 285a1d0, which is an ancesto

Parked 3 times since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: declined: all seven files pass on the current head, so there is nothing to change. I couldn't tie it to one fix, so no commit is named as the cause
  2. the run ended without a pull: declined: all seven files pass on the current head of this branch (85 pass, 0 fail when run together), so there is nothing to change. The failures were reported against main at 285a1d0. I can't tie them to one
  3. the run ended without a pull: declined: all seven files pass on the current head of this branch, 8d587066e (85 pass, 0 fail when run together), so there is nothing to change. The report was filed against main at 285a1d0, which is an ancesto

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Split by the planner. The seven files pass on main's tip, so no single fix exists here; what holds is two causes and one pipeline gap: #14404 (the report reruns a red file alone before a builder gets it), #14405 (statement counts flip by one under the full suite: page-budget, wallet, did-you-mean, not-found-search, attention), #14406 (the asks card picks a run by a tied order). design-lint was red on 285a1d0 and is green on main now; nothing is filed for it.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs