-
Notifications
You must be signed in to change notification settings - Fork 0
Fastly chunked-config GC: reclaim orphaned chunk entries on re-push (last-writer-wins) #314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
aram356
wants to merge
23
commits into
main
Choose a base branch
from
spec/fastly-chunk-gc
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
3ff9e94
Spec: Fastly chunked-config GC to reclaim orphaned chunk entries on r…
aram356 77d65bd
Spec review v2: fix file map (cli.rs, not the unmerged split), valida…
aram356 533c644
Spec review v3: thread logical roots (--key is free-form, infix infer…
aram356 d484fa5
Add Fastly chunk-GC implementation plan, reconciled with spec v3
aram356 93a5886
Self-review fixes (spec+plan): expand new_keys in local dry-run so id…
aram356 1089b5b
Review v4 (spec+plan): close cloud GC concurrency hole via post-commi…
aram356 98bc468
Review v5 (spec+plan): document cloud GC as single-writer/best-effort…
aram356 b8eb07b
Reframe cloud concurrency as last-writer-wins (per decision)
aram356 3cc25af
Plan/spec tighten-ups (non-blocking): non-vacuous local suspicious-po…
aram356 67ac0dd
feat(fastly): add prior_chunk_keys for chunk GC (Value-first, v1-vali…
aram356 653b220
feat(fastly): add chunk-GC planning helpers (expand_root, orphan_chun…
aram356 e8853b9
feat(fastly): prune prior config chunks on local re-push
aram356 77a30ec
feat(fastly): reclaim prior config chunks after cloud re-push (last-w…
aram356 2c36b5d
chore(fastly): satisfy strict clippy for chunk-GC code; render fake f…
aram356 0f516dd
chore(fastly): hoist fake-fastly TEMPLATE const above statements (ite…
aram356 205048d
test(fastly): close self-review coverage gaps
aram356 891ecc6
fix(fastly): dry-run classifies malformed local state as unknown; tes…
aram356 6f65e51
fix(fastly): redact describe payloads from diagnostics (P1); reject d…
aram356 33932de
fix(fastly)!: defer cloud chunk reclamation (eager delete is unsafe u…
aram356 2047095
docs: spec the deferred cloud reclamation design + payload-redaction …
aram356 5454402
fix(fastly): complete the payload-redaction invariant — redact stderr…
aram356 abda226
refactor(fastly)!: derive cloud reclamation from the store, deleting …
aram356 481f590
docs: reconcile spec to the shipped store-derived design; mark the pl…
aram356 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😃 The delete-set blast radius is well constrained. Validating every prior reference against the root-specific chunk namespace, combined with keep-set subtraction and tests for foreign prefixes, sibling roots, identical pushes, and
--allprevention, provides strong protection against malformed pointers and accidental broad deletion.