Skip to content

feat(argv): Support span streaming#6147

Open
sentrivana wants to merge 1 commit intomasterfrom
ivana/migrate-argv
Open

feat(argv): Support span streaming#6147
sentrivana wants to merge 1 commit intomasterfrom
ivana/migrate-argv

Conversation

@sentrivana
Copy link
Copy Markdown
Contributor

@sentrivana sentrivana commented Apr 27, 2026

Description

The argv integration currently sets sys.argv on events, including transactions. In span streaming, this corresponds to setting an attribute on the segment span. The attr was added to Sentry conventions in getsentry/sentry-conventions@420bab8.

I also split up the span streaming transport format test into:

  1. a test that only checks the transport format (not so much the actual data, just that it's formatted correctly) and
  2. a test that checks that the default set of attributes we expect is set.

Issues

Closes #5998
Closes https://linear.app/getsentry/issue/PY-2300/migrate-argv-to-span-first

Reminders

@linear-code
Copy link
Copy Markdown

linear-code Bot commented Apr 27, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

Codecov Results 📊

13 passed | Total: 13 | Pass Rate: 100% | Execution Time: 9.64s

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 14783 uncovered lines.

Files with missing lines (1)
File Patch % Lines
traces.py 69.48% ⚠️ 94 Missing and 21 partials

Generated by Codecov Action

@sentrivana sentrivana marked this pull request as ready for review April 27, 2026 10:57
@sentrivana sentrivana requested a review from a team as a code owner April 27, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate argv to span first

2 participants