Skip to content

Retry transient Sentry envelope failures#107

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

Retry transient Sentry envelope failures#107
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/sentry-error-investigation-586f

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 20, 2026

Summary

  • Add bounded retries and a timeout when posting workflow transaction envelopes to Sentry ingest.
  • Retry only transient network/TLS failures (ConnectionError, SSLError, Timeout) and preserve existing HTTP status handling.
  • Add a unit test covering transient SSL failures before a successful envelope send.

Validation

  • .venv/bin/python -m pytest tests/test_github_sdk.py -q
  • .venv/bin/python -m pytest -q

Sentry

  • Addresses regressed issue SENTRY-GITHUB-ACTIONS-APP-4E: SSLError while posting to /envelope/.
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