Repository navigation
ci(release): give release paths a code owner and push version bumps with a deploy key - #5409
Conversation
Size Report
Startup median (7 runs, lower is better):
|
There was a problem hiding this comment.
Review completed against the latest diff
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 2 new findings on 813f53a. The verdict and the full list are in the summary comment.
- 🟡 Minor · CODEOWNERS globs miss the package.json script chain the keystore-holding build job runs ·
.github/CODEOWNERS:1 - 🟡 Minor · mark-released hard-fails instead of exiting cleanly when main already advanced past the version ·
.github/workflows/release.yml:437
|
This PR has findings at 813f53a, and the "Ownership and context budgets" check fails because of this diff. The new section in docs/agents/pull-requests.md adds 660 bytes, which takes docs/agents/*.md from 39717 to 40377 against the 40000 budget. The "Body rules" check also fails: the body has no Not blocking, and each can be taken or left: (1) CODEOWNERS:3 and the new docs say jobs that hold release secrets run only owned paths, but the build job (release.yml:113-137) holds the Android keystore and runs unowned Of the open inline threads, the keystore-in-build one (topic), the stale-patch one (topic) and the one-day retention one (topic) still apply, and so do two lower-priority threads (the keystore follow-up and the Evidence: the 0.21.46 patch was accepted by the validator in a local run. Not verified here: the stable-only jobs ( |
|
Replies to the review in e2a43b9:
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 2 new findings on e2a43b9. The verdict and the full list are in the summary comment.
- 🟡 Minor · Bump path assumes a 2-space-indented root version line with nothing after it ·
.github/workflows/release.yml:450 - 🟡 Minor · [skip ci] on the bump commit makes the next main nightly skip: CI on main reads as missing ·
.github/workflows/release.yml:459
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
This PR is ready at 18b3123. Both high-priority findings from the earlier review (#5409 (comment)) are fixed: the apply-failure branch now reads the version on the reset origin/main and exits 0 when main has moved past $VERSION, and the upload-artifact step has Not blocking: PR #5414 (the 0.22 copy) still has the old line 3 in The four earlier inline threads no longer need action: #5409 (comment) (apply-failure branch) and #5409 (comment) (artifact retention) are fixed at this head, #5409 (comment) is fixed because the Not verified here: the stable-only jobs (prepare-next-version, mark-released) have not run at this head, because a PR dry run skips them and no stable tag exists, so the apply-failure branch, the |
Summary
These are the prerequisites for a
main/0.22branch ruleset that replaces thereleaseenvironment reviewer..github/CODEOWNERS:@thymikeeowns.github/,scripts/release-*andscripts/*android-helper*. The ruleset requires code-owner review and 0 other approvals, so other PRs merge as before. Build stays the known exception until ci(release): sign Android helpers in a job that runs only workflow-commit code #5410.mark-releasednow has two jobs.prepare-next-versionruns with no secrets and uploads a-U0version patch.mark-releasedholds a deploy key that only thereleaseenvironment has, and it runs no repository code. It accepts only"version"lines set to the computed-devversion, inpackage.json,packages/*/package.jsonorserver.json. If main has already moved, it exits cleanly. The commit message carries[skip ci], because deploy-key pushes start workflows and GITHUB_TOKEN pushes did not.docs/agents/pull-requests.md: owner-authored release PRs merge with the admin bypass, and the PR records the reason.Rollout
RELEASE_PUSH_DEPLOY_KEYsecret inrelease.0.22.releasereviewer and allow onlymainandv*.Validation
git apply --unidiff-zeroapplies the accepted patch.