Skip to content

chore(tests): replace store_replays_eap with store_eap_items#110148

Merged
wedamija merged 1 commit intomasterfrom
danf/consolidate-store-replays-eap
Mar 18, 2026
Merged

chore(tests): replace store_replays_eap with store_eap_items#110148
wedamija merged 1 commit intomasterfrom
danf/consolidate-store-replays-eap

Conversation

@wedamija
Copy link
Member

@wedamija wedamija commented Mar 6, 2026

store_replays_eap is functionally identical to store_eap_items — both serialize protobuf TraceItems and POST them to the EAP items insert endpoint. The only difference was the multipart file key prefix (e.g. "replay_0" vs "eap_items_0"), which Snuba ignores.

The additional post-processing step (reversing item_id bytes for ClickHouse little-endian storage) is now handled by the new reverse_ids parameter on store_eap_items.

@wedamija wedamija requested a review from a team March 6, 2026 20:00
@wedamija wedamija requested a review from a team as a code owner March 6, 2026 20:00
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 6, 2026
store_replays_eap is functionally identical to store_eap_items —
both serialize protobuf TraceItems and POST them to the EAP items
insert endpoint. The only difference was the multipart file key prefix
(e.g. "replay_0" vs "eap_items_0"), which Snuba ignores.

The additional post-processing step (reversing item_id bytes for
ClickHouse little-endian storage) is now handled by the new
reverse_ids parameter on store_eap_items.
@wedamija wedamija force-pushed the danf/consolidate-store-replays-eap branch from aa23907 to fe8a276 Compare March 18, 2026 23:23
@wedamija wedamija enabled auto-merge (squash) March 18, 2026 23:23
@wedamija wedamija merged commit 693345e into master Mar 18, 2026
78 of 79 checks passed
@wedamija wedamija deleted the danf/consolidate-store-replays-eap branch March 18, 2026 23:55
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.

3 participants