Repository navigation
Measure scoped CI against actual merge-group results - #388
Conversation
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: c6c18f10d4
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4b3be7f1f0
ℹ️ 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".
On 2026-12-03, 67 completed candidate runs served 29 pull requests: 25 of them needed two or more runs, and 17 runs failed. A full run took 42 minutes at the median while a pull request spent 113 in the queue. The report now shows that gap: runs per pull request, and each failed job with its first failed step. Co-Authored-By: Claude Mythos 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01NazrMMqBKWzYjLU4xFBcbz
|
Taking this over at the maintainer's request. Pushed 1 commit: the report now counts candidate runs per pull request and names each failed job with its first failed step. Run on the 67 completed candidate runs of 2026-12-03 (
So the queue time is failures times rebuilds more than the length of one run. I would land #386 and #394 first and let this comparison collect before proposing any narrower gate. Not verified: Generated by Claude Code |
Both latest-client jobs are continue-on-error outside the nightly run, so the real scoped gate passes when one fails. The comparison required every selected job to succeed: an upstream release would have hidden a genuine miss as "scoped not green" and dropped valid green timing pairs. Co-Authored-By: Claude Mythos 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01NazrMMqBKWzYjLU4xFBcbz
|
/queue 4cd4930 Generated by Claude Code |
|
In line to merge. Commit 02ed1e7 is reviewed with nothing blocking; it has entered the merge queue. |
|
/queue 4cd4930 |
|
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 4cd4930; the security row still names an older commit. Please run the security review on 4cd4930. Generated by Claude Code |
|
Codex Review: Didn't find any major issues. 🚀 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
|
/queue 02ed1e7 Generated by Claude Code |
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
* 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]>
|
/queue 02ed1e7 Generated by Claude Code |
|
The red
Generated by Claude Code |
Replaces the queue-script-only observer. No new workflow, runner, checkout depth, required check or release change.
pr_scope.pyversion step logs the PR-shaped alternative for each exact merge candidate. It reuses the same no-renames changed paths and classifier as today's full merge-group plan. Existing outputs are unchanged.desktop/ci/queue_timing.py --recent 100measures queue admission, runner wait, per-job execution and verdict timing; reports the last substantive job before the verdict, omitted failures with an otherwise green scoped result, unknowns, and observed scope frequency ranked by estimated time saved. It requires authenticatedghfor timeline access. Historical scope is only reconstructed from an exact logged base and local candidate objects. Missing jobs and canceled runs do not count as evidence of a safe narrower gate.Evidence and tests