You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Absorb compression into packages/compression #13797
Integrate utopia-php/compression as the next leaf package in the Appwrite monorepo. It requires only PHP, preserves its public namespace, and has an existing unit suite. Import mirror history, standardize layout, remove duplicated QA and the Composer dependency, and validate package checks and tests. Reference: rfc/monorepo.md. Existing mirror PR utopia-php/compression#5 concerns formatting/CI now owned by the root.
Absorb utopia-php/compression into packages/compression, so Appwrite loads it directly and library changes can land alongside their callers. It is a leaf package requiring only PHP; optional compression extensions remain suggested dependencies.
Import full mirror history from 8a23fdec63623aa6ad64ed764d688e67cf2c110e, flatten source/tests, and point the mirror workflow and README here.
Replace the Composer dependency with root autoload/replace entries. The lockfile removes only compression; no other versions change.
Preserve runtime behavior. Carry 16 pre-existing maximum-level PHPStan findings in a baseline, recorded for follow-up in the RFC.
Remove empty teardown methods and approximately 33 MiB of unused test fixtures.
Validation
bin/monorepo validate
bin/monorepo check compression (Pint and maximum-level PHPStan with baseline)
bin/monorepo test compression: 30 tests, 88 assertions; all optional compression extensions present, no skips
Same 30 tests / 88 assertions using the root autoloader
Full Appwrite CI remains pending; no Appwrite E2E stack was run locally.
Merge and mirror
Merge with a merge commit, not squash, to preserve the subtree ancestry. After merge, verify the compression Split workflow. The mirror already has an active ruleset with split-app bypass, so no ruleset mutation was needed. Existing mirror PR utopia-php/compression#5 concerns formatting/CI now owned by the root and should be closed as superseded after this lands.
Implementation: #13798 (draft, assigned to @loks0n).
Post-merge verification: #13798 merged at 9500bdc. The new-home Split run is still in progress: https://github.com/appwrite/appwrite/actions/runs/35601052974. The old utopia-php/monorepo still contains packages/compression and its active Split workflow publishes all packages on main pushes. Follow-up after successful Appwrite split: remove packages/compression from the old monorepo and refresh its dependency graph/docs so only Appwrite publishes the mirror. Keep remaining consumers on their Packagist constraints and retain the standalone utopia-php/compression mirror and release tags. Old splitter uses normal pushes by default, so divergent old-home changes would fail rather than silently overwrite the new mirror.
Appwrite Split succeeded and the compression mirror now serves the new layout. Cleanup PR removing the old source and its discovery by the old splitter: utopia-php/monorepo#311. Assigned to @loks0n; monorepo validation, README Vale lint, and diff checks pass. HTTP retains its Packagist dependency.
Activity
loks0n commentedon Sep 21, 2026
Summary
Absorb
utopia-php/compressionintopackages/compression, so Appwrite loads it directly and library changes can land alongside their callers. It is a leaf package requiring only PHP; optional compression extensions remain suggested dependencies.8a23fdec63623aa6ad64ed764d688e67cf2c110e, flatten source/tests, and point the mirror workflow and README here.Validation
bin/monorepo validatebin/monorepo check compression(Pint and maximum-level PHPStan with baseline)bin/monorepo test compression: 30 tests, 88 assertions; all optional compression extensions present, no skipscomposer validate --no-check-publish(existing exact-version warnings only)bin/monorepo split compression --dry-run:b920ca6c3fd10c00515f1fccddf2c71c92eddab8git diff --checkFull Appwrite CI remains pending; no Appwrite E2E stack was run locally.
Merge and mirror
Merge with a merge commit, not squash, to preserve the subtree ancestry. After merge, verify the compression Split workflow. The mirror already has an active ruleset with split-app bypass, so no ruleset mutation was needed. Existing mirror PR utopia-php/compression#5 concerns formatting/CI now owned by the root and should be closed as superseded after this lands.
Implementation: #13798 (draft, assigned to @loks0n).
loks0n commentedon Sep 21, 2026
Post-merge verification: #13798 merged at 9500bdc. The new-home Split run is still in progress: https://github.com/appwrite/appwrite/actions/runs/35601052974. The old utopia-php/monorepo still contains packages/compression and its active Split workflow publishes all packages on main pushes. Follow-up after successful Appwrite split: remove packages/compression from the old monorepo and refresh its dependency graph/docs so only Appwrite publishes the mirror. Keep remaining consumers on their Packagist constraints and retain the standalone utopia-php/compression mirror and release tags. Old splitter uses normal pushes by default, so divergent old-home changes would fail rather than silently overwrite the new mirror.
loks0n commentedon Sep 21, 2026
Appwrite Split succeeded and the compression mirror now serves the new layout. Cleanup PR removing the old source and its discovery by the old splitter: utopia-php/monorepo#311. Assigned to @loks0n; monorepo validation, README Vale lint, and diff checks pass. HTTP retains its Packagist dependency.