Repository navigation
chore(platform): allow queue 6 alongside 5 - #324
Merged
Merged
Conversation
queue 6.0.0 adds getFailedCount() to Publisher\Synchronous and changes what a terminal verdict does on Redis. Platform touches neither: it uses Adapter\Swoole and Server, and its one test double implements Consumer, which did not change. So this is a constraint, not a port. Both lines rather than a straight bump, so the consumers can move one at a time. Appwrite and Cloud are currently pinned to platform rc24, whose ^5.0.0 is what refuses queue 6 for them -- with this they can take queue 6 when they are ready instead of the whole chain moving together.
levivannoort
requested review from
lohanidamodar and
shimonewman
as code owners
September 22, 2026 16:50
Contributor
|
The union's lower leg cannot be tested here: linked_version() in bin/monorepo takes the highest number out of a union, registry-resolved runs take the highest available, and no job passes --prefer-lowest. 3addb37 collapsed the old seven-way chain for the same reason.
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 1 selected item(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
utopia-php/queue6.0.0 is released, and nothing can take it:utopia-php/platformrc24 pinsutopia-php/queue: ^5.0.0, and both Appwrite and Cloud sit behind platform. Composer says so directly:This is the same gate the queue 4.0.0 notes called out at the time — "the currently pinned
utopia-php/platform1.0.0-rc21 does not allow queue 4.x; its dependency constraint also needs updating."Why a constraint and not a port
Platform does not touch anything 6.0.0 changed.
grep -rn "Utopia\\\\Queue" packages/platform/srcis two lines —Adapter\SwooleandServer— and its one test double implementsConsumer, which is unchanged. The additions in 6.0.0 are onPublisher\Synchronous, which platform neither implements nor calls.Why both lines
^5.0.0 || ^6.0.0rather than a straight bump, so consumers move one at a time. Appwrite and Cloud are both pinned to rc24 today; with this they can take queue 6 when each is ready, instead of the whole chain having to move in one commit.After this merges
Cut
platform/1.0.0-rc25, then the two consumer bumps can be locked and opened:^5.0.2→^6.0.0, plusgetFailedCount()on 9 test doubles^5.0.1→^6.0.0, plusgetFailedCount()onMockPublisherBoth branches are prepared; they are waiting on this and the rc25 tag, because
composer updaterefuses to write a lock until platform allows the version.