Skip to content

Fix late orphan provisional cleanup guard - #87

Closed
RXWatcher wants to merge 1 commit into
mainfrom
fix/provisional-late-orphan-predicate
Closed

RXWatcher wants to merge 1 commit into
mainfrom
fix/provisional-late-orphan-predicate

Conversation

@RXWatcher

Copy link
Copy Markdown
Contributor

Summary

  • Reuse the full provisional media-item predicate for late orphan collect/delete queries after folder membership deletion.
  • Keeps matched media items from being eligible for the provisional-only late orphan cleanup path.

Test Plan

  • go test ./internal/catalog -run TestLateOrphanCleanupUsesProvisionalSafetyPredicate -count=1 -v
  • go test ./internal/catalog -count=1
  • git diff --check

@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@RXWatcher, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 48 minutes and 47 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 78331c2d-c4f6-42d6-b261-b70c44bbe432

📥 Commits

Reviewing files that changed from the base of the PR and between e3ca1ca and 3a9ab8e.

📒 Files selected for processing (1)
  • internal/catalog/folder_repo.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/provisional-late-orphan-predicate

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@RXWatcher

Copy link
Copy Markdown
Contributor Author

Rolled into #80 so the catalog fixes are reviewed together.

@RXWatcher RXWatcher closed this Jun 8, 2026
@RXWatcher
RXWatcher deleted the fix/provisional-late-orphan-predicate branch June 8, 2026 11:22
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