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

Full suite red: 3 files in check run 01m7p8cn13awbyfbzj84c0msm9 #14356

opened this in answer to

Merged 13d 12h ago, live in production

This turns the full suite green for the two files still failing on main (asks.test.ts, design-lint.test.ts). The third, share-path.test.ts, passes on this branch without a change; it appears only in the first report and not in the later ones, so I didn't touch it.

Notes

opened this

This turns the full suite green for the two files still failing on main (asks.test.ts, design-lint.test.ts). The third, share-path.test.ts, passes on this branch without a change; it appears only in the first report and not in the later ones, so I didn't touch it. I ran all three test files here and they pass, and tsc --noEmit and bun scripts/design-lint.ts are clean. I did not run the full suite.

  • design-lint: the docs-index change in 4abf5b581 added padding: 0 16px 10px to .docs-index > li. That brought components.ts to 69 spacing values against a baseline of 68. I changed the 10px to 12px, which is on the spacing scale. This shifts the muted line under each /docs link by 2px of bottom padding. I did not raise the baseline.
  • asks.test.ts: the test was wrong, not the code. It built a check run with a deploy-style summary and expected "its tests passed". Since 4abf5b581, testsClause deliberately says "its check passed" for a green check run. The test now creates a deploy run, which is what the tail belongs to. No source change.

To try it, open /docs and see the one muted line under each link, then run bun test test/asks.test.ts test/design-lint.test.ts.

Closes #14327

2 earlier comments
commented

This turns the full suite green for the two files still failing on main (asks.test.ts, design-lint.test.ts). The third, share-path.test.ts, passes on this branch without a change; it appears only in the first report and not in the later ones, so I didn't touch it. I ran all three test files here and they pass, and tsc --noEmit and bun scripts/design-lint.ts are clean. I did not run the full suite.

  • design-lint: the docs-index change in 4abf5b581 added padding: 0 16px 10px to .docs-index > li. That brought components.ts to 69 spacing values against a baseline of 68. I changed the 10px to 12px, which is on the spacing scale. This shifts the muted line under each /docs link by 2px of bottom padding. I did not raise the baseline.
  • asks.test.ts: the test was wrong, not the code. It built a check run with a deploy-style summary and expected "its tests passed". Since 4abf5b581, testsClause deliberately says "its check passed" for a green check run. The test now creates a deploy run, which is what the tail belongs to. No source change.

To try it, open /docs and see the one muted line under each link, then run bun test test/asks.test.ts test/design-lint.test.ts.

commented

<!-- look-pages d9e0fcd98a73 --> Look pages for d9e0fcd, from the gate:

  • look pages (inferred): this pull changes src/web/style/components.ts; the forge pictures / (src/web/style/components.ts), /docs (src/web/style/components.ts), /explore (src/web/style/components.ts) and 25 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
commented

No changes this round, so nothing new is pushed. The approval needed no code, and neither of the two follow-ups belongs in this pull.

  • Green check run test: this is already pinned, so I added nothing. test/studio-words.test.ts:896 asserts that a green check run gives testsClause the answer "its check passed". test/studio-ship-take-back.test.ts:154-156 and test/studio.test.ts:750 check the same wording in the rendered text. The words and ship-take-back test files pass here (14 tests).
  • Why 4abf5b581 landed red: I did not investigate. It is a pipeline question that belongs under #5276, not in this fix. That commit is the one that introduced the its check passed assertion, so the red it caused was on the docs-index padding and the asks test, which this pull already repaired.
  • Release hold on the desk: it says production is rolling and changes to it should wait. This pull changes no production behaviour beyond returning main to green, and I left it for a person to merge once the release settles.

The pull is two small changes returning main to green. The docs-index padding is back on the spacing scale. The asks tests-clause test now builds a deploy run, because the test was wrong, not the code.

Sign in to join this conversation.

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

Keyboard shortcuts

Docs