Skip to content

chore: merge 2.3.x into main after 2.3.0 - #13861

Merged
ChiragAgg5k merged 5 commits into
mainfrom
2.3.x
Sep 23, 2026
Merged

ChiragAgg5k merged 5 commits into
mainfrom
2.3.x

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

Release test record for 2.3.0. Gate results and the tested SHA go here; merge after the release is published. See docs/releases.md.

@greptile-apps

greptile-apps Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

The runtime and migration changes appear sound, but the implementation-coupled migration test must be replaced to satisfy the repository’s explicit testing requirement before merging.

Fix All in Claude CodeFindings

  1. P2 Test Mirrors Migration Configuration ▶
Fix with agent prompt
### Issue 1
tests/unit/Migration/Version/V25Test.php:141-149
This test builds its supposed 2.2.0 fixture from the current collection configuration and duplicates the migration's exact `sequence`, `qos`, and `expiry` list. Future schema changes can therefore rewrite the baseline silently, while unrelated configuration edits can make the test brittle. This violates the repository directive to test observable behavior instead of mirroring source code or configuration. Replace it with a stable previous-release fixture and verify post-upgrade publish and replay behavior before merging.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

This release merge updates Appwrite and Console version metadata, catalogs MQTT deployment variables, removes obsolete MQTT container settings, and extends V25 so upgraded projects receive the push-ledger and topic schema required by MQTT delivery.

  • Adds pushLedger and the sequence, qos, and expiry topic fields during project migration.
  • Aligns stable release and installation metadata with Appwrite 2.3.0.
  • Adds operator-facing MQTT variable metadata and updates the self-hosted Console image.
  • The migration implementation is coherent, but its new regression test violates the repository’s explicit testing standard by reconstructing versioned state from current configuration.

Reviews (1) · Last reviewed commit: "Merge pull request #13857 from appwrite/..."

@github-actions

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → 2.3.x (after).

Metric Before After Change
🚀 Requests/sec 194.06 203.01 ⚪ +4.6%
⏱️ Latency P50 88.67 ms 84.84 ms ⚪ -4.3%
⏱️ Latency P95 210.73 ms 200.68 ms ⚪ -4.8%
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 84.84 200.68 12,597 203.01 -10.05
Account 164.54 318.01 663 11.01 -63.4
TablesDB 80.35 146.86 6,851 112.06 -18.43
Storage 82.67 177.52 3,315 56.39 +9.32
Functions 126.13 238.36 1,768 30.71 -18.26

Top API waits (after)

API request Max wait (ms)
storage.buckets.create 460.39
account.name.update 446.16
account.prefs.update 408.69
tablesdb.rows.decrement 400.5
storage.files.preview 363.2

@ChiragAgg5k

Copy link
Copy Markdown
Member Author

2.3.0 release gates

Tested SHA: d66a7eff038e75f0066b3232d6a4e1b9eac7a64e (origin/2.3.x after #13857). Image built locally from this tree (docker build --target production --build-arg VERSION=2.3.0), arm64. The upgrade gate ran on 6f6ef7e4b9, which has the identical tree (34d120ce7a).

bin/release check 2.3.0 --ref=d66a7eff03: metadata consistent (console pin 1.1.159; 1.1.160 was published after testing and is not included).

Upgrade from 2.2.0: pass

  • Installed appwrite/appwrite:2.2.0 with the installer (postgresql, combined topology), seeded through the API: users (empty and 128-char names, unicode, phone-only, labels), a team with a membership, TablesDB with every common column type, a two-way relationship, an index, 15k-char strings, empty and null values, mixed row permissions, an encrypted and gzip bucket with a text file and a font, a topic and an SMTP provider, plus an API key carrying devKeys.* scopes.
  • upgrade to 2.3.0: all services healthy, the API keeps serving before migrate, and .env gains _APP_CONSOLE_URL and _APP_MQTT_* and drops _APP_CONSOLE_URL_SCHEME.
  • migrate initially failed on every project (pushLedger: Collection not found). Fixed by fix(migration): add the push broker schema to upgraded projects #13859, cherry-picked here. After the fix, migrate exits 0 twice (idempotent). devKeys collection, attribute and scopes are removed; pushLedger, topic sequence/qos/expiry, users.passwordPwned with its index, and identities.providerIdToken are created. Every seeded resource reads back unchanged except for new null fields.
  • Console 1.1.159 on the upgraded install was exercised in a browser: invites (Owner/Developer roles), row create with custom ID and comma enum, datetime picker and time zones, impersonation (file preview and avatar 200), users list past 5,000, not-found pages, missing-deployment function page, mobile deployment panel, execution delete, function create wizard domain, Usage with ClickHouse down, self-hosted gating (no Specification tab, no Applications, no old console link, S3 shown), Jaspr in the framework list.
  • API claims from the release notes were checked against the same install (dev keys, 409s, relationship paths, null params, GraphQL, transactions, storage types, push targets, presences, membership privacy, execution duration).

Fresh install: pass

  • docker compose down -v, then install with the 2.3.0 image (postgresql, combined): 17 services up, 0 restarts, /v1/health/version = 2.3.0.
  • Through the public API: console signup and login, organization, project, API key, user create and delete, TablesDB database, table, column and row create and read, bucket, file upload and download, topic, function with node-16.0 deployment ready and execution 200 (cold start 0.88s), console UI 200.
  • CI on chore: prepare 2.3.0 release #13857: 49 checks pass (unit, E2E across adapters).

Known, not blocking

  • Signed-out guests cannot accept an organization invite in console 1.1.159 (the /join page stays on its loading state); the API accepts the same invite. Left out of the notes.
  • Every job on the deletes queue fails when _APP_EMAIL_CERTIFICATES is empty (the default); same in 2.2.0. To be fixed separately.

@ChiragAgg5k
ChiragAgg5k merged commit a7c600c into main Sep 23, 2026
99 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the 2.3.x branch September 23, 2026 14:11
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.

2 participants