Skip to content

fix(workflow-engine): Reject boolean deescalation comparisons - #124304

Merged
kcons merged 2 commits into
masterfrom
fix/iswf-3453-reject-boolean-comparison
Sep 14, 2026
Merged

kcons merged 2 commits into
masterfrom
fix/iswf-3453-reject-boolean-comparison

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Reject boolean comparisons for issue-priority de-escalation conditions now that the automation builder sends an explicit priority. Keep evaluation compatible with existing stored boolean comparisons until the follow-up data migration lands.

Refs ISWF-3453.

via Kyle Consalus.

--

View Junior Session [Sentry]

Co-Authored-By: Kyle Consalus <kyle.consalus@sentry.io>
@linear-code

linear-code Bot commented Sep 14, 2026

Copy link
Copy Markdown

ISWF-3453

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 14, 2026
@kcons
kcons marked this pull request as ready for review September 14, 2026 18:23
@kcons
kcons requested a review from a team as a code owner September 14, 2026 18:23

@saponifi3d saponifi3d left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm 🎉

@kcons
kcons merged commit 3fcc9a6 into master Sep 14, 2026
67 checks passed
@kcons
kcons deleted the fix/iswf-3453-reject-boolean-comparison branch September 14, 2026 18:38
kcons added a commit that referenced this pull request Sep 15, 2026
…124309)

Add a post-deployment data migration that replaces stored boolean `true`
comparisons for issue-priority de-escalation conditions with the
high-priority threshold (`75`). Other condition types and existing
numeric thresholds are left unchanged.

Note that due to caches, we may still be using these for up to 4 hours
after the migration, but considering how rare and already-broken these
cases are, that's acceptable vs the complexity of invalidation.

Refs ISWF-3453 and ISWF-3455.

To be merged after #124304 so we
know the door is closed to new violations.

<!-- junior-request-attribution:start -->
via **Kyle Consalus**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AD0BT0DUS6SX%3A1789408419.672829 -->

--

[View Junior
Session](https://junior-prod.sentry.dev/conversations/slack%3AD0BT0DUS6SX%3A1789408419.672829)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AD0BT0DUS6SX%3A1789408419.672829/?project=4510944073809921)

<!-- junior-session-footer:end -->

---------

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Kyle Consalus <kyle.consalus@sentry.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants