Repository navigation
chore: upgrade queue to 2.0 - #13483
Conversation
Greptile SummaryThis PR upgrades Utopia Queue to 2.0.1 and Platform to rc20, then migrates Appwrite’s direct queue publisher integration from the removed publisher/enqueue API to the synchronous publisher/publish contract.
Confidence Score: 5/5The PR appears safe to merge, with the direct Queue 2 migration applied consistently across runtime wiring, publishers, operational tasks, and tests. No concrete behavioral failure, security issue, or repository-rule violation remains; direct broker calls use publish(), wrapper enqueue APIs still delegate correctly, and the lockfile resolves compatible package constraints. Important Files Changed
Reviews (1): Last reviewed commit: "chore: upgrade queue to 2.0" | Re-trigger Greptile |
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
What does this PR do?
Upgrades
utopia-php/queueto the 2.x line andutopia-php/platformto1.0.0-rc20. Migrates direct broker usage from the removedPublisherclass /enqueue()method to the Queue 2Publisher\Synchronouscontract andpublish()method.The lockfile resolves Queue
2.0.1, which retains compatibility with Appwrite’s existing Validators 0.6 dependency.Test Plan
vendor/bin/pint --test --dirty --config pint.jsoncomposer checkcomposer refactor:checkvendor/bin/phpunit tests/unit/Event tests/unit/Platform/Workers/MigrationsTest.php(18 tests, 302 assertions)Related PRs