Repository navigation
design(release): release workflow for per-app version tags (#11177) - #13302
Conversation
Decides the #5790 §5 remainder: the deploy tool cuts per-app tags via a release verb; attestation is the main-gate verdict for the exact commit, stored in the annotated tag message and the deploy ledger; the untagged-release refusal lives in the deploy tool at deploy time and at release time. First tags wait for the verb — recorded gate decision in §7.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 41 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 92215d1867
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
| implements: the release SHA must be the head of `main` at | ||
| judging time or an ancestor the gate's non-push rule accepts |
There was a problem hiding this comment.
Require the release commit to be the current main head
For an explicit --commit pointing to an older commit on main, this rule and §2's reachability precondition permit cutting a release tag, but .github/scripts/release-gate.sh rejects it: verdict_for_event requires the release SHA to equal the current main head. Its ancestor exception applies only to workflow-run SHAs, not to the release SHA. Require the current main head here and in §2, or explicitly plan the corresponding gate change; otherwise the tool can mint releases that the adopted publishing gate refuses.
Useful? React with 👍 / 👎.
| mcpx's `0.1.0`; mcpx's *next* release follows this workflow, and | ||
| the mcpx pipeline's tag-consumption (build and publish from the | ||
| tag, gate-checked) is already compatible with it. |
There was a problem hiding this comment.
Include the mcpx publishing integration in the implementation gate
The next mcpx release cannot use the claimed existing tag-consumption path: .github/workflows/mcpx-release.yml declares only workflow_dispatch, while both its release-gate and GitHub-release publish jobs require github.event_name == 'push'. Consequently, pushing the tags in §2 triggers no build or publication, and manually dispatching with publish=true publishes only the container without running that gate. Add an explicit deliberate, tag-bound build/publish integration to the follow-on implementation scope rather than treating this pipeline as already compatible.
Useful? React with 👍 / 👎.
Design record for #11177, the #5790 §5 remainder (its other area, the deploy-tool identity ledger #5766, is closed).
Decides:
deploy releaseverb inpkgs/deploy/deploy.py, invoked deliberately by an operator. CI never creates tags (it only builds from them); unaided manualgit tagis not a release path. The owner's 2026-11-13 disabling of mcpx's automatic tag-push publishing is read as the standing preference for deliberate release acts.main-broken.ymlwatched set, judged by the existing.github/scripts/release-gate.shrules) plus the app's own test workflow when it sits outside the watched set (fleet:fleet-rust-tests— the watched set has no fleet workflow; recorded in the design). Stored in the annotated tag message (release-attestation:v1block), mirrored in a deploy-ledger release log read bydeploy status, and closed out by the artifact reporting the clean version.mcpx/v0.1.0is grandfathered as that app's 0.1.0.Docs only;
git diff --checkclean; no schedule created/changed/retired; no new dependencies. Refs #11177 (no closing keyword — the issue stays open until Felix's review/merge and the #5790 link).