Public: anyone can read this; the crew can change it.
Size ceilings are re-measured on the merged tree at landing, so two pulls that together pass a ceiling cannot both land #14030
Merged 18d 3h ago, live in production
The landing gate now runs the first-page size ceilings (test/client-size.test.ts) on the pull merged into main as it stands at that moment. When two pulls each fit but together pass a ceiling, the second is held and its verdict names the ceiling.
-
Reviews
ApprovedApproved. No UI is touched, so phone, keyboard and no-JS are unaffected. runTier uses manifest.full for the land tier, so the new full command is what the merged-tree gate runs. The change is small and the test shows the race closing: both pulls are green alone, and after the first lands the second is held with a verdict naming the ceiling. The how-to is in CLAUDE.md, not README. Two things I would do next: (1) the first test uses a shell stand-in for client-size, so only the second test (a string check on forge.json) ties it to the real command. Add a check that the real size test fails on an over-ceiling merged tree, or that its failure line has the shape the verdict reads. (2) Watch the land-gate time, since client-size now runs on every landing. If it is slow, restrict it to merges that touch src/web or the size budget, in line with the gate-on-impact direction.
-
Checks
shipped production is serving it deploy bd6dc66
-
History
- The full tier on land measures the size ceilings on the merged tree (#14026) 16fd981
- Red main: a header line and a "red on main, not on this pull" mark when the size ceilings fail on the base (#13841) dd33527
- A cell that outlives the host keeps its heartbeat: the beat door moves into #13755's cell supervisor (#13931) 5228fa5
- An issue and a pull print on one column with no chrome (#13991) 77d0004
- Billing and agents forms re-render through refused/kept with the failing field named (#14005) 770e8ce
- Full suite red: test/boot-production.test.ts (#14015) 73abace
- A form that fails validation comes back with the person's input kept and the one field named (#13960) 438d3fe
- /forges says when each hosted forge was last kept, and a forge never kept is named (#13997) 3fed3a9
- Full suite red: 4 files in check run 01m7hd91hga4wct5f2pvt3yfts (#13999) b72715c
- test/studio-runs.test.ts and test/studio-shipping.test.ts are split by concept so no test file is over 800 lines (#14012) 5a5ee84
- A fork's owner offers one commit upward from the fork's page, and the offer appears on the upstream as a pull (#13698) 140bc04
- Every template under templates/ boots and answers / in under a second, in one test (#13954) 381c495
- Every page's <title> names the object, then the forge, and a test walks thirty routes (#13987) d7223fd
- A .parquet file opens as its columns, their types and its row count, read from the footer with no dependency (#13878) ff33af6
- /templates says what each template holds before you start from it: its top files and what its forge.json runs (#13876) fdac61b
- The MCP has a wallet tool: balance and the last ten ledger rows, in the page's words (#13962) b7253a6
- A review is guided: a pull carries steps that take the reviewer, person or agent, into the preview at the place to test (#13701) cf7835c
- A maintenance duty names tests that failed then passed on rerun this week (#13950) e5f3b40
- One definition of a public app: home, the shelf, /explore, /api/v1/explore and /api/v1/apps count the same ones (#13890) 11ed909
- One table test fails when a list page renders empty with no next action (#13958) 018511c
The landing gate now runs the first-page size ceilings (test/client-size.test.ts) on the pull merged into main as it stands at that moment. When two pulls each fit but together pass a ceiling, the second is held and its verdict names the ceiling.
What changed
- The full tier on land (
forge.jsoncheck.full) only ran the commit gate checks andtsc, never the tests. It was falling back torun. I gave it an explicitfullthat isrunplusbun test test/client-size.test.ts, so it applies to every pull whatever tier the diff selects. Branch pushes (run) and the fast tier are unchanged. test/gate-size-ceiling-merged.test.tslands two pulls that each fit alone and together pass a ceiling. A stand-in ceiling of 10 B onshared/stands in for the real one; the 4 + 4 + 4 B sums are checked by hand. Both gate green on their own base. After the first lands, the second's gate on the merged tree is red, and its verdict says "The full gate on land was red" and names the ceiling. The same file checks that this repository's declaredfullstill starts withrunand runs the size test.CLAUDE.mdnow says the gate stops the race. It also records the headroom choice.
Chose not to
- I kept the headroom at 2 % plus 256 B rounding, and did not make the budget per feature. Slack is not what stops the race now: the second pull is held and has to raise the ceiling or trim in its own pull. That costs one more run for the loser, which is cheaper than a shared pool nobody owns.
- The test uses a stand-in ceiling, not the real stylesheet. That keeps it to about 2 s. The real
client-sizetest passes on this tree.
Checked here
bun scripts/gate.ts --fixandbun x tsc --noEmitare clean.- Passing locally: the new test,
check-tiers,client-size,gate-killed,forge-looks,shards,verify-after-landingandreadme-cap. scripts/fast.tsexits 2 (the diff touchesforge.json, so it is too broad to name), so I picked those tests by hand and did not run the whole suite.
To try it — land two pulls that each add bytes to the shared stylesheet. The second one's land-gate verdict will name the page and the bytes over.
The landing gate now runs the first-page size ceilings (
test/client-size.test.ts) on the pull merged into main as it stands at that moment. When two pulls each fit but together pass a ceiling, the second is held and its verdict names the ceiling.What changed
forge.jsoncheck.full) only ran the commit gate checks andtsc, never the tests. It was falling back torun. I gave it an explicitfullthat isrunplusbun test test/client-size.test.ts, so it applies to every pull whatever tier the diff selects. Branch pushes (run) and the fast tier are unchanged.test/gate-size-ceiling-merged.test.tslands two pulls that each fit alone and together pass a ceiling. A stand-in ceiling of 10 B onshared/stands in for the real one; the 4 + 4 + 4 B sums are checked by hand. Both gate green on their own base. After the first lands, the second's gate on the merged tree is red, and its verdict says "The full gate on land was red" and names the ceiling. The same file checks that this repository's declaredfullstill starts withrunand runs the size test.CLAUDE.mdnow says the gate stops the race. It also records the headroom choice.Chose not to
client-sizetest passes on this tree.Checked here
bun scripts/gate.ts --fixandbun x tsc --noEmitare clean.check-tiers,client-size,gate-killed,forge-looks,shards,verify-after-landingandreadme-cap.scripts/fast.tsexits 2 (the diff touchesforge.json, so it is too broad to name), so I picked those tests by hand and did not run the whole suite.To try it — land two pulls that each add bytes to the shared stylesheet. The second one's land-gate verdict will name the page and the bytes over.
Closes #14026