Skip to content

fix: retry gemini_community.py's GitHub calls once on transient network failure - #593

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

fix: retry gemini_community.py's GitHub calls once on transient network failure#593
essentialbit wants to merge 2 commits into
mainfrom
fix/gemini-community-gh-retry-transient-failure

Conversation

@essentialbit

Copy link
Copy Markdown
Owner

Summary

Test plan

  • python3 -c "import gemini_community" — imports cleanly
  • python3 -c "from main import *" — full app import unaffected
  • Scratch mocked-requests script (deleted after use): transient-then-recover for all 4 functions, persistent-failure bounds at 2 attempts, legitimate 200-empty response never spuriously retries — all pass

…rk failure

gemini_community.py duplicates community.py's _gh_get/_gh_post/_get_discussions/
_post_discussion_comment helpers but was missed by the identical retry fixes
already shipped for community.py (PRs #584, #588, #592) — same transient-network/
5xx class, same single-retry/2s-delay pattern.
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