Files
fleetd/bridged/src/main/java
Dai Ha 0efe1567c0
CI / build (pull_request) Successful in 1m13s
CI / contract (pull_request) Successful in 1m21s
CB-586: prune refs/wip/* older than 24h whose tree is reachable from main
Add the CB-586 retention rule to GitWorktrees and drive it from the reaper:
a snapshot is deleted only when its tree content is already reachable from
main AND the ref is older than 24h. Reachability keeps the last copy of a
worker's work; the age floor stops a fresh snapshot being swept while a
lead is still looking at it. Every deletion logs the ref name and commit
sha so it is recoverable from the reflog. The /members response gains a
wipRefs{count,costBytes} census the operator can read without shelling
into the repo.
2026-08-16 19:02:33 +02:00
..