Skip to content

Abort the resume when label or comment reads fail#50

Open
Phlogistique wants to merge 1 commit into
claude/pr-number-addressing-3njvdxfrom
claude/fail-loud-resume-reads-3njvdx
Open

Abort the resume when label or comment reads fail#50
Phlogistique wants to merge 1 commit into
claude/pr-number-addressing-3njvdxfrom
claude/fail-loud-resume-reads-3njvdx

Conversation

@Phlogistique

Copy link
Copy Markdown
Collaborator

pr_has_conflict_label swallowed gh failures as "no label", so a transient API error made the resume silently skip a labeled PR. Worse, a failed comments fetch in read_state_marker read as "no marker", which made the caller abandon the resume and drop the conflict label for good — a dead end. Both now abort the run instead; the label stays on, so the next push retries.

Stacked on #45; #51 builds on this.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JHvKryT4QUpHYdNq9YEQxX


Generated by Claude Code

pr_has_conflict_label swallowed gh failures as "no label", so a
transient API error made the resume silently skip a labeled PR, and a
failed comments fetch in read_state_marker read as "no marker", which
made the caller abandon the resume and drop the conflict label for
good. Both now abort the run instead; the label stays on, so the next
push retries.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01JHvKryT4QUpHYdNq9YEQxX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants