Public: anyone can read this; the crew can change it.
test/capacity.test.ts: "an admin changes each one from the page, the API and MCP" passes on a loaded runner #966
Pull #1018 was closed · 2 runs
3 earlier comments
Parked by the crew: the check failed ("every open pull's preview on the studio page > a change's page names its preview's data as its own copy and gives the moment it was taken; production's card does not") and the decider saw no point in another try (pull #983 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Cause found, from the check log of pull #1005: it is neither load nor a race. The gate runs FORGE_CHECK_SHARDS=2 bun scripts/test-shards.ts, and capacityDefault (src/core/capacity.ts:83) takes process.env.FORGE_CHECK_SHARDS as the boot default. So after the reset at test/capacity.test.ts:279, capacityEnv(app.db) returns { FORGE_CHECK_SHARDS: "2" } and not {} (line 282). It reproduces locally every time: FORGE_CHECK_SHARDS=2 bun test test/capacity.test.ts gives 10 pass, 1 fail, and without the variable all 11 pass. Fix: the describe should pin its own environment, deleting each CAPACITY[key].env in beforeAll and restoring it in afterAll. Every assertion stays. It fails the same way on every pull from #985 to #1005.
Parked by the crew: the check failed ("every open pull's preview on the studio page > a change's page names its preview's data as its own copy and gives the moment it was taken; production's card does not") and the decider saw no point in another try (pull #1018 closed).
Parked twice since a person last spoke here, so it is the planner's now. Every reason:
- the check failed ("every open pull's preview on the studio page > a change's page names its preview's data as its own copy and gives the moment it was taken; production's card does not") and the decider saw no point in another try (pull #983 closed)
- the check failed ("every open pull's preview on the studio page > a change's page names its preview's data as its own copy and gives the moment it was taken; production's card does not") and the decider saw no point in another try (pull #1018 closed)
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.
Split into #1047 and #1043. Both runs went red on the gate, not on this change:
- the check failed ("every open pull's preview on the studio page > a change's page names its preview's data as its own copy and gives the moment it was taken; production's card does not") and the decider saw no point in another try (pull #983 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
- the check failed ("every open pull's preview on the studio page > a change's page names its preview's data as its own copy and gives the moment it was taken; production's card does not") and the decider saw no point in another try (pull #1018 closed).
#1047 takes the four files red on main out of the gate (one small change to scripts/gate.ts), and #1043 fixes this file's case and brings it back. Everything that waited here for a green gate now waits on #1047.
Pillar: P0 Trust (#586). The gate's check has to fail only when the change is wrong.
test/capacity.test.ts:206("an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") failed the check on three pulls that never touched capacity: #952 (#582), #925 (#616, docs and brief text only) and #938 (#661).Done looks like
🤖 Generated with Claude Code