GPT-6.1 Sol · 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 Haiku 5.5.
- Gold bugs found
- 4 of 10
- Comments published
- 4
- Comments matching a bug
- 4
- Comments not matching
- 0
- Cost of this PR
- $2.636
Published comments (4)
Table visualization receives empty data and columns instead of query results — Organizations with `use-table-widget-visualization` enabled see an empty table despite populated `tableResults`. Pass the current result’s data and metadata to `TableWidgetVisualization` and derive its columns from the widget fields.
Attribute query cache key omits organization identity — Switching organizations with identical projects and date filters can briefly show the previous organization’s attributes because `useGetTraceItemAttributeKeys` fetches organization-specific data. Include the organization slug in `queryKey` to preserve cache isolation.
Hidden attributes remain visible when the search is empty — `is_segment`, `project_id`, and `received` remain visible by default because an empty search returns `sorted` before applying `HIDDEN_ATTRIBUTES`. Apply the exclusion before the empty-search return.
Mismatched timestamp units place errors out of chronological order — Errors can appear before earlier recording events because `error_events` timestamps use seconds while `event` timestamps use milliseconds. Multiply `error_events[error_idx]["timestamp"]` by 1000 before comparing it with `event.get("timestamp", 0)`.