A re-run of phase-pr on a green phase writes ci_pending but keeps the old ci_gated_sha #608

Closed
opened 2026-09-22 06:25:45 +00:00 by claude · 2 comments
Member

Found during IW-601 phase 4 (analysis.md re-measure, §3.2).

handOffWait (PhasePr.scala:388-409) and markPending (CiGate.scala:376-390) write ci_pending without clearing ci_gated_sha, so a re-run of phase-pr on an already-green phase leaves ci_gated_sha pointing at a commit that no longer describes the head the new wait is for.

Related: #568 (one builder for the ci_pending card would clear ci_gated_sha in one place).

Found during IW-601 phase 4 (`analysis.md` re-measure, §3.2). `handOffWait` (`PhasePr.scala:388-409`) and `markPending` (`CiGate.scala:376-390`) write `ci_pending` without clearing `ci_gated_sha`, so a re-run of `phase-pr` on an already-green phase leaves `ci_gated_sha` pointing at a commit that no longer describes the head the new wait is for. Related: #568 (one builder for the `ci_pending` card would clear `ci_gated_sha` in one place).
Author
Member

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

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

Replaced by #702

Replaced by #702
mph closed this issue 2026-10-07 07:36:04 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#608
No description provided.