Skip to content

Make sure end_timestamp_precise and organization_id are sent to snuba#74788

Merged
colin-sentry merged 1 commit into
masterfrom
test_improvements
Jul 24, 2024
Merged

Make sure end_timestamp_precise and organization_id are sent to snuba#74788
colin-sentry merged 1 commit into
masterfrom
test_improvements

Conversation

@colin-sentry

Copy link
Copy Markdown
Contributor

… from tests

This lets us remove some Optionals from snuba

@colin-sentry colin-sentry requested review from phacops and wmak July 23, 2024 21:54
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 23, 2024
@codecov

codecov Bot commented Jul 23, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.15%. Comparing base (7f16895) to head (9d30703).
Report is 41 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #74788    +/-   ##
========================================
  Coverage   78.14%   78.15%            
========================================
  Files        6730     6731     +1     
  Lines      300110   300282   +172     
  Branches    51623    51652    +29     
========================================
+ Hits       234528   234690   +162     
- Misses      59257    59266     +9     
- Partials     6325     6326     +1     
Files Coverage Δ
src/sentry/testutils/cases.py 85.40% <ø> (ø)

... and 24 files with indirect coverage changes

@phacops

phacops commented Jul 24, 2024

Copy link
Copy Markdown
Contributor

Adding the fields here is what really allows us to remove the Optional from Snuba.

https://github.com/getsentry/sentry-kafka-schemas/blob/main/schemas/snuba-spans.v1.schema.json#L101

@phacops phacops left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be wise to test this against your consumer branch before we merge.

Comment thread src/sentry/testutils/cases.py Outdated
@colin-sentry colin-sentry enabled auto-merge (squash) July 24, 2024 15:48
@colin-sentry colin-sentry merged commit b3fb6cd into master Jul 24, 2024
@colin-sentry colin-sentry deleted the test_improvements branch July 24, 2024 16:14
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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