web
web copied to clipboard
Hiding un-silenced events does not seem to work
Expected Behavior
Hiding un-silenced events will show all silenced events, and no other events.
Current Behavior
All events are hidden.
Possible Solution
?
Steps to Reproduce
- In the web UI, silence an event, and then click "hide all un-silenced".
Context
QA. This only happened for a little while, and then the bug stopped reproducing. :(
This bug sounds like its difficult to reproduce, we'll keep this open in case we encounter it again in QA or otherwise.
https://github.com/sensu/sensu-go/blob/master/backend/apid/graphql/event_filters.go#L37-L40
The silence filter works by using the silenced
field on the check type, this means that it is filtering events that were silenced* and not by the presence of a silence. The easiest solution may be to improve communication so that expectations are set.