Skip to content

release(nightly): a red release run that still published is shipped, not stopped - #377

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/heart-release-merge-check-txqhcr
Sep 11, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
claude/heart-release-merge-check-txqhcr

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

release.yml publishes (tag + PyPI) from its release job, which does not wait on the post-publish run_smoke_tests leg. On 2026-09-11 (PyAutoHands run 34577342347) that leg timed out on one script after every library had published, and the nightly driver paged "nightly release stopped — live release run failed … No release was made" over 2026.9.11.1 standing on PyPI. It also left the activity anchor behind, so the shipped window would have been re-judged tonight.

What changes

agents/conductors/release/nightly.sh:

  • Step 1's same-day tag check becomes released_today().
  • After a red live run, read it again: a YYYY.M.D.* tag on the tag repo means the libraries published (the tag is pushed by release.yml's release job), so notify ⚠️ nightly release shipped with a red smoke leg naming the release run, advance_anchor, exit 0. No tag: page and exit 2 exactly as before.
  • Header updated. The outcome contract in nightly-release.yml is unchanged (0 = reported).

The per-script budget that caused the red leg is fixed on the Hands side (companion PR raising run_smoke_tests to Heart's 1800s release cap); this PR is about telling the truth when it happens again for any reason.

Tests

bash -n clean; the release-conductor-adjacent tests (test_activity_gate, test_stage_failure_summary, board tests): 257 passed. The driver has no unit harness of its own; the new branch reuses the existing guard verbatim.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LyFqaS5R1VUprCcDQ2ForA


Generated by Claude Code

…not stopped

release.yml publishes (tag + PyPI) from its `release` job, which does not
wait on the post-publish run_smoke_tests leg. On 2026-09-11 (run
34577342347) that leg timed out on one script after every library had
published; the driver paged "live release run failed ... No release was
made" over 2026.9.11.1 standing on PyPI, and left the activity anchor
behind, so the shipped window would have been re-judged the next night.

Factor step 1's same-day tag check into released_today() and read it again
after a red live run: tag present means the libraries published, so notify
"shipped with a red smoke leg" (warn, naming the release run for a human
to look at), advance the anchor and exit 0; otherwise page and exit 2 as
before. Header updated.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LyFqaS5R1VUprCcDQ2ForA
@Jammy2211
Jammy2211 merged commit 624e102 into main Sep 11, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the claude/heart-release-merge-check-txqhcr branch September 11, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant