GLM-5.3 Flash · Balanced
replays-self-serve-bulk-delete-system-sentry
Sentry · Python · M · 100–299 lines · 3 files
The normal review, with one generalist agent. Judge: Claude Opus 5.5.
- Gold bugs found
- 4 of 14
- Comments published
- 5
- Comments matching a bug
- 4
- Comments not matching
- 1
- Cost of this PR
- $0.510
Published comments (5)
Table widget renders empty data under use-table-widget-visualization flag — Hardcoded empty props silently discard the query results, so every dashboard table widget renders as an empty grid under the flag. Pass the real `result.data` and `result.meta` with derived `columns`, or gate the branch until `TableWidgetVisualization` is actually wired up.
Truthiness check on sibling field lets timestamp: 0 and age: 0 coexist — Zero is falsy, so a report containing both `timestamp: 0` and `age: 0` passes the mutual-exclusivity check and is accepted and counted. Test presence with `"age" in self.initial_data` in both validators instead of a truthy `get`.
Error IDs are paired with wrong event data when nodestore omits missing ids — The Django backend's `get_multi` omits missing ids, so zipping `error_ids` with `events.values()` pairs every later id with the wrong event's data, corrupting titles, timestamps, and the breadcrumb timeline. Look up each id with `events.get(node_id)` instead of zipping the values.
Client-controlled field params cause KeyError and drop error_ids from summary — An unknown `?field=` value raises an unhandled `KeyError` for a 500, and omitting `error_ids` silently empties the summary's error context. Stop accepting `field` params on this endpoint, or whitelist known fields instead of projecting blindly.
Snuba query runs even when error context is disabled — Requests that disable error context still pay the cross-service Snuba query, whose result is then discarded. Move the `query_replay_instance` call and `process_raw_response` below the `disable_error_fetching` early-out.