Add segment names observed during span streaming to each Android replay event so Flutter can correlate named segments with usable replays.
- Add
segment_names (List<String>) to SentryReplayEvent, including JSON serialization/deserialization, equality, API dumps, and tests.
- Extend
ReplayController / replay integration with a segment-details registration API accepting a trace ID and segment name.
- Deduplicate and cap both collections at 100 values per replay segment, then clear them together after segment creation.
- Populate
trace_ids and segment_names on the same replay event.
- Add capture-strategy and serialization tests covering deduplication, limits, disabled replay, and segment rollover.
References: getsentry/sentry-dart#3865, getsentry/sentry-javascript#21851, DART-431.
Requested by Gino Buenaflor via Junior.
--
View Junior Session in Sentry
Add segment names observed during span streaming to each Android replay event so Flutter can correlate named segments with usable replays.
segment_names(List<String>) toSentryReplayEvent, including JSON serialization/deserialization, equality, API dumps, and tests.ReplayController/ replay integration with a segment-details registration API accepting a trace ID and segment name.trace_idsandsegment_nameson the same replay event.References: getsentry/sentry-dart#3865, getsentry/sentry-javascript#21851, DART-431.
Requested by Gino Buenaflor via Junior.
--
View Junior Session in Sentry