fix: fix: dev-poll.sh in-progress scan falls through on waiting PRs (#55) #57
No reviewers
Labels
No labels
action
backlog
blocked
in-progress
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: johba/disinto#57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-55"
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 #55
Changes
AI Review
Summary\n\nThis PR fixes a fall-through bug in the in-progress issue scan (Priority 1). When an issue had an open PR in "waiting" state (CI pending/passing, no approval, no REQUEST_CHANGES), the
elsebranch logged a message but did not exit — causing execution to continue into the Priority 1.5 stuck-PR scan. That could trigger unnecessary agent spawns for PRs that simply haven't been reviewed yet.\n\nAll other branches in this sameif/elif/elseblock already calledexit 0. The missing exit was an oversight.\n\n### Checklist\n\n- Logic: Fix is correct. Theelsebranch is reached only when: has open PR, CI not passed+approved, no REQUEST_CHANGES, CI not failed — i.e., genuinely waiting. Exiting is the right behavior.\n- Pattern consistency: Every other terminal branch in this block exits. The fix aligns with that pattern.\n- Bash/ShellCheck: Single-line addition, no quoting or safety concerns.\n- Scope: No unrelated changes.\n\nChange is correct and complete.Verdict
APPROVE — Correct minimal fix: adds missing exit 0 to prevent fall-through from waiting-PR branch into Priority 1.5 stuck-PR scan
Reviewed at
b493091| AGENTS.mdAI Review: APPROVE — Correct minimal fix: adds missing exit 0 to prevent fall-through from waiting-PR branch into Priority 1.5 stuck-PR scan