fix: fix: dev-poll does not recover stale in-progress issues — pipeline stays blocked (#224) #227
No reviewers
Labels
No labels
action
backlog
blocked
in-progress
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: johba/disinto#227
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-224"
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 #224
Changes
ef00850dbetoa2bfe1aa82AI Review
Summary
Bug fix: stale
in-progressissues (no tmux session, no open PR) are now relabeled toblockedinstead of being repeatedly re-adopted by dev-agent. The_ilc_post_commentextraction intoissue-lifecycle.shis a clean DRY win.Findings
minor
dev-poll.sh:104-124:session_is_alive()andopen_pr_exists()are defined but never called. The staleness check at lines 396-403 duplicates their logic inline. These two functions are dead code. They should either be used instead of the inline duplication, or removed.info
dev-poll.sh:393-410: The staleness check runs before the formula guard (lines 412-422). A formula-labeled in-progress issue with no session and no PR will be relabeledblocked(and a maintainer-triage comment posted) rather than having just thein-progresslabel removed silently. Probably acceptable — a stale formula issue needs human attention — but if formula guard semantics should be preserved regardless of staleness, move the formula guard above the staleness check.Positives
_ilc_post_commentextraction eliminates copy-paste betweenissue_blockandrelabel_stale_issue; temp-file approach handles arbitrary body content correctly.relabel_stale_issuecorrectly calls_ilc_logand posts a structured diagnostic comment.Verdict
APPROVE — Staleness detection logic is correct and the _ilc_post_comment refactor is clean; two helper functions defined but never called is worth noting
Reviewed at
a2bfe1a| AGENTS.mdAI Review: APPROVE — Staleness detection logic is correct and the _ilc_post_comment refactor is clean; two helper functions defined but never called is worth noting