fix: dev-poll 'my thread is busy' exits without checking for pending review feedback #411
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#411
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
dev-poll.sh line ~413: when an in-progress issue is assigned to the current agent, the poll logs 'my thread is busy' and exits immediately. It does not check if the issue's PR has REQUEST_CHANGES feedback waiting.
The REQUEST_CHANGES handling at lines ~511 and ~770 never executes because the in-progress exit happens first.
Result: after review requests changes on a PR, the dev agent never addresses the feedback. The issue stays in-progress forever with no agent working on it.
Fix
When 'my thread is busy', check if the issue's PR has REQUEST_CHANGES before exiting. If review feedback is pending, spawn the agent to address it instead of exiting:
Affected files
Acceptance criteria