Shadow REQUEST_CHANGES on unfixable PR metadata deadlocks automerge indefinitely (#307) #369
Labels
No labels
Agent
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Total time spent: 1 minute 35 seconds
Due date
igor
1 minute 35 seconds
No due date set.
Dependencies
No dependencies set
Reference
joshtronic/igor#369
Loading…
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?
Diagnosis
PR joshtronic/igor.bot#307 is stuck in a permanent automerge deadlock. The bot correctly resolved the content problem (replaced the duplicate
ergo-decedopost withrerun-until-green, CI green), but the PR's title/description remain the pipeline-generatedergo-decedoframing, which the shadow reviewer cannot see fixed from inside the PR. The reviewer keeps returning a blockingREQUEST_CHANGES, the rework round produces no actionable commits, the bot escalates to the human -- and from then on every single tick logs automerge refusing to merge an already-approved PR.The agent itself flagged the root cause at 10:18: per the reviewer's own directive, auto-generated pipeline framing that "the author can't fix from inside the PR anyway" should be a
COMMENT, not a blockingREQUEST_CHANGES. The reviewer issued the blocking verdict anyway, wasting ~11 min of Claude time (238s round 1 + 423s round 2) and leaving the PR wedged: approved by the human, but permanently un-mergeable by the shadow verdict.Evidence
(that automerge line then repeats on every tick: 10:43, 10:46, 10:47, 10:49, 10:51, 10:53, 10:55, 10:57, 10:59 -- through the end of the window.)
What "fixed" looks like
When the only remaining defect is pipeline-generated PR title/description that the author provably cannot edit from inside the PR (metadata lives on the PR object, no helper exists), the shadow reviewer should return
COMMENTrather than a blockingREQUEST_CHANGES-- as its own directive already prescribes. Alternatively, automerge should stop re-evaluating (and stop spamming the tick) once a PR has been escalated to the human, so a human-approved PR isn't held hostage by a stale shadow verdict it can never clear.Note: distinct from the open "duplicate post (slug ergo-decedo)" issue, which is about the permalink collision/CI failure -- here CI is green and the content is correct; the stall is purely the reviewer-verdict/automerge interaction.
service: agent.service
severity: medium
window: 2026-07-08 10:00-11:00 (filed by the hourly logwatch pass)
Resolved by #371 (merged 2026-07-09) — the
review-directive.mdchange that downgrades un-fixable pipeline-generated PR framing from a blockingREQUEST_CHANGESto aCOMMENT, which is exactly this issue's "what fixed looks like."This stayed open only because #371's description linked
#369as a plain reference rather than using aCloses #369keyword, so the merge didn't auto-close it. Closing now.Closes #NNkeyword when a PR resolves an issue #372