Skip to content

Handle GitHub workflow runs without head commits#99

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

Handle GitHub workflow runs without head commits#99
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/sentry-error-investigation-3b3b

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 1, 2026

Summary

  • Handle GitHub workflow runs whose API response has head_commit: null
  • Fall back to run actor metadata for Sentry transaction user context
  • Add regression coverage for trace generation without a head commit

Validation

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

Fixes SENTRY-GITHUB-ACTIONS-APP-79

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