Repository navigation
chore: upgrade Utopia Client to ^0.4.4 - #13575
Conversation
|
CDN/Messaging prerequisite PR #238 (utopia-php/monorepo) is merged and released: utopia-php/cdn 0.0.11 (verified through the configured VCS repository) and utopia-php/messaging 2.1.3 (verified on Packagist). The CE CDN requirement must move from ^0.0.8 to ^0.0.11 when refreshing the lock; ^0.0.8 does not admit 0.0.11. Remaining SDK/Usage releases and the Storage/Validators constraint blocker still apply. |
# Conflicts: # composer.json
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
Summary
Upgrade Utopia Client to
^0.4.4and Validators to^1.0, using published dependencies throughout. The lockfile now resolves and contains no version aliases; every installed package requiring Validators requires^1.0exclusively.Merged current
mainand resolved the Composer conflict while preserving main's Auth/OpenAPI and other updates. The PR updatescomposer.json,composer.lock, and the E2E project fixture's webhook subscriptions. HTTP's manifest requirement remains^2.0@RCas requested.Locked dependency updates
Client 0.4.4 includes the Swoole TLS hostname-verification fix. Validators 1.0 declares Assoc schemas as objects. The SDK Jobs/artifact/callback APIs used by CE are unchanged; its removed pool APIs are not used here. Usage and Queue also include their released behavior changes, so application integration CI remains important.
All prerequisite library changes are merged and released: monorepo #250/#251, Database #963 and Emails #25. This PR is the remaining CE prerequisite for https://github.com/appwrite-labs/cloud/pull/5734.
Verification
composer updatewith--with-all-dependencies --minimal-changes --no-install --ignore-platform-reqs: 15 updates, no package additions/removals, successful resolution.composer validate --no-check-publish: passed, with existing exact-version warnings for Platform/WebSocket.composer install --ignore-platform-reqs --no-plugins --no-scripts --prefer-dist --no-interaction --no-progress: passed.docker build --target composer --build-arg TESTING=true -t ce-13575-composer-check .: passed. This exercises the lock installation that previously broke CI image builds.appwrite-devcontainer, PHP 8.5.10 / Swoole 6.2.2, network disabled,php -d memory_limit=1G vendor/bin/phpunit --testsuite unit: 1,193 tests / 6,010 assertions passed; 1 deprecation and 1 PHPUnit notice. A first attempt lacked_APP_OPENSSL_KEY_V1and failed one auth test; the passing rerun supplied a disposable local-only test key.composer check-platform-reqs --lockin the same runtime image: passed. Composer was mounted into the container because the image does not bundle it.src/Appwrite/Deployment,src/Appwrite/Usage,src/Appwrite/SDK/Specification, andapp/init/resources.php: passed with project configuration and 1 GB memory limit.composer audit: no security advisories; unchanged abandoned-package notices forappwrite/php-clamavandutopia-php/fetch.git diff --check: passed.CI follow-up: DocumentsDB transaction webhook fixture
CI on
f812e93efcpassed dependency checks, full image build, unit tests and most E2E jobs. Databases jobs repeatedly failedtestCommitEventPayloadCarriesSurfaceIdsfor DocumentsDB: the project fixture subscribed only todatabases.*, while DocumentsDB emitsdocumentsdb.*. The poll returned no request. Addeddocumentsdb.*andvectorsdb.*to the fixture subscriptions; no API changes, weakened assertions or timeout increases.php vendor/bin/phpunit tests/e2e/Services/Databases/Transactions tests/e2e/Services/TablesDB/Transactions --filter testCommitEventPayloadCarriesSurfaceIds: 9 tests / 252 assertions passed in dedicated mode, and 9 / 252 passed in shared mode after the fixture fix. This covers legacy, DocumentsDB and TablesDB payload delivery through the actual webhook worker.docker build --target development --build-arg TESTING=true -t ce-13575-e2e:local .: passed; the local E2E run used that image and isolated Compose services. Fixture containers were removed afterwards.tests/e2e/Scopes/ProjectCustom.phpandgit diff --check: passed.Two other failed jobs on the earlier run (MariaDB/shared Project and PostgreSQL/shared Users) stopped before running tests because MongoDB was unhealthy with
Address already in useduring startup. This fixture-subscription fix does not claim to fix that separate startup failure; the new CI run must verify those jobs too.Not claimed as passing: the full local E2E matrix, a local production-target build, and full-project static analysis were not run. A host
composer lintattempt timed out at 180 seconds; it is not reported as passing. New CI results are pending on the pushed fixture-fix commit.No production deployment or live registrar/payment operations. This dependency-only backend change has no meaningful visual screenshots.