Make account deletion cover user storage inventory - #614
Conversation
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
|
Warning Review limit reached
Next review available in: 30 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (11)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🔎 Preview deployed: https://kody-pr-614.kentcdodds.workers.dev Worker: Mocks:
|
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1d3c4b9. Configure here.
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>

Summary
chat_threadsdeletion target and added coverage for package runtime debug tables, community ownership/reference tables, source snapshots, retriever cache keys, archived/runtime/app/service storage ids, and DO purge entrypoints.user_id/*_user_idcolumn is missing from account deletion coverage or if deletion references stale schema.docs/contributing/architecture/data-storage.mdwith the account deletion inventory and current Durable Object storage model.Validation
npm run validate(green: format, lint, typecheck, unit, Playwright E2E, MCP E2E)System recap — extends existing primitives (medium risk)
Mode: recap · Base:
main@cf8c22e· Head:01693a6Classification: extends — this PR changes deletion behavior and purge contracts for existing storage/runtime primitives; it does not add a new primitive.
Primitives touched
d1-app-dbbundle-artifacts-kvartifacts-reposvectorize-searchdurable-storagejobsrepo-sessionsremote-connectorsrealtime-sessionspackage-servicescommunity-listingsmcp-oauthapp-ui/account/deleteresponse reports expanded cleanup counts/warnings, including updated row countsSystem map
Change flow
Invariants
mcpUserId/dbUserId, DO names are user-scoped where applicable, and cross-user rows/keys remain untouched in tests.