Skip to content

feat: add durable data erasure - #1482

Closed
pjb157 wants to merge 1 commit into
peter/retention-lifecyclefrom
peter/durable-data-erasure
Closed

feat: add durable data erasure#1482
pjb157 wants to merge 1 commit into
peter/retention-lifecyclefrom
peter/durable-data-erasure

Conversation

@pjb157

@pjb157 pjb157 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make account erasure a durable, transactionally enqueued workflow with completion receipts and indefinite retry
  • add permanent creator replay guards that serialize with in-flight writes, bounded content draining, absence verification, and residual parent scrubbing
  • erase optional request-capture stores through generic subject indexes and fail closed when required indexes or stores are unavailable
  • remove credentials, access grants, request-level identifiers, and other account-scoped artifacts while preserving non-content ledger integrity
  • expose aggregate completion/retry metrics without placing raw subject identifiers in queue payloads or logs

Dependencies

Verification

  • cargo test --workspace --profile ci -- --test-threads=4
  • just lint rust -- -D warnings
  • cargo fmt --all -- --check
  • git diff --check

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 13, 2026

Copy link
Copy Markdown

Deploying control-layer with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7143a9b
Status: ✅  Deploy successful!
Preview URL: https://6ff9b2e2.control-layer.pages.dev
Branch Preview URL: https://peter-durable-data-erasure.control-layer.pages.dev

View logs

@pjb157
pjb157 force-pushed the peter/retention-lifecycle branch from 1e73a29 to 2a954a9 Compare August 13, 2026 15:10
@pjb157
pjb157 force-pushed the peter/durable-data-erasure branch from 5d44a62 to 7143a9b Compare August 13, 2026 15:10
@pjb157

pjb157 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

Closing after an independent scope and production-readiness audit. The existing account-deletion flow plus bounded age retention and operational verification covers the retained requirement without this cross-store workflow. This implementation also conflicts with immutable ledger protections, changes queued-job payload compatibility, and introduces disproportionate startup and write-path risk. Narrow credential revocation and queue-reliability fixes should be handled separately.

@pjb157 pjb157 closed this Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant