fix: bug: dev-poll skips CI-fix on re-claimed issues — blocked label not cleared on re-claim, starves new PRs at 0 attempts (#1047) #1049
No reviewers
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#1049
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-1047"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1047
Changes
AI Review
Summary\n\nFixes the starvation bug where re-claimed issues retained the
blockedlabel, causing dev-poll to skip CI-fix and reset the attempt counter to 0.\n\n### Verification\n\nClaim 1:_ilc_blocked_id()exists and uses the same caching mechanism as sibling label helpers.\n- Confirmed — line 80:_ilc_blocked_id() { _ilc_ensure_label_id "blocked" "#e11d48"; }\n\nClaim 2:bk_idlookup is placed before the label-mutation block, consistent with howip_idandbl_idare initialized.\n- Confirmed — lines 160-163: all three IDs declared and fetched together before the conditional block.\n\nClaim 3: The DELETE is guarded by[ -n "$bk_id" ]to prevent curl with empty label ID.\n- Confirmed — line 177.\n\nClaim 4:|| truemakes the DELETE idempotent — silent no-op when the label is absent (first-time claim, not a re-claim).\n- Confirmed — line 180; mirrors the identical pattern onbl_idremoval (line 174).\n\nClaim 5: Fix placement is correct — blocked label is cleared after claim ownership is verified and after backlog removal, before the success log.\n- Confirmed — lines 176-181 sit between thebl_idDELETE block and_ilc_log "claimed...".\n\nNo adjacent invariants touched.issue_block()andissue_release()are unmodified and correct as-is.Verdict
APPROVE — Correct minimal fix: blocked label cleared on re-claim using established pattern, guard and idempotency preserved
Reviewed at
78f4966| AGENTS.mdAI Review: APPROVE — Correct minimal fix: blocked label cleared on re-claim using established pattern, guard and idempotency preserved