fix: per-account write failures, degraded gauges on abort, groups by id #94
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-auth-reconciler!94
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/reconciler-hardening"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
What
Four reconciler hardening fixes, one commit each. Version 2.2.0 (new gauges, changed failure behaviour).
bitborg_reconciler_user_writes_degraded(plusbitborg_reconciler_user_write_failures), then the run continues. A 404 skips the account without counting. Status 0 still aborts. A refused add skips that account's removals, so it never ends up in no group. Orgs follow the same rule./roles/{role}/groups, then/groups/{id}/membersand/groups/{id}/childrenrecursively. Subgroups, renamed groups and duplicate names resolve. An unknown id aborts with no writes. Tier groups still resolve by exact name.HttpKeycloakClientmethod requests and checks it against an allowlist. The README lists the required grants and the forbidden per-user endpoints. A warning fires when listed users carry no e-mail.Notes
bitborg_reconciler_user_writes_degraded == 1(for: 1h). It must also drop thelast_run_status == 0clause from IdentityProjectionDegraded, because an aborted run now keeps the previous gauges.Closes #83
Closes #85
Closes #80
Closes #82
Read /groups/{id}/members and /groups/{id}/children for every group a role is mapped onto. Subgroups, renamed groups and duplicate names now resolve. An unknown id aborts the run with no writes. Closes #80