Skip to content

ci: codex caller fires on ready_for_review; partition concurrency by draft flag#110

Merged
topcoder1 merged 1 commit into
mainfrom
ci/codex-caller-ready-for-review
Jul 7, 2026
Merged

ci: codex caller fires on ready_for_review; partition concurrency by draft flag#110
topcoder1 merged 1 commit into
mainfrom
ci/codex-caller-ready-for-review

Conversation

@topcoder1

Copy link
Copy Markdown
Owner

One-file caller patch, fleet rollout of topcoder1/dotclaude#133.

Bug: this caller triggers on [opened, synchronize, reopened] and gates codex-classify on draft == false. A PR opened as draft therefore never gets Codex review even after being marked ready: all draft-phase runs skip on the gate, and the ready click emits ready_for_review, which was not in the trigger types. A sensitive/blocked-path PR going draft -> ready -> merge shipped with zero second-model review unless a post-ready push happened to fire a synchronize.

Fix: add ready_for_review to the trigger types, and partition the concurrency group by the payload draft flag (codex-N-draft / codex-N-live) so a stale draft-payload synchronize run cannot cancel or replace the ready_for_review run (the race fixed for pr-classify in dotclaude#132, attaxion_dev#303).

Validation: template diff actionlint-clean; Codex rounds: 4 on the canonical template PR (GATE: PASS, no P1 — see dotclaude#133).

Auto-merge rationale: manual-merge category — production infrastructure (.github/workflows/**); requires click-merge per policy.

🤖 Generated with Claude Code

…draft flag

A PR opened as draft never got Codex review: draft-phase runs skip on
the draft gate, and ready_for_review was not in the trigger types, so
the ready click fired nothing. Adding it alone would let a stale
draft-payload synchronize run cancel the ready_for_review run, so the
concurrency group is partitioned by the payload draft flag (mirrors
topcoder1/dotclaude#133 / #132).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Coverage Floor — mode: enforce

metric value
measured 100.0%
floor (current) 99.0%
target 100.0%
last bumped 2026-05-12

@claude

claude Bot commented Jul 7, 2026

Copy link
Copy Markdown

No issues found. Draft-flag concurrency partition and the added ready_for_review trigger are logically correct: the expression resolves to draft/live as intended, draft-payload runs always no-op on the classify gate, and live supersede semantics are preserved.

@topcoder1 topcoder1 merged commit 33cf0e5 into main Jul 7, 2026
11 checks passed
@topcoder1 topcoder1 deleted the ci/codex-caller-ready-for-review branch July 7, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant