Skip to content

Handle GitHub app token revocation timeouts#110

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/sentry-error-investigation-e383
Draft

Handle GitHub app token revocation timeouts#110
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/sentry-error-investigation-e383

Conversation

@cursor

@cursor cursor Bot commented May 21, 2026

Copy link
Copy Markdown

Summary

  • add bounded timeout/retry handling around GitHub App installation token API calls
  • make best-effort token revocation log transient network failures instead of surfacing them as webhook processing errors
  • add tests for installation token creation retry, revocation timeout handling, and preserving context-body exceptions

Sentry

  • Addresses SENTRY-GITHUB-ACTIONS-APP-6Q / issue 7293946442
  • Signature: ConnectTimeout calling GitHub /installation/token

Validation

  • .venv/bin/python -m pytest tests/test_github_app.py tests/test_github_sdk.py tests/test_web_app_handler.py
  • .venv/bin/python -m pytest
Open in Web View Automation 

Co-authored-by: Armen Zambrano G. <armenzg@users.noreply.github.com>
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