Repository navigation
feat(web): anomalies live in the alerts hub #2320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
4272aa6
feat(alerts): anomalies page through alert rules
Makisuo 816b9ce
Merge remote-tracking branch 'origin/main' into feat/alerts-unified-i…
Makisuo b518097
feat(alerts): silences match an anomaly incident's service and enviro…
Makisuo dd25362
feat(web): anomalies live in the alerts hub
Makisuo d32578e
fix(alerts): review fixes for anomaly rules
Makisuo ba6f119
style(alerts): format review fixes
Makisuo 67a2f17
Merge branch 'feat/alerts-unified-incidents' into feat/alerts-inciden…
Makisuo 014359f
Merge branch 'feat/alerts-incident-labels' into feat/alerts-unified-ui
Makisuo 5cd792c
fix(alerts): only Maple creates the default anomaly rule
Makisuo 806ed4a
Merge branch 'feat/alerts-incident-labels' into feat/alerts-unified-ui
Makisuo 8085b14
Merge branch 'feat/alerts-unified-incidents' into feat/alerts-inciden…
Makisuo 30aab29
fix(web): anomaly editor fixes from the preview test
Makisuo 1351130
Merge remote-tracking branch 'origin/main' into feat/alerts-unified-i…
Makisuo ce36af7
Merge branch 'feat/alerts-unified-incidents' into feat/alerts-inciden…
Makisuo 2b42ce3
Merge branch 'feat/alerts-incident-labels' into feat/alerts-unified-ui
Makisuo d4fd896
test(alerts): scope the anomaly silences test rule now that only Mapl…
Makisuo a1f94c9
Merge branch 'feat/alerts-incident-labels' into feat/alerts-unified-ui
Makisuo 0901897
docs(domain): keep the hold reason comment on its schema
Makisuo cf004c9
Merge branch 'feat/alerts-incident-labels' into feat/alerts-unified-ui
Makisuo 720e8cf
fix(alerts): templates show an anomaly's severity as a word
Makisuo 1d1e149
Merge branch 'feat/alerts-unified-incidents' into feat/alerts-inciden…
Makisuo 0ec32a1
Merge branch 'feat/alerts-incident-labels' into feat/alerts-unified-ui
Makisuo 62a23d0
fix(web): the anomalies open view reads open incidents only
Makisuo c62cebf
fix(alerts): the default anomaly rule message names actions that exist
Makisuo e6381ad
Merge branch 'feat/alerts-unified-incidents' into feat/alerts-inciden…
Makisuo 7534186
Merge branch 'feat/alerts-incident-labels' into feat/alerts-unified-ui
Makisuo 68df751
fix(alerts): anomaly rule test runs and MCP text
Makisuo 6b79565
fix(alerts): default rule message says scoped rules still page
Makisuo 54e709a
Merge branch 'feat/alerts-unified-incidents' into feat/alerts-inciden…
Makisuo 1acf1cb
Merge branch 'feat/alerts-incident-labels' into feat/alerts-unified-ui
Makisuo 395c4c4
fix(web): anomaly view counts and copy follow the service filter; no …
Makisuo adb588e
Merge remote-tracking branch 'origin/main' into feat/alerts-unified-i…
Makisuo 48582b6
chore(db): merge the anomaly rules and escalation lease migrations
Makisuo b362bef
Merge branch 'feat/alerts-unified-incidents' into feat/alerts-inciden…
Makisuo e40ff81
chore(db): merge the incident labels migration with main
Makisuo 93c6655
Merge branch 'feat/alerts-incident-labels' into feat/alerts-unified-ui
Makisuo 6ada386
fix(web): the default anomaly rule's empty routing is not a warning
Makisuo bd86ddc
fix(alerts): anomaly rules record that they ran
Makisuo 6204940
fix(alerts): unrouted anomaly tiers never push; disabling detection r…
Makisuo 97db19f
Merge remote-tracking branch 'origin/feat/alerts-unified-incidents' i…
Makisuo e4f9529
Merge branch 'feat/alerts-incident-labels' into feat/alerts-unified-ui
Makisuo 9ae96ab
fix(web): anomaly rule page and editor fixes from the preview test
Makisuo 8a1707e
test(web): the unrouted anomaly test removes a destination the rule had
Makisuo de432af
Merge remote-tracking branch 'origin/main' into feat/alerts-unified-ui
Makisuo 1325efa
chore(web-data): keep the shared default anomaly rule helper after th…
Makisuo 6ff79c0
chore: rerun CI against main after the base change
Makisuo 19a6286
fix(web): anomaly UI fixes from review
Makisuo 1fb0219
fix(web): anomaly investigations get the detector's readings, not sev…
Makisuo 108c84e
Merge remote-tracking branch 'origin/main' into feat/alerts-unified-ui
Makisuo 2de40ce
fix(web): resolved anomalies read "just now"; test both tiers' destin…
Makisuo 5301042
fix(web): an anomaly investigation never sends readings from evidence…
Makisuo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import { defineShellLab } from "../shell-lab" | ||
| import { breadcrumbs, Flags, flags, init, Message, Model, update, view } from "../anomaly-alerts-lab" | ||
|
|
||
| // `/lab/anomaly-alerts`: anomaly rules in the editor, an anomaly rule's incident and the Inbox's | ||
| // Anomalies view over fixtures (`?state=`). | ||
|
|
||
| export const lab = defineShellLab("Anomaly alerts", { | ||
| Model, | ||
| Message, | ||
| Flags, | ||
| flags, | ||
| init, | ||
| update, | ||
| view, | ||
| currentPath: "/lab/anomaly-alerts", | ||
| breadcrumbs, | ||
| }) |
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warning
An anomaly rule routed by an escalation chain cannot be saved
F12 · Warning · correctness
anomalyIssuescounts onlydestinationIdsandescalation.destinationIds, whileisNotifyMissingOf(editor/view.ts:112) also countsescalationChainIdandescalation.escalationChainIdas routing. A scoped anomaly rule whose tier starts a chain shows "Who gets notified" asdonebutsaveIssuesadds "Who gets notified", so the action bar prints "Fix before saving" and Save stays disabled.🤖 Prompt to fix with an AI agent