feat: write only the differences each reconcile pass #96
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!96
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/write-only-differences"
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?
Each run read nothing from Forgejo before writing. It re-sent quota membership and
has_actionsfor every account and repo, so requests grew with users times repos.Now the run reads the members of each quota group and each repo's
has_actionsfirst, and sends only the writes that differ.has_actionstoggle when the repo already matches.Not covered:
allow_create_organizationis not exposed by the admin API, so it is still written once per account. The per-run quota rule and group setup is also unchanged (a constant number of calls).Checked on prod, read-only:
/admin/quota/groups/{g}/usersanswers for every group, and orgs appear in their group's member list.Version 2.4.0 (minor: new admin read, changed request pattern).
Closes #84