Skip to content

fix: retry _gh_post/_gh_delete once on transient network failure - #588

Open
essentialbit wants to merge 2 commits into
mainfrom
fix/gh-post-delete-retry-transient-failure
Open

fix: retry _gh_post/_gh_delete once on transient network failure#588
essentialbit wants to merge 2 commits into
mainfrom
fix/gh-post-delete-retry-transient-failure

Conversation

@essentialbit

Copy link
Copy Markdown
Owner

Summary

Test plan

  • python3 -c "from main import *; print('Import OK')" passes
  • No tests/ dir in this repo (confirmed, same as always)
  • Scratch verification script (mocked requests, deleted after): transient-then-recover and persistent-failure-bounds-at-2-attempts for both _gh_post and _gh_delete, plus 404-treated-as-success-no-spurious-retry for _gh_delete — all pass
  • CI green (pending post-push check)

Self-directed tooling / infra hardening — no feature_backlog proposal, no consensus/outcome-recording needed (same precedent class as #584 itself).

🤖 Generated with Claude Code

Mirrors the retry pattern PR #584 added to _gh_get. Observed live this
cycle: a GitHub partial outage (503/504) caused run_debate_cycle() to
silently drop a stance comment on issue #563 with no retry and no
visible error.
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.

1 participant