E52C fix(preprod): Add NOT_STARTED state to frontend by chromy · Pull Request #107145 · getsentry/sentry · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@chromy
Copy link
Contributor
@chromy chromy commented Jan 28, 2026

No description provided.

@chromy chromy requested a review from a team as a code owner January 28, 2026 11:56
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 28, 2026
Copy link
Contributor
@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

PROCESSING = 1,
COMPLETED = 2,
FAILED = 3,
NOT_RAN = 4,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing type interface for new NOT_RAN enum state

Medium Severity

The new NOT_RAN = 4 enum value is added to BuildDetailsSizeAnalysisState, but the corresponding type interface (e.g., BuildDetailsSizeInfoNotRan) is missing, and the BuildDetailsSizeInfo discriminated union type doesn't include this new state. If the API returns a response with state: NOT_RAN, TypeScript's type narrowing won't work correctly and the type will effectively be never, leading to potential runtime issues when accessing properties.

Fix in Cursor Fix in Web

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

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0