Repository navigation
Resume completed automerge verdicts safely - #691
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Codex review: needs maintainer review before merge. Reviewed July 19, 2026, 2:03 AM ET / 06:03 UTC. Summary Reproducibility: yes. at source level: the described paths are directly covered by deterministic automerge E2E scenarios for completed-verdict resume and exact-head approval persistence, although this review could not independently execute them. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Copy recommended automerge instructionNext step before merge
Security Review detailsBest possible solution: Merge only after the exact-head production automerge-flow validation confirms that reused verdicts are delivered once and that a new contributor head still clears prior approval. Do we have a high-confidence way to reproduce the issue? Yes, at source level: the described paths are directly covered by deterministic automerge E2E scenarios for completed-verdict resume and exact-head approval persistence, although this review could not independently execute them. Is this the best way to solve the issue? Yes, based on the supplied diff: reusing the durable exact verdict and binding approval persistence to the approved head is narrower than adding another review or broadening approval state. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 05056e4df480. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Summary
Root cause
Completed-review reuse only updated the repair timeline and did not requeue the already-published exact verdict. Separately, the repair-loop resume watermark ignored
maintainer_approve_automerge, so a laterneeds-humanverdict on the same reviewed head could close a gate the maintainer had already approved.The new dispatch attempt is deterministic and remains bound to the exact item and durable verdict comment. Approval persistence remains bound to the explicitly approved head SHA and expires when the contributor head changes.
Validation
approve-intent-persistenceandcompleted-verdict-resumepassedclawsweeper-automerge-e2e-base:local: both scenarios passedpnpm run checkpassed, including unit, repair, changed/full coverage, and formatting