Repository navigation
Alert rules foundation: Condition[] + opaque destinationIds (#532) - #531
Merged
Merged
Conversation
Ship #493 MVP: AlertRule model/CRUD, destination binding into fireProjectAlert, Alerts dashboard UI, and ingest-time evaluation with cooldown dedupe. Co-authored-by: Cursor <[email protected]>
Filter ERROR_COUNT by per-occurrence environment written at ingest, not the mutable last-seen tag on ErrorGroup. Co-authored-by: Cursor <[email protected]>
Keep rule bindings honest when a Delivery channel is soft-deleted, and show inactive vs live channel counts in the Alerts UI. Co-authored-by: Cursor <[email protected]>
Rules decide AND conditions and destination bindings only; Notifications resolves project-email / ProjectWebhook ids via fireProjectAlert. Co-authored-by: Cursor <[email protected]>
This was referenced Jul 17, 2026
Closed
Collaborator
Author
Alignment with architectural reviewThanks for the guidance — this PR (and the v1.15.x milestone) are updated to match. Code (pushed)
Docs: Process / milestone
Not merging; not closing #492; not starting release. |
Co-authored-by: Cursor <[email protected]>
Normalize ingest environment to match ERROR_COUNT filters, and never evaluate corrupt condition JSON as a default spike. Co-authored-by: Cursor <[email protected]>
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cf87be6. Configure here.
Empty conditions from API toPublic were filtered by isAlertRuleRow, hiding rules editors still need to disable or remove. Co-authored-by: Cursor <[email protected]>
1 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
AlertRulewithconditions[](AND) + opaquedestinationIds, MVP Alerts UI, and ingest evaluation forERROR_COUNTwith cooldown dedupe.fireProjectAlertafterresolveDestinationIds(project-email+ProjectWebhookuuids — notemail/slack/… provider enums on the rule).Architecture (review alignment)
Condition[]AND, thresholds/windows, cooldown, opaquedestinationIdsDeferred (child issues — not blocking #532)
AlertRule— #535Test plan
project-email+ one Delivery destination iddestinationIdsprune and UI no longer claims that channelCloses #532
Related #493
Made with Cursor