Skip to content

fix(replays): Filter replay tag values by environment name - #127922

Draft
joshuarli wants to merge 1 commit into
masterfrom
fix/replay-tag-values-environment
Draft

joshuarli wants to merge 1 commit into
masterfrom
fix/replay-tag-values-environment

Conversation

@joshuarli

@joshuarli joshuarli commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Resolve environment IDs to names before querying replay tag values. The replay query filters the environment name column, so comparing IDs to that column produced empty or invalid filtered results.

Type query_replays_dataset_tagkey_values.environment as list[str] | None, matching its only caller and its IN filter. The rebase preserves current query-result handling.

Integrated in #130956. This source PR remains a draft and is rebased onto f5c759434c9.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 17, 2026
@getsantry

getsantry Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

The tagstore passed environment IDs to the replays tag-values query, which filters on the environment name column. Any environment filter therefore matched nothing (or errored) instead of narrowing results. Resolve the IDs to names before querying, as snuba.query does for the other datasets.
@joshuarli
joshuarli force-pushed the fix/replay-tag-values-environment branch from c0c9a7a to bfc037f Compare November 26, 2026 00:02

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GitHub Team: python-typing 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