Skip to content

fix(ci): run the release checks from the workflow commit - #147

Merged
gavinying merged 1 commit into
v2from
fix-release-tools-checkout
Nov 14, 2026
Merged

gavinying merged 1 commit into
v2from
fix-release-tools-checkout

Conversation

@gavinying

Copy link
Copy Markdown
Collaborator

Summary

  • Release workflow. The modpoll release image and modpoll release acceptance jobs check out the released tag and ran .github/scripts/release.py from it. A push to v2 that changes the workflow republishes the current version, whose tag (modpoll-v2.0.0a12, 4b19ee1) predates the script added in ci: one release guard for all three packages #146, so the run on ad8d70e failed with No such file and the 2.0.0a12-r1 preview image was not published. Both jobs now take the checks from a sparse checkout of the workflow's own commit (.release-tools) and read the tag's tree with --root, as the modsim release already does.
  • Lifecycle test diagnostics. test_process_exits_promptly_after_successful_poll timed out twice in CI during TOOL-01 (none in the 14 runs since) and could not be reproduced locally under CPU load (25 runs, signal-to-exit 0.06–0.12 s). The child now runs with -X faulthandler; on timeout it receives SIGABRT and the failure message carries every thread's stack.

Merging this changes modpoll-release.yml, so the push to v2 republishes the 2.0.0a12-r1 image and the docs, as designed.

Verification

  • release.py version modpoll-v2.0.0a12 --root <tag worktree> prints modpoll 2.0.0a12 from the current script.
  • pytest -q .github/scripts (11 passed), ruff check .github/scripts, workflow YAML parses.
  • pytest -q packages/modpoll/tests/test_process_lifecycle.py (3 passed).

🤖 Generated with Claude Code

The image and acceptance jobs check out the released tag and ran
.github/scripts/release.py from it. A republish builds the current
version's tag, which can predate the script: the push of #146 failed
because modpoll-v2.0.0a12 has no release.py, so the 2.0.0a12-r1 preview
image was not published. Both jobs now take the checks from a sparse
checkout of the workflow's own commit and read the tag's tree with --root.

The process lifecycle test timed out twice in CI without a trace. The
child now runs with faulthandler and, if it does not exit in time, gets
SIGABRT so the failure shows every thread's stack.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gavinying
gavinying merged commit dfa6cd7 into v2 Nov 14, 2026
17 checks passed
@gavinying
gavinying deleted the fix-release-tools-checkout branch November 14, 2026 05:22
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