chore(deps)!: upgrade to utopia-php/pools 2.x - #928
Conversation
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 54 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: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR updates the ChangesPools v2 upgrade
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 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 |
Greptile SummaryUpdates the database package to Pools 2.x.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains; the previously incompatible lock entries now select cache 4.0.0 and pools 2.0.1, satisfying both the root and transitive constraints. Important Files Changed
Reviews (2): Last reviewed commit: "chore(deps): bump utopia-php/cache to 4...." | Re-trigger Greptile |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@composer.json`:
- Line 44: Regenerate composer.lock from the composer.json dependency
declaration so the locked utopia-php/pools package resolves to a compatible 2.x
version instead of 1.1.0. Commit the updated lockfile while preserving the
declared dependency set.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: ea8b5274-1ba3-4dac-9643-302fb13504f6
📒 Files selected for processing (2)
composer.jsontests/e2e/Adapter/PoolTest.php
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pools 2.0 makes configuration constructor-only and replaces the retry knobs with a single acquisition budget.
Database\Adapter\Poolonly ever calls$pool->use(), which is unchanged, so the adapter itself needs no edits. The only code change is the pool construction inPoolTest, which now passes the requiredtimeout.Needed so that appwrite/appwrite can move to pools 2 —
utopia-php/databaseis one of the packages still pinningpools 1.*and blocking resolution.Blocked on utopia-php/cache#82.
utopia-php/cacheis a hard requirement here and still pinspools 1.*, socomposer.lockcannot be regenerated until that lands and is tagged. The lock is intentionally left untouched in this PR and needs a refresh before merge — CI will be red until then.Release order:
utopia-php/cache, then this, thenutopia-php/abuse.🤖 Generated with Claude Code
Summary by CodeRabbit