fix(backup): B2 prune deletes via anchored --include + re-list verify - #2266
Merged
Merged
Conversation
…; record bulk/ lifecycle 14d->7d The scoped fleet-backup-writer key cannot resolve exact object paths (rclone deletefile fails 'doesn't exist' while lsf lists the path), so the first live prune tick deleted 0 of 12 candidates. Deletes now use rclone delete with an anchored --include filter and are verified by re-listing, since rclone delete exits 0 on no match. Docs updated: docs/rollouts/2026-08-31-b2-hetzner-prune.md (live-run follow-up + congress-trade-bucket bulk/ lifecycle 14d->7d record), docs/EFFORT-LOG.md. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
jaywedgeworth22
enabled auto-merge (squash)
August 31, 2026 15:16
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First live prune tick (2026-08-31 12:15Z) selected the right candidate sets but deleted 0 of 12:
rclone deletefilecannot resolve exact object paths under the scopedfleet-backup-writer-hetznerkey ("is a directory or doesn't exist" whilelsflists the same path). Deletes now userclone delete "b2:<bucket>/hetzner/" --include "/<name>"(verified live on one stale sidecar) and are confirmed by re-listing, sincerclone deleteexits 0 even when nothing matched.Also records in the rollout note the
congress-trade-bucketbulk/R2 lifecycle tightening 14d -> 7d (applied + read back via Cloudflare API today):bulk/is the active daily export at ~0.65 GB/day, and at 14 days it pushes the bucket past the 10 GB free tier in September.Docs:
docs/rollouts/2026-08-31-b2-hetzner-prune.md(Live-run follow-up),docs/EFFORT-LOG.md. Follow-up to #2264. Host sync after merge.🤖 Generated with Claude Code