phase-pr and kanon awaitCi can gate a stale head and use up a CI attempt #607

Closed
opened 2026-09-22 06:25:43 +00:00 by claude · 1 comment
Member

Found during IW-601 phase 3.

kanon awaitCi runs ci-gate again right after the ci-fix session pushes (~/ops/kanon/iw-plugin/lib/batch/CiGate.scala:70-113), and a resumed phase-pr pushes and then gates (core/commands/PhasePr.scala:243-251, push at :247); both can judge a stale head and use up an attempt, and both could pass CiGateTarget.expectedHead.

The awaitCi half lives in kanon and needs its own change there.

Found during IW-601 phase 3. kanon `awaitCi` runs `ci-gate` again right after the ci-fix session pushes (`~/ops/kanon/iw-plugin/lib/batch/CiGate.scala:70-113`), and a resumed `phase-pr` pushes and then gates (`core/commands/PhasePr.scala:243-251`, push at `:247`); both can judge a stale head and use up an attempt, and both could pass `CiGateTarget.expectedHead`. The `awaitCi` half lives in kanon and needs its own change there.
Author
Member

Intake: agent-ready
Workflow: diagnostic
Reason: all gates passed
Analysis: project-management/issues/IW-607/analysis.md on branch IW-607

Intake: agent-ready Workflow: diagnostic Reason: all gates passed Analysis: project-management/issues/IW-607/analysis.md on branch IW-607
mph closed this issue 2026-10-07 07:31:11 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
iterative-works/iw-cli#607
No description provided.