fix(backup-drill): ignore stale commit-graph, pull from the mirror, guard hot forget #769
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-infra!769
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/backup-drill-fsck-mirror"
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?
Fixes the two causes of the 2026-10-17 drill failure.
Changes
-c core.commitGraph=false. A stale commit-graph after branch deletion no longer failsfsck --connectivity-only.fullhot backup unit gets anExecConditionthat skips the run whilebitborg-backup-drill.serviceisactivatingoractive. The drill is a oneshot, so it isactivatingfor its whole run. Onlyfullrunsrestic forget, sobillingis not guarded.git.bitborg.semirror and tag them as the upstream ref. A failed mirror pull falls back to upstream. The drill log says which source was used.Tests
scripts/test_backup_guards.py:pull_imagecopies are identicalsystemctl: exits 1 foractivatingandactive, 0 forinactivebillingunit has no guardAfter merge
Apply
site.ymland run a drill before Sat 2026-10-24. Check the log for "pulled from the mirror" and a green hot leg.Closes #767
Closes #768