registry: no retention policy — CI layer cache fills the [storage] volume at ~0.6 GB/day #297
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#297
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
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?
/srv/gitborg-lfs(Forgejo's[storage]— LFS, packages, attachments, avatars) reached 79% with4 GB free on 2026-08-01, roughly a week from full, and
predict_linearover three days projected itgoing negative inside that week. It was grown 20→60 GB as an emergency measure (now 26%), but that
bought runway, it did not fix the leak.
Cause
.forgejo/workflows/deploy.ymlin bitborg-web pushes three things on every merge tomain:latest,an immutable
sha-XXXXtag, and a registry layer-cache ref via--cache-to. The Forgejo packageregistry lives on this volume and nothing prunes it.
ARTIFACT_RETENTION_DAYS=30covers Actionsartifacts, not registry packages.
Measured on 2026-08-01:
bitborg-webhad 6 versions, butbitborg-web/cachehad 44. So thedominant consumer is the layer cache, not the image tags — worth knowing, because the obvious guess is
wrong. Drift is roughly 0.6 GB/day at the current merge rate.
What to do
sha-versions, and collapse or expirethe
cacheref. The cache package is safe to delete wholesale at any time — it is rebuilt on thenext push — so it is the easy half.
is visible.
predict_linearon this mountpoint would have caught thisweeks earlier than the 80% threshold did.
Related: #178 covers Actions artifact cleanup, which is a different store and does not address this.