Repository navigation
Add group key to AlertGroup and groups API - #3452
Open
Spaceman1701 wants to merge 2 commits into
Open
Spaceman1701 wants to merge 2 commits into
Spaceman1701 wants to merge 2 commits into
Conversation
Signed-off-by: Ethan Hunter <ehunter@hudson-trading.com>
Signed-off-by: Ethan Hunter <ehunter@hudson-trading.com>
siavashs
reviewed
Oct 29, 2025
siavashs
approved these changes
Feb 11, 2026
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.
This change adds the group key back to the
AlertGroupstruct so that it's available in thegroupsAPI endpoint. I started a discussion about this with #3446.For the most part I think this is pretty straightforward. The one bit which might need a little more work is the use of
AlertGroupin the UI. Since it uses a type generated from the OpenAPI spec, the local construction of groups in the UI requires a dummy value for the key. I considered making the value optional in the OpenAPI spec, but that wouldn't be true to the behavior of the API.