Support sending non-state notifications without an incident#188
Closed
yhabteab wants to merge 8 commits intonon-state-notification-types-v1from
Closed
Support sending non-state notifications without an incident#188yhabteab wants to merge 8 commits intonon-state-notification-types-v1from
yhabteab wants to merge 8 commits intonon-state-notification-types-v1from
Conversation
0431265 to
62d1ceb
Compare
796ff00 to
0ff79aa
Compare
c2743ba to
8ba8889
Compare
b7dd933 to
68811f7
Compare
Member
Author
|
Please review concept and functionality, but be aware that there is no corresponding web PR yet. |
8c380a1 to
e2269d2
Compare
68811f7 to
11b142c
Compare
julianbrost
reviewed
May 16, 2024
Comment on lines
+66
to
+77
| if i != nil { | ||
| if err := i.ProcessEvent(ctx, ev); err != nil { | ||
| if errors.Is(err, event.ErrSuperfluousStateChange) { | ||
| return err | ||
| } | ||
|
|
||
| // Expect the actual error to be logged with additional context in the incident package. | ||
| return event.ErrEventProcessing | ||
| } | ||
|
|
||
| return nil | ||
| } |
Member
There was a problem hiding this comment.
So if an Incident exists, the other rules aren't even considered? That shouldn't be the case, if you configure that you want to be notified about downtimes, you should be notified about all of them.
563d4f0 to
a9c9105
Compare
3115913 to
b6e0bad
Compare
8dc0902 to
07d937b
Compare
09ba57c to
3560459
Compare
a887713 to
cf1fcb3
Compare
cf1fcb3 to
6e43246
Compare
5b0bcd8 to
95183f1
Compare
05231b6 to
4d3bf72
Compare
95183f1 to
932c1f4
Compare
932c1f4 to
a7833f1
Compare
Member
Author
|
NOPE! |
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.
Facilitates sending non-state notifications even without an active incident. See the individual commits separately for the details of why something was changed and most of them also contain their own reasons.
Blocked by
resolves #106