Skip to content

Conversation

@scttcper
Copy link
Member

Missed the resolution field

Missed the resolution field
@scttcper scttcper requested a review from a team as a code owner November 12, 2025 00:27
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 12, 2025
flexibleControlStateSize
placeholder="0"
suffix={thresholdSuffix}
suffix={detectionType === 'percent' ? '%' : thresholdSuffix}
Copy link
Contributor

Choose a reason for hiding this comment

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

Bug: Alert Resolution Validation Flaw

The resolution threshold field now displays a % suffix for 'percent' detection types, but validateResolutionThreshold only validates 'static' detection types (line 35 checks detectionType !== 'static' and returns empty array). This means percent-based resolution thresholds bypass validation entirely, allowing invalid threshold comparisons that could cause incorrect alert resolution behavior.

Fix in Cursor Fix in Web

@scttcper scttcper merged commit e492836 into master Nov 12, 2025
49 checks passed
@scttcper scttcper deleted the scttcper/change-percent-suffix branch November 12, 2025 01:03
Jesse-Box pushed a commit that referenced this pull request Nov 12, 2025
andrewshie-sentry pushed a commit that referenced this pull request Nov 13, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Nov 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants