Skip to content

docs(releases): sync utopia-php/migration with each minor - #14364

Merged
ChiragAgg5k merged 1 commit into
mainfrom
docs/release-migration-sync
Oct 12, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
docs/release-migration-sync

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Adds a Migration library step to docs/releases.md and links it from the prep PR step.

Why

Projects move between installs and to Cloud through utopia-php/migration. Nothing in the release steps kept it in step with the API, so fields added since sdk-for-php 27 are dropped when a project is migrated:

  • function intervals;
  • site scopes, startCommand and deploymentRetention, and function deploymentRetention;
  • the secret flag on function and site variables;
  • file folders;
  • the password-strength, MFA-factors and deny-email policies, and membership userAccessedAt.

The step

For a minor:

  1. Bump migration's sdk-for-php.
  2. Its new AppwriteSdkCoverageTest fails for every SDK parameter or project setting that the destination neither sends nor records as skipped. Carry each one, or record why it's skipped.
  3. Release migration, then bump it here in the prep PR, with e2e assertions in tests/e2e/Services/Migrations.

A patch needs this only when a fix changes a field that migration carries.

Depends on

The utopia-php/migration PRs that add the coverage test and close the current gaps (opening next). Merge this after them, so the test the step names exists.

Related: #14365

Nothing in the release steps kept migration in step with the API, so fields added since sdk-for-php 27 (site scopes, file folders, function intervals, several policies) were dropped when moving a project. A minor now bumps migration's SDK, lets its coverage test list what is not carried, and ships the new migration version in the prep PR.
@luxor-code-review

luxor-code-review Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Review complete. No issues found — approved ✅.


This docs-only change inserts a new numbered step into the release checklist in docs/releases.md covering the utopia-php/migration library sync. All scanners (domain specialist, holistic, sweep) returned no findings: the section's anchor links, relative path references, and the ^2.0 composer-constraint example are consistent with the rest of the document and the repository.

Files Change
docs/releases.md Adds a release-process step documenting how to sync the migration library during releases.

Reviewed commit: d514d27

@ghost

ghost commented Oct 12, 2026

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Adds a minor-release checklist for keeping utopia-php/migration aligned with the current PHP SDK and Appwrite fields. The prep PR step now links to that checklist, including migration test coverage and the patch-release exception.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 1
File Change
docs/releases.md Links the minor-release prep PR to a migration-library sync process, its coverage test, and e2e assertions.

Reviewed d514d27 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit 420b1dd into main Oct 12, 2026
20 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the docs/release-migration-sync branch October 12, 2026 11:24
@ChiragAgg5k ChiragAgg5k self-assigned this Oct 12, 2026
@github-actions

Copy link
Copy Markdown

Security rules

No new WARNING or ERROR findings from security rules.

32 existing findings tracked in .semgrep/baseline.json
  • php.appwrite.guest-write-without-abuse-limit (17)
  • php.appwrite.permissive-write-permission (8)
  • php.appwrite.secret-compare-timing (5)
  • php.appwrite.weak-secret-env-default (2)

Posted by Checks / Rules. Re-runs update this comment in place. Rule details and baseline: .semgrep/README.md.

@github-actions

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → docs/release-migration-sync (after).

Metric Before After Change
🚀 Requests/sec 205.8 226.99 🟢 +10.3%
⏱️ Latency P50 82.21 ms 76.65 ms 🟢 -6.8%
⏱️ Latency P95 198.98 ms 175.02 ms 🟢 -12%
Per-scenario breakdown & investigation details

Metrics below reflect the current branch (after). Δ P95 compares against the base.

Scenario P50 (ms) P95 (ms) Requests RPS Δ P95 (ms)
API total 76.65 175.02 14,079 226.99 -23.96
Account 146.24 280.12 741 12.29 -12.76
TablesDB 74.77 129.19 7,657 125.13 -14.82
Storage 69.52 145.07 3,705 62.71 -20.54
Functions 115.58 221.75 1,976 34.16 -52.5

Top API waits (after)

API request Max wait (ms)
functions.create 405.99
account.name.update 383.78
account.prefs.update 376.81
storage.files.create 348.44
functions.delete 334.28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant