Repository navigation
fix: accept security reviews for the selected CI attempt - #180929
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Codex Review SummaryThis 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. |
|
Codex review: needs real behavior proof before merge. What this changesAccept attempt-qualified Security Review job names when they match the selected CI run and attempt. Example: Security Review job 120003821034 succeeds for PR 180800, head e67539d, CI run 39827400108, attempt 1.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 3 items remain Keep this PR open: it repairs a verified publisher/verifier mismatch still present on current main, and no introduced correctness defect was found. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe native inherited-failure landing verifier combines selected CI evidence with current Security Review authority before permitting a protected, head-pinned merge request. flowchart LR
A[Selected CI attempt] --> C[Prior CI admission]
B[Security Review publisher] --> C
C --> D[Current approval and policy checks]
D --> E[Writer authority]
E --> F[Head pinned merge request]
Technical reviewBest possible solution: Keep this focused matcher repair in the existing admission owner and demonstrate its allowed and forbidden paths through final dispatch. Do we have a high-confidence way to reproduce the issue? The actual successful four-part publisher job cannot match current main’s two-part predicate; source and GitHub job metadata establish the failure path without executing target code. Is this the best way to solve the issue? Passing the already validated selected run and attempt into the existing exact matcher is the smallest complete repair, and the retained head-only form serves the current comment-triggered publisher contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0f28226448d7. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNeeds attention: No concrete bypass was found, but the newly accepted clearance path needs final-effect authority proof. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +7, Other +9. Total +16 across 4 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 22, 2026, 3:42 PM ET / 19:42 UTC. |
|
Merged via squash auto-merge.
|
What Problem This Solves
Fixes native inherited-failure landing rejecting a successful Security Review after completed CI adds its run and attempt to the review job name.
Related: #180808, #180800, #180806.
User Impact
Maintainers can submit qualified inherited-failure recoveries with the current Security Review publisher. Security enforcement, current authority, source verification, and exact-head checks remain required. There is no Control UI runtime change.
Why This Change Was Made
The publisher now emits
review (PR, HEAD, CI_RUN, ATTEMPT)for completed CI; the verifier recognized onlyreview (PR, HEAD). Match the selected CI run and attempt explicitly, while retaining the head-only name used by comment-triggered reviews. Reject mismatched attempts and ambiguous matching jobs.The failure was observed on #180800: publisher run 39830107655, job 120003821034 and its Enforce security review step both succeeded. The existing verifier still refused before dispatch. #180806 has the same independently verified mismatch.
Evidence
Production LOC: 1,532 → 1,541 (+9); test/support LOC: 1,052 → 1,059 (+7). The existing admission owner keeps all decisions; no new helper, dependency, or policy exception is introduced.