Skip to content

Conversation

@phacops
Copy link
Contributor

@phacops phacops commented Jan 24, 2026

Summary

  • Remove the is_eap parameter from store_span, store_spans, store_segment, store_indexed_span, and create_event test utilities
  • The non-EAP codepath is no longer needed as all span storage now uses the EAP endpoint
  • This simplifies the test utilities by removing the conditional logic and always using span_to_trace_item() to convert spans before posting to the EAP_ITEMS_INSERT_ENDPOINT

Test plan

  • All existing tests should pass since they were already using is_eap=True

Remove the is_eap parameter from store_span, store_spans, store_segment,
store_indexed_span, and create_event test utilities. The non-EAP codepath
is no longer needed as all span storage now uses the EAP endpoint.

This simplifies the test utilities by removing the conditional logic and
always using span_to_trace_item() to convert spans before posting to the
EAP_ITEMS_INSERT_ENDPOINT.

Co-Authored-By: Claude <noreply@anthropic.com>
@phacops phacops requested review from a team as code owners January 24, 2026 16:54
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 24, 2026
@phacops
Copy link
Contributor Author

phacops commented Jan 24, 2026

This will be needed before we push this https://github.com/getsentry/getsentry/pull/19203.

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