Skip to content

feat(replays): Emit breadcrumbs to EAP #94648

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

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

cmanallen
Copy link
Member

TODO!

Remaining items:

  • Call parsing logic during ingest.
  • Call logging logic during ingest.
  • Integration coverage.
    • Query for the rows in EAP and assert they exist.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 30, 2025
Copy link

codecov bot commented Jun 30, 2025

❌ 3 Tests Failed:

Tests completed Failed Passed Skipped
27144 3 27141 250
View the top 3 failed test(s) by shortest run time
tests.sentry.replays.unit.test_event_parser::test_as_trace_item
Stack Traces | 0.04s run time
#x1B[1m#x1B[.../replays/unit/test_event_parser.py#x1B[0m:1064: in test_as_trace_item
    result = as_trace_item(context, EventType.NAVIGATION, event)
#x1B[1m#x1B[.../usecases/ingest/event_parser.py#x1B[0m:229: in as_trace_item
    item_type=TraceItemType.TRACE_ITEM_TYPE_REPLAY,
#x1B[1m#x1B[31m.venv/lib/python3.13.../protobuf/internal/enum_type_wrapper.py#x1B[0m:100: in __getattr__
    raise AttributeError('Enum {} has no value defined for name {!r}'.format(
#x1B[1m#x1B[31mE   AttributeError: Enum TraceItemType has no value defined for name 'TRACE_ITEM_TYPE_REPLAY'#x1B[0m
tests.sentry.replays.unit.test_event_parser::test_as_trace_item_with_no_trace_id
Stack Traces | 0.041s run time
#x1B[1m#x1B[.../replays/unit/test_event_parser.py#x1B[0m:1098: in test_as_trace_item_with_no_trace_id
    result = as_trace_item(context, EventType.NAVIGATION, event)
#x1B[1m#x1B[.../usecases/ingest/event_parser.py#x1B[0m:229: in as_trace_item
    item_type=TraceItemType.TRACE_ITEM_TYPE_REPLAY,
#x1B[1m#x1B[31m.venv/lib/python3.13.../protobuf/internal/enum_type_wrapper.py#x1B[0m:100: in __getattr__
    raise AttributeError('Enum {} has no value defined for name {!r}'.format(
#x1B[1m#x1B[31mE   AttributeError: Enum TraceItemType has no value defined for name 'TRACE_ITEM_TYPE_REPLAY'#x1B[0m
tests.sentry.replays.unit.test_event_parser::test_iter_trace_items
Stack Traces | 0.045s run time
#x1B[1m#x1B[.../replays/unit/test_event_parser.py#x1B[0m:1186: in test_iter_trace_items
    trace_items = list(iter_trace_items(context, events))
#x1B[1m#x1B[.../usecases/ingest/event_parser.py#x1B[0m:202: in iter_trace_items
    trace_item = as_trace_item(context, event_type, event)
#x1B[1m#x1B[.../usecases/ingest/event_parser.py#x1B[0m:229: in as_trace_item
    item_type=TraceItemType.TRACE_ITEM_TYPE_REPLAY,
#x1B[1m#x1B[31m.venv/lib/python3.13.../protobuf/internal/enum_type_wrapper.py#x1B[0m:100: in __getattr__
    raise AttributeError('Enum {} has no value defined for name {!r}'.format(
#x1B[1m#x1B[31mE   AttributeError: Enum TraceItemType has no value defined for name 'TRACE_ITEM_TYPE_REPLAY'#x1B[0m

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

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.

1 participant