Protect image asset cleanup lifecycle - #154
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
Greptile SummaryThis change makes image cleanup durable: deleted page, strategy, stale-upload, and replaced assets are tombstoned before their storage targets are reclaimed. Focused lifecycle checks verified that assets referenced by another page remain protected, shared storage targets are preserved, failed R2 deletion remains retryable, and legacy rows without strategy ownership survive strategy deletion. Confidence Score: 5/5The validated image lifecycle paths preserve referenced, shared, and legacy assets while safely retrying failed external deletion. All identified destructive cleanup scenarios were exercised through focused Convex lifecycle flows with in-memory state and mocked R2 responses. Each observed result matched the ownership, reference, tombstone, and retry protections in the changed code. Files Needing Attention: No files require follow-up based on the validated cleanup behavior.
What T-Rex did
Reviews (1): Last reviewed commit: "Protect image asset cleanup lifecycle" | Re-trigger Greptile |
Summary
Verification
npx tsc --noEmitnpm run test:convex(42 tests)npm run audit:convex-contractnpm run audit:convex-architecturegit diff --check