Keep degraded gauges when a run aborts #85

Stängd
öppnade 2026-10-08 21:12:32 +00:00 av supernaut · 0 kommentarer
Ägare

What

On an aborted run, main writes both degraded gauges as 0.

Why

An outage clears the Actions and identity alerts that were firing before it.

Failing case

identity_projection_degraded is 1 for a bad username. Keycloak is down for one run. The gauge reads 0 until the next good run.

Fix

On abort, write only status and timestamp, or carry the previous values forward.

Done when

  • After an abort the textfile has no degraded gauge or an unchanged one
  • A test covers it
## What On an aborted run, `main` writes both degraded gauges as 0. ## Why An outage clears the Actions and identity alerts that were firing before it. ## Failing case `identity_projection_degraded` is 1 for a bad username. Keycloak is down for one run. The gauge reads 0 until the next good run. ## Fix On abort, write only status and timestamp, or carry the previous values forward. ## Done when - [ ] After an abort the textfile has no degraded gauge or an unchanged one - [ ] A test covers it
supernaut refererade till detta ärende från en incheckning 2026-10-13 10:18:13 +00:00
Logga in för att delta i denna konversation.
Ingen milstolpe
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-auth-reconciler#85
Ingen beskrivning angiven.