Repository navigation
ci: release through the shared release workflows - #16
Conversation
Replace release_please.yml and release_artifacts.yml with release.yml, which calls release-pr.yml and release-publish.yml of reusable-workflows v1.2.0 around rater's own build job. The build job keeps the version.txt check, the tests, the four archives, checksums.txt and the smoke test, and uploads every release asset as one workflow artifact. The release PR is opened by the release GitHub App instead of RELEASE_PLEASE_TOKEN. Refs furedea/reusable-workflows#11 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ inputs.tag_name }} | ||
| group: release-${{ github.repository }} |
There was a problem hiding this comment.
P2: With one repo-wide concurrency group and cancel-in-progress: false, GitHub keeps only one pending run per group. A newer queued run cancels the older pending one. This PR makes that more likely to cause trouble in two ways:
- The run that holds the lock is now much longer. A release run now holds the lock for the full build (tests, 4 cross-builds, publish). Before, the release-please job finished in seconds and the artifact build ran in a separate workflow with a per-tag group.
- A cancelled run is no longer covered by the next one. Suppose the release-PR merge push is pending and gets cancelled by a later push. The later run's release-please can still create the release (
release_created=true). But that run'sGITHUB_SHAis the later commit, not the tagged merge commit. Under the "tag must point to the commit of the run" check that the README describes, publish fails, and the release stays a draft until someone dispatches manually. Before, the artifact run was always started on the tag ref, so this mismatch could not happen. - Recovery dispatches can be dropped. A recovery
workflow_dispatchthat is waiting behind a push run gets silently cancelled if another push tomainarrives.
Suggested fix: scope the group per event/ref, e.g. release-${{ github.ref }}. Push runs on main stay serialized, and a dispatch on a tag gets its own group.
Review summaryBlocking findings: 0 (P0: 0, P1: 0, P2: 1)
Not verified: I could not read the pinned The rest looks right to me:
|
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
概要
release を reusable-workflows v1.2.0 の共有 workflow(
release-pr.yml,release-publish.yml)に移行します.release.ymlを追加し,release_please.ymlとrelease_artifacts.ymlを削除buildジョブは rater 側に残し,cmd/rater/version.txtとタグの一致検査,テスト,4 アーカイブとchecksums.txtの作成,smoke test を移したRELEASE_PLEASE_TOKEN)ではなく release GitHub App で作る@1a18c887067769099a2ded00f0fe398c7bd371bc # v1.2.0に固定draftとforce-tag-creationは設定済み)影響
checksums.txt,証明は従来どおり.証明の builder identity はrelease-publish.yml(固定 SHA)になるci.ymlと job 名は変更なし.required check への影響なし前提
マージ後のフォローアップ(ユーザー作業)
RELEASE_PLEASE_TOKENsecret を削除するRefs furedea/reusable-workflows#11
🤖 Generated with Claude Code