Skip to content

ref: properly type Span enrichment #92970

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

asottile-sentry
Copy link
Member

create new Span objects from the SegmentSpan inputs rather than mutating / casting

@asottile-sentry asottile-sentry requested review from a team June 5, 2025 18:30
@asottile-sentry asottile-sentry requested review from a team as code owners June 5, 2025 18:30
create new Span objects from the SegmentSpan inputs rather than mutating / casting
@asottile-sentry asottile-sentry force-pushed the asottile-span-enrichment-typed branch from cabb59d to 5580df1 Compare June 5, 2025 19:33
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 5, 2025
Copy link

codecov bot commented Jun 5, 2025

Codecov Report

Attention: Patch coverage is 92.10526% with 9 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...try/spans/consumers/process_segments/enrichment.py 88.88% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #92970       +/-   ##
===========================================
+ Coverage   44.63%   85.56%   +40.92%     
===========================================
  Files       10270    10285       +15     
  Lines      589689   590429      +740     
  Branches    22962    22962               
===========================================
+ Hits       263234   505221   +241987     
+ Misses     326008    84577   -241431     
- Partials      447      631      +184     

@asottile-sentry asottile-sentry merged commit c266116 into master Jun 12, 2025
61 checks passed
@asottile-sentry asottile-sentry deleted the asottile-span-enrichment-typed branch June 12, 2025 14:24
vishnupsatish pushed a commit that referenced this pull request Jun 12, 2025
create new Span objects from the SegmentSpan inputs rather than mutating
/ casting

<!-- Describe your PR here. -->
andrewshie-sentry pushed a commit that referenced this pull request Jun 19, 2025
create new Span objects from the SegmentSpan inputs rather than mutating
/ casting

<!-- Describe your PR here. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants