fix: dev-poll open-PR gate blocks all agents — should only block on own PRs #369
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#369
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
The #358 fix made the in-progress check per-agent ("their thread, not blocking"). But there is a second gate in dev-poll.sh: after checking in-progress issues, it checks if any in-progress issue has an open PR waiting for CI or review. If so, it exits without scanning the backlog.
This gate is still global — it blocks ALL agents when ANY agent has a PR pending review.
Observed: dev-qwen logs:
Dev-qwen correctly skips the in-progress check but then hits the open-PR gate and stops.
Fix
Apply the same per-agent logic to the open-PR check. If an in-progress issue is assigned to a different agent, skip its PR check entirely:
The $me identity is already resolved earlier in the poll (from the #358 fix).
Affected files
Acceptance criteria