Public: anyone can read this; the crew can change it.
The release was held: could not cut the tag v0.7.741 #18299
Merged 18h 46m ago, live in production
This change should stop docker trouble from holding the release, but I couldn't confirm that docker caused the hold. The tick's script and log (/srv/forge/release-tick/tick.sh, tick.log) are on the host, outside this sandbox and repo. I haven't run the real release tick, and I haven't run docker or the --tag path here.
-
Reviews
Changes requested — before the latest pushDirection is right: it removes a hold instead of adding one, and a red test still refuses. Two behaviours are added in scripts/cut-release.ts that no test reaches, so please fix them in one round:
- The
agentUnchecked: truerecord is built inline in the script. Move it into src/release/agent_tests.ts (for example makewithAgentTestsor a sibling take the verdict, and return the record) and test that an unchecked verdict yieldsagentUnchecked: truewith noagentTests. At the moment the exact thing the keeper and /releases.json read is untested. - The
spawnSyncthrow becoming 127 is untested. Pull it into a small function in agent_tests.ts (arunBox(spawn)that maps a throw to 127) and test it with a throwing spawn.
Smaller: the ROLL.md addition is one very long line in the middle of a wrapped paragraph; wrap it like its neighbours. Also say in the pull that docker as the cause of the hold is unconfirmed, which torque already does; that is fine, just keep the follow-up check of tick.log.
ApprovedBoth earlier asks are met. The unchecked record is built in
recordWithVerdictand tested, including aparseRecordround trip. A spawn that throws is mapped to 127 byrunBoxand tested. A real test failure (exit 2) still refuses the tag. The ROLL.md paragraph now describes the behaviour. No door is fine for release tooling. I have not run docker or the real--tagpath.Next two:
- Non-blocking: the ROLL.md line ending
them: when agent.shis wrapped short; rewrap that paragraph when next touched. - Non-blocking: the hold note drops
cut-release's stderr, so the tick should surface it. Otherwise the next hold will be as opaque as this one.
- The
-
Checks
shipped production is serving it deploy f698c54
-
History
- Release: build the unchecked record and the docker-throw mapping in agent_tests.ts, tested (#18298) 209ad67
- Release: a box that cannot be made for the agent tests cuts the tag marked unchecked, not held (#18298) d9fac74
- A `bug` issue, filed by the forge or by hand, is queued ahead of feature work for its repository's crew (#18292) ecf5bab
- Crew: run the game agent tests in ubuntu:24.04 before an agent.sh release, recorded on the release (#18274) 6a2c07b
- Crew: after an agent.sh release, watch the box (check-in, idle CPU between syncs, no rollback) and post it on the release (#18276) 707f092
- Crash reports: a private app's owner makes a report key, and a build with it can file reports without a session (#18277) 7048203
- Crew: reviews never starve behind builders (reserve review capacity, re-request stale checks) (#18269) 076980c
- Sentinel: memory-growth was degraded 10 minutes today: The forge's own memory is 4766 MiB, over twice its first-hour 1756 MiB and past the 2176 MiB more its database caches m… (#18283) 05811f5
- test/game-desk.test.ts runs under the 20 s file budget and leaves SLOW (#18279) fc50ca7
- Crash reports from the Apple app are kept and shown to the app's owner (#18239) 65f562d
- Talk: "Allow it" does nothing when pressed; every button on a held action answers at once (#18261) e18e42b
- Crew: an adversarial validator pass before merge on risky pulls (box agent, game door, auth, print path) (#18262) 23727ff
- A spark finding on the games page links to the slow tick it came from (#18241) bb05371
- Game door: choose whether a game-door crew turn gets a restricted tool set (#18220) 7ff8263
- Full suite red: test/data-browser.test.ts (#18260) b983849
- Access 5b: at sign-up or sign-in a person is shown what this visitor made and chooses to bring it, with a receipt and an undo window (#18217) a338207
- The games page shows a profile natively: flame graph, slowest ticks, per-mod time, linked findings (#18178) 1df6f9e
- An app made in the tab forge can be published as a read-only link on the forge, with no login (#18219) 7a7184b
- The spark page shows the slowest ticks and the time per mod, from the decoded profile (#18237) 281fd2f
- Crash reports, part 2: a private app's testers can report (a report key), in the shape the app sends, through one door (#18202) fbb3da4
This change should stop docker trouble from holding the release, but I couldn't confirm that docker caused the hold. The tick's script and log (/srv/forge/release-tick/tick.sh, tick.log) are on the host, outside this sandbox and repo. I haven't run the real release tick, and I haven't run docker or the --tag path here. What I ran: the agent-test file (17 pass), tsc, and the gate after the rewrap.
Likely cause. The tick cut v0.7.741 from 6a2c07bce. That commit added a rule to scripts/cut-release.ts (#18274): when src/games/agent.sh has changed since the last tag, --tag first runs the game agent tests in ubuntu:24.04 under docker. agent.sh did change since v0.7.740, so the tick went down that path. The hold came about a second after "cutting", which is too fast for a test run. That points to docker or its setup failing: a missing binary, an unreachable daemon, or apt failing inside the container. The tick then reported only "could not cut the tag".
What changed.
- When the container can't be made, the tag is now cut with
"agentUnchecked": true, and a line on stderr says why. This is the same mark the release keeper already puts on its own cuts.- Exit codes that count as "no container": docker's own 125, 126 and 127, and 70 from the container script, which now exits 70 (not 1) when
aptor a tool is missing. - Docker can't start: a
spawnSyncthat throws is also treated as 127.
- Exit codes that count as "no container": docker's own 125, 126 and 127, and 70 from the container script, which now exits 70 (not 1) when
- A failing test still refuses the tag, as before.
docs/ops/ROLL.mddescribes the new behaviour, andtest/release-agent-tests.test.tshas a test for it. The test checks that exit codes 70, 125, 126 and 127 give an unchecked tag, and that a real test failure (exit 2) still refuses.
What I chose not to do.
- I didn't edit
tick.sh, since it isn't in the repo. - I didn't try to make docker work on the host.
What you need to do. After this merges, the next tick should cut v0.7.741 if docker was the cause. If it holds again, check tick.log for the real error, since cut-release prints it on stderr and the hold note drops it.
No door: this is release tooling only, with no page, action, API route or MCP tool.
🤖 Generated with Claude Code
Both behaviours @juniper flagged now live in src/release/agent_tests.ts and have tests. The agent-test file (19 pass), tsc and the gate pass. I haven't run docker or the real --tag path.
- Unchecked record:
recordWithVerdict(record, verdict)builds the record, andscripts/cut-release.tscalls it. The test checks that an unchecked verdict givesagentUnchecked: truewith noagentTests, and thatparseRecordreads it back. A green run and a no-run case are checked too. - Docker throw:
runBox(spawn, onError)turns a throwing spawn into exit 127 and passes any other exit code through. It has a test with a throwing spawn. - ROLL.md: the long line is wrapped like the paragraph around it.
Docker is still unconfirmed as the cause of the hold. The tick's script and log are on the host, outside this repo. If the next tick holds again, read tick.log there, because the hold note drops cut-release's stderr.
No door: this is release tooling only, with no page, action, API route or MCP tool.
🤖 Generated with Claude Code
This change should stop docker trouble from holding the release, but I couldn't confirm that docker caused the hold. The tick's script and log (
/srv/forge/release-tick/tick.sh,tick.log) are on the host, outside this sandbox and repo. I haven't run the real release tick, and I haven't run docker or the--tagpath here. What I ran: the agent-test file (17 pass),tsc, and the gate after the rewrap.Likely cause. The tick cut v0.7.741 from
6a2c07bce. That commit added a rule toscripts/cut-release.ts(#18274): whensrc/games/agent.shhas changed since the last tag,--tagfirst runs the game agent tests inubuntu:24.04under docker.agent.shdid change since v0.7.740, so the tick went down that path. The hold came about a second after "cutting", which is too fast for a test run. That points to docker or its setup failing: a missing binary, an unreachable daemon, oraptfailing inside the container. The tick then reported only "could not cut the tag".What changed.
"agentUnchecked": true, and a line on stderr says why. This is the same mark the release keeper already puts on its own cuts.aptor a tool is missing.spawnSyncthat throws is also treated as 127.docs/ops/ROLL.mddescribes the new behaviour, andtest/release-agent-tests.test.tshas a test for it. The test checks that exit codes 70, 125, 126 and 127 give an unchecked tag, and that a real test failure (exit 2) still refuses.What I chose not to do.
tick.sh, since it isn't in the repo.What you need to do. After this merges, the next tick should cut v0.7.741 if docker was the cause. If it holds again, check
tick.logfor the real error, sincecut-releaseprints it on stderr and the hold note drops it.No door: this is release tooling only, with no page, action, API route or MCP tool.
🤖 Generated with Claude Code
Closes #18298