GLM-5.3 Flash · Heavy
replays-self-serve-bulk-delete-system-sentry
Sentry · Python · M · 100–299 lines · 3 files
The generalist plus 9 specialist lens agents in parallel, then the same verify and dedup steps. Judge: Claude Opus 5.5.
- Gold bugs found
- 5 of 14
- Comments published
- 6
- Comments matching a bug
- 5
- Comments not matching
- 1
- Cost of this PR
- $0.804
Published comments (6)
TableWidgetVisualization renders hardcoded empty data under flag — Organizations with the `use-table-widget-visualization` flag see completely empty table widgets because the hardcoded props discard the fetched `result.data` and `result.meta`. Pass the real data, meta, and derived columns until the new visualization is wired up.
Error timestamps (seconds) compared against rrweb event timestamps (ms) — Convert error timestamps to milliseconds (rrweb convention, see src/sentry/replays/testutils.py) before merging.
Hidden attributes are shown when search query is empty — When the user isn't searching, the early return skips the `HIDDEN_ATTRIBUTES` filter entirely, so `is_segment`, `project_id`, and `received` are rendered — the exact case the hiding was added for. Apply the filter before the empty-query early return.
Mutual-exclusion validators treat falsy 0 as absent, accepting age+timestamp together — `validate_timestamp` and `validate_age` test presence with truthiness, but 0 is valid for both fields, so a report with `age: 0` plus a timestamp is accepted with 200 instead of rejected with 422. Check membership explicitly, e.g. `"timestamp" in self.initial_data`.
None max_segment_id fixture is mocked out, leaving the fix untested — The `None` fixture never reaches the fixed code because the mocked `delete_matched_rows` is the only caller of `_make_recording_filenames`, so reverting the fix would still pass. Cover the `None` case with an unmocked test of `delete_matched_rows`.
Error IDs paired with wrong event data due to positional zip of nodestore results — A backend that omits missing IDs or returns rows out of order silently pairs each error ID with the wrong event data, since the positional zip assumes `nodestore.backend.get_multi()` preserves order and completeness. Look up by key with `events.get(node_id)` instead of `events.values()`.