Repository navigation
Report whether the merge candidate's build could have been released - #401
Conversation
The merge queue builds every code candidate with the full unsigned release matrix. main then fast-forwards to that same commit and builds it again before it signs and publishes. On 2026-12-03 the eight newest commits on main each matched a green queue run of ci.yml on the same SHA. Each main release run now looks up that queue run for the newest commit that changes what dev ships, downloads its ox-* artifacts and runs the release asset list on them. It signs and publishes nothing and cannot turn main red. It exists to show, on real main runs, that the lookup and the artifacts hold before any release is taken from them. Co-Authored-By: Claude Mythos 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01NazrMMqBKWzYjLU4xFBcbz
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. |
|
/queue 0e854c5 Generated by Claude Code |
|
Not in line to merge yet: no answer yet to the security review request for c2dcc71. Nothing to do; this updates when Codex has answered. |
|
Useful read-only split. One acceptance case before promotion is wired: main resolved |
Run numbers are shared by pull request, queue and main runs. On 2026-12-03 main built 57c3fbd as 0.0.1-dev.2145 while the queue built its descendant 618a526 as 0.0.1-dev.2143. An installed dev build only takes a higher version, so releasing that candidate after main's build would reach nobody. The observation now reads the published dev version from the release's assets and says so when the candidate's version does not advance it. Co-Authored-By: Claude Mythos 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01NazrMMqBKWzYjLU4xFBcbz
|
Agreed, and I had that wrong: I assumed queue run numbers followed landing order, but Generated by Claude Code |
|
/queue c2dcc71 |
|
Codex Review: Didn't find any major issues. What shall we delve into next? 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". |
|
@codex security review The earlier request was answered with a code review of c2dcc71; the security row still names an older commit. Please run the security review on c2dcc71. Generated by Claude Code |
|
Codex Review: Didn't find any major issues. What shall we delve into next? 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". |
#401 added a sentence to the paragraph of docs/verification.md that this branch also extends, so the queue could no longer build this candidate. Both stay: main's sentence about the candidate-build observation, then this branch's two paragraphs on the scoped-gate comparison. Checked against main at 97f609a. Co-Authored-By: Claude Mythos 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01NazrMMqBKWzYjLU4xFBcbz
* Start the security review of a requested head from the merge gate The gate asks for a security review of the head with a comment. Codex answers that comment with a code review and leaves its security entry at an older commit, so the gate waits for an answer that does not come. On 2026-12-03, #394, #388 and #401 each waited about an hour that way, with consent given, checks green and no findings, until the maintainer merged around the gate. Codex starts its security review when a pull request opens or a draft is marked ready. Every pull request the gate admitted that day carried the trigger "Draft marked ready" on both reviews, and #388 received both for its head within two minutes of being made a draft and ready again. After recording the request in its comment, the gate now does that itself, once per head commit. If it cannot mark the pull request ready again it retries once and fails the run. Co-Authored-By: Claude Mythos 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01NazrMMqBKWzYjLU4xFBcbz * Keep the queue request when the merge gate removes a held pull request A pull request that is in the queue while the gate holds it is taken out by the gate. The gate then read its own removal as the end of the maintainer's request: #388 was queued by hand at 18:16 UTC on 2026-12-03 while its security review was missing, removed by the gate at 18:32, and answered "previous queue request expired after removal" once the reviews were in. GitHub records the gate's removal and one made by hand identically (reason "manual", the maintainer's account), and its own as "failed_checks" by github-merge-queue. So the gate notes the time of a removal it made in its status comment, and only that removal leaves the request standing. A removal GitHub made first is not recorded. Co-Authored-By: Claude Mythos 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01NazrMMqBKWzYjLU4xFBcbz --------- Co-authored-by: Claude <[email protected]>
First step toward releasing what the merge queue already built, so
mainstops building every commit a second time. This step observes only.Why
The queue runs the full unsigned release matrix on every code candidate.
mainthen fast-forwards to that commit and builds all of it again before signing and publishing. That second build is where today's releases stalled: a docs-only commit carried the outstanding release build and failed in APT (run 47153547435), though the code it would have released had already been built and tested in the queue.Checked on 2026-12-03: the eight newest commits on
maineach have a greenmerge_grouprun ofci.ymlwith the same SHA. The run for 9276853 (47120928906) holds all eightox-*artifacts a release needs, unexpired.What changes
desktop/ci/candidate_build.pyfinds the newest commit afterdelivered/devthat changes what dev ships (the same ruledelivery.pyuses), looks up its queue run, accepts it only if it is this repository's greenmerge_grouprun ofci.ymlon exactly that SHA, downloads itsox-*artifacts, reads the version from the Linux x86-64 file names, runsrelease-assets.sh --unsigned, and checks that the version is higher than the published dev version.candidate-buildinci.ymlruns it onmainpushes that have dev work outstanding. It holdsactions: readandcontents: read, enters no environment, and always exits 0. No job depends on it.Nothing is signed or published from the candidate's artifacts.
release,sign-cli,desktop-releaseandpublish-devare unchanged, so this does not overlap #385 or #389 beyond adding one job toci.yml.Verified
python3 -m unittest discover -s desktop/ci -p 'test_*.py'passes, including six new cases. The run record in the tests is copied from a real one.mainat 57c3fbd: it chose 24494ae as the newest dev input (the four commits after it change only mobile and docs paths) and found queue run 47120591386, which lists all eightox-*artifacts.Not verified
gh run downloadfailed here. They run for the first time on the firstmainrelease run after merge; read that job's summary line.mainruns, and on 2026-12-03mainbuilt 57c3fbd as0.0.1-dev.2145while the queue built its descendant 618a526 as0.0.1-dev.2143. The observation compares the candidate's version with the published one (read from thedevrelease's assets,0.0.1-dev.2060today) and reportsREUSABLEonly when it is higher. The promotion follow-up must fall back tomain's own build in that case, or take the version from something ordered like the commits.Next, in a separate pull request
Once this reports
REUSABLEon real release runs: sign and publish from the candidate's artifacts and build onmainonly when there is none. That one changessign-cli,desktop.ymlandpublish-devand has to be sequenced with #385 and #389.Checked against
mainat 57c3fbd.https://claude.ai/code/session_01NazrMMqBKWzYjLU4xFBcbz
Generated by Claude Code