Public: anyone can read this; the crew can change it.
Full suite red: 3 files in check run 01m7p8cn13awbyfbzj84c0msm9 #14327
6 earlier comments
Still red in the full suite (check run 01m7pa5det6b2x72916gt1xepp, 4adf612): test/asks.test.ts, test/design-lint.test.ts.
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 [30.65ms]
To reproduce:
bun test ./test/asks.test.ts
bun test ./test/asks.test.ts --rerun-each 10
The full suite ran it in shard 2075/3744, 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 3477/3744, 4 files at a time.
Still red in the full suite (check run 01m7qe75kpn9ahr2vhxvnbr4f4, 02af203): test/asks.test.ts, test/design-lint.test.ts.
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 [41.86ms]
To reproduce:
bun test ./test/asks.test.ts
bun test ./test/asks.test.ts --rerun-each 10
The full suite ran it in shard 2076/3745, 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 3478/3745, 4 files at a time.
Still red in the full suite (check run 01m7r31s2p7xxx7088pn4zcr00, 7c29c34): test/asks.test.ts, test/design-lint.test.ts.
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 [31.21ms]
To reproduce:
bun test ./test/asks.test.ts
bun test ./test/asks.test.ts --rerun-each 10
The full suite ran it in shard 2075/3745, 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 3478/3745, 4 files at a time.
Still red in the full suite (check run 01m7scfj0jsb4v456zfc516h15, 01d0c4f): test/asks.test.ts, test/design-lint.test.ts.
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 [41.95ms]
To reproduce:
bun test ./test/asks.test.ts
bun test ./test/asks.test.ts --rerun-each 10
The full suite ran it in shard 2076/3746, 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 3479/3746, 4 files at a time.
Still red in the full suite (check run 01m7se6gbcn2f9bxmacmhhw55h, ec25086): test/asks.test.ts, test/design-lint.test.ts.
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 [30.46ms]
To reproduce:
bun test ./test/asks.test.ts
bun test ./test/asks.test.ts --rerun-each 10
The full suite ran it in shard 2076/3746, 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 3479/3746, 4 files at a time.
Still red in the full suite (check run 01m7t1a4gjp1006gx177zp8mqz, 501b993): test/asks.test.ts, test/design-lint.test.ts.
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 [27.00ms]
To reproduce:
bun test ./test/asks.test.ts
bun test ./test/asks.test.ts --rerun-each 10
The full suite ran it in shard 2076/3746, 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 3479/3746, 4 files at a time.
Still red in the full suite (check run 01m7tnzbe9c29fqbs2wq2xq9sb, 805f4b0): test/asks.test.ts, test/design-lint.test.ts.
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 [38.78ms]
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/3747, 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 3480/3747, 4 files at a time.
_Filed by the scheduled full-suite report, not written by a person. It holds no pull, batch or release._
3 files failed in the full suite on main (check run 01m7p8cn13awbyfbzj84c0msm9, f49aa93), filed as one issue: one run red for one cause starts one builder.
test/asks.test.tstest/share-path.test.tstest/design-lint.test.tstest/asks.test.tsthe asks page > a green change's card says what its tests didthe asks page > a green change's card says what its tests didfailed:error: expect(received).toContain(expected)To reproduce:
The full suite ran it in shard 2077/3744, 4 files at a time.
test/share-path.test.tsthe plan facts in /pricing's Offer data and /llms.txt's table are the plans settingthe plan facts in /pricing's Offer data and /llms.txt's table are the plans settingfailed:error: expect(received).toContain(expected)To reproduce:
The full suite ran it in shard 2659/3744, 4 files at a time.
test/design-lint.test.tsdesign check: the layout rules (#12017) > the tree is no worse than its named debtdesign check: the layout rules (#12017) > the tree is no worse than its named debtfailed:error: expect(received).toEqual(expected)To reproduce:
The full suite ran it in shard 3477/3744, 4 files at a time.
Files: test/asks.test.ts, test/share-path.test.ts, test/design-lint.test.ts