cachet icon indicating copy to clipboard operation
cachet copied to clipboard

Component group shows still "1 Incident" after an issue is resolved

Open tgrymatt opened this issue 10 months ago • 8 comments

The status page displays always "1 Incident" after the incident is resolved.

Image Image

That´s the code status I used:

commit 4ebeba11597f06fc38f30f8ff5992764fb6a2744 (HEAD -> 3.x, origin/HEAD, origin/3.x) Date: Fri Jan 31 08:08:25 2025 +0000

tgrymatt avatar Feb 06 '25 15:02 tgrymatt

I can confirm, same problem

Image

commit https://github.com/cachethq/cachet/commit/4ebeba11597f06fc38f30f8ff5992764fb6a2744 (HEAD -> 3.x, origin/HEAD, origin/3.x)

ez-w avatar Feb 12 '25 09:02 ez-w

I have to remove the component attachment to the fixed incident for the annotation to disappear, is this the normal behavior of a fixed incident !?

Image

How to remove this attachment via API ?

ez-w avatar Feb 12 '25 21:02 ez-w

Just to check, if you mark an incident as Fixed, you'd expect all attached components to be operational again?

jbrooksuk avatar Feb 13 '25 08:02 jbrooksuk

I assume he means this: The information "1 Incident" should not be displayed, when all components are operational again. Like here: I have a fixed incident, so it should not display "1 Incident" anymore. It should still be in the "past incidents" history, but not displayed here:

Image

AffluentAvo avatar Feb 13 '25 09:02 AffluentAvo

Exactly AflluentAvo.

How, I don't known. Maybe if the incident is marked as fixed, automatically remove component attachment to this incident !?

ez-w avatar Feb 13 '25 12:02 ez-w

But if you remove the attached components then you loose the information which component was affected in the incident. I think "1 Incident" should only be showed if there are no open incidents. If all incidents to this component resolved, then this information should be removed.

tgrymatt avatar Feb 16 '25 07:02 tgrymatt

Completely agree with @tgrymatt - components shouldn't be deleted when an incident is fixed - their status should be ignored instead. Users should be able to see, even historically, which components were affected by an incident and to what level.

NABarnes avatar Mar 12 '25 10:03 NABarnes

I assume he means this: The information "1 Incident" should not be displayed, when all components are operational again. Like here: I have a fixed incident, so it should not display "1 Incident" anymore. It should still be in the "past incidents" history, but not displayed here:

Image

Exactly this!

tgrymatt avatar Apr 23 '25 06:04 tgrymatt