chore(reconciler): drop the rename-transition exempt list #531
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
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-infra!531
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "chore/prune-rename-transition"
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
Remove
reconciler_rename_transition_exemptand its concatenation intoreconciler_user_exempt_extrainansible/group_vars/all/vars.yml. Fix the comment onforgejo_service_accountsthat pointed at it.Why
The list was a temporary bridge for the service-account rename. Its own comment said to remove it when the tranche closed.
forgejo_service_accountsalready declares the sevenbitborg-*accounts, and the role defaultreconciler_user_exemptderives from it.The reconciler is authoritative over quota: an account missing from
USER_EXEMPTis demoted toparticipantwithin one tick. So the removal was checked against live state, not assumed.Consumers traced
reconciler_rename_transition_exempt: onlyreconciler_user_exempt_extra(vars.yml). No other reference inansible/,docs/,scripts/.reconciler_user_exempt_extrafeedsreconciler_user_exempt(role default) and thenUSER_EXEMPTinreconciler.env.j2. The reconciler reads it as a plain list (parseList(USER_EXEMPT), exact-name set lookup).bitborg-*names the list added are already inforgejo_service_accounts.gitborg-*service account exists on the server:fj --host git.bitborg.se user searchreturns no match for all seven. Thebitborg-*names match (negative control). Legacy names inUSER_EXEMPTwere inert.Check-mode proof
ansible-playbook site.yml --check --diff --tags reconciler --limit bitborg-prod(fromansible/)The one change is
reconciler : Install the reconciler environment file (full contract). The diff itself is hidden (the file holds secrets, task isno_log), so the rendered list was evaluated directly withansible -m debugagainst the same inventory, before and after:The "after" set equals the "before" set minus the 14 transition entries. Every live service account and the operator admin remain.
Other checks
ansible-lint: passed, 0 failures, 0 warnings (206 files).Apply (operator)
Expected:
reconciler : Install the reconciler environment filechanged, nothing else. The timer picks up the new env on its next run.Verify after the next run (Loki,
bitborg-grafana):participant, no unexpected group removals).bitborg-ciandbitborg-renovatecan still push (no 413).Rollback: revert this commit and re-apply.