Repository navigation
fix(ci): run the release checks from the workflow commit - #147
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
modpoll release imageandmodpoll release acceptancejobs check out the released tag and ran.github/scripts/release.pyfrom it. A push tov2that 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 onad8d70efailed withNo such fileand the2.0.0a12-r1preview 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.test_process_exits_promptly_after_successful_polltimed 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 receivesSIGABRTand the failure message carries every thread's stack.Merging this changes
modpoll-release.yml, so the push tov2republishes the2.0.0a12-r1image and the docs, as designed.Verification
release.py version modpoll-v2.0.0a12 --root <tag worktree>printsmodpoll 2.0.0a12from 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