Skip to content

[nexus] use matching_classes in alert glob reprocessing - #11078

Merged
hawkw merged 1 commit into
mainfrom
eliza/alert-glob-refactor
Aug 14, 2026
Merged

[nexus] use matching_classes in alert glob reprocessing#11078
hawkw merged 1 commit into
mainfrom
eliza/alert-glob-refactor

Conversation

@hawkw

@hawkw hawkw commented Aug 13, 2026

Copy link
Copy Markdown
Member

Depends on #11072.

This way, the glob reprocessing code and the alert list endpoint use the same underlying logic for matching globs, and it's defined in one place. This should make subsequent changes (such as performance improvements) a bit easier, and ensures that the two will behave identically.

@hawkw hawkw added nexus Related to nexus fault-management Everything related to the fault-management initiative (RFD480 and others) labels Aug 13, 2026
@hawkw
hawkw requested a review from smklein August 13, 2026 16:54
&opctx.log,
"alert glob matches event class";
"rx_id" => ?glob.rx_id,
"glob" => ?glob.glob.glob,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

glob? glob glob glob

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yeah i hate this part lol

Base automatically changed from eliza/alert-list to main August 14, 2026 17:59
This way, the glob reprocessing code and the alert list endpoint use the
same underlying logic for matching globs, and it's defined in one place.
This should make subsequent changes (such as performance improvements) a
bit easier, and ensures that the two will behave identically.
@hawkw
hawkw force-pushed the eliza/alert-glob-refactor branch from 18b5a29 to 556a25d Compare August 14, 2026 18:35
@hawkw
hawkw enabled auto-merge (squash) August 14, 2026 18:35
@hawkw
hawkw merged commit b32899d into main Aug 14, 2026
19 checks passed
@hawkw
hawkw deleted the eliza/alert-glob-refactor branch August 14, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fault-management Everything related to the fault-management initiative (RFD480 and others) nexus Related to nexus

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants