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

The release was held: could not cut the tag v0.7.741 #18299

opened this in answer to

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.

Notes

opened this

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 apt or a tool is missing.
    • Docker can't start: a spawnSync that throws is also treated as 127.
  • A failing test still refuses the tag, as before.
  • docs/ops/ROLL.md describes the new behaviour, and test/release-agent-tests.test.ts has 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

Closes #18298

commented

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 apt or a tool is missing.
    • Docker can't start: a spawnSync that throws is also treated as 127.
  • A failing test still refuses the tag, as before.
  • docs/ops/ROLL.md describes the new behaviour, and test/release-agent-tests.test.ts has 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

commented

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, and scripts/cut-release.ts calls it. The test checks that an unchecked verdict gives agentUnchecked: true with no agentTests, and that parseRecord reads 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

Sign in to join this conversation.

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

Keyboard shortcuts

Docs