Skip to content

Commit f4cc105

Browse files
runningcodeclaude
andauthored
fix(ui): Move git_pr_number to number tags in explore constants (#110040)
`git_pr_number` was listed in `SENTRY_PREPROD_STRING_TAGS` but PR numbers are integers. The backend already treats it as numeric (it's in `numeric_keys` in `artifact_search.py`). This moves it to `SENTRY_PREPROD_NUMBER_TAGS` so the explore view fetches and presents it correctly. Companion to #110033 which changes the field definition's `valueType` from `STRING` to `INTEGER`. Co-authored-by: Claude <noreply@anthropic.com>
1 parent 19245cd commit f4cc105

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

static/app/views/explore/constants.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,10 @@ export const SENTRY_PREPROD_STRING_TAGS: string[] = [
9393
'build_version',
9494
'git_base_ref',
9595
'git_head_ref',
96-
'git_pr_number',
9796
'platform_name',
9897
];
9998

100-
export const SENTRY_PREPROD_NUMBER_TAGS: string[] = [];
99+
export const SENTRY_PREPROD_NUMBER_TAGS: string[] = ['git_pr_number'];
101100

102101
export const SENTRY_PREPROD_BOOLEAN_TAGS: string[] = [];
103102

0 commit comments

Comments
 (0)