Repository navigation
fix(console): show the server's release line on the page loader - #14547
Conversation
The loader hardcoded / 2.0, so every release past 2.0 showed the wrong version. Self-hosted compose now passes _APP_VERSION to the console as VITE_APPWRITE_VERSION through the runtime config, and the loader shows its major.minor, hiding the label when no release is set.
|
Review complete. No blocking issues — approved ✅; 1 nitpick below. 🧹 Nitpicks (1) — 🟢 1 low
This PR plumbs the Appwrite server version into the console's runtime config and renders it on the console loader, so self-hosted users can see which server version they're running. The compose file passes
One low-severity consistency finding: the compose generator template was not updated to match Reviewed commit: 757a5f6 |
New ConsoleProject ID: Tip Environment variable changes require redeployment to take effect |
Security rulesNo new WARNING or ERROR findings from security rules. 19 existing findings tracked in
|
🟢 Tier S · Ready to mergeThe PR adds an optional runtime-configured Appwrite server release line to the Console loader, deriving the displayed major.minor from the server version and wiring the value through self-hosted configuration. It also documents and surfaces the setting in the debug environment panel, and updates the docs Compose generator and checked-in data so generated installations receive the version. Latest changes: The new commits make the docs Compose-data generator substitute the stable Appwrite version into empty-default version placeholders and update the checked-in generated Console service with
📂 Walkthrough · 9
✅ Fixed since the last review · 1
Reviewed the commits since |
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
…se files Compose files from the docs generator carry no _APP_VERSION in .env, so VITE_APPWRITE_VERSION would resolve empty and hide the loader's release line. The generator now pins it to the release, as it does the appwrite image.

What does this PR do?
The page loader in the console hardcoded
/ 2.0, so it still read 2.0 after the 2.5.0 release. It now shows the release line of the server it ships with.docker-compose.ymlpasses_APP_VERSION(already in.env, written by the installer) to the console container asVITE_APPWRITE_VERSION.VITE_APPWRITE_VERSIONis part of the console runtime config (window.__APP_CONFIG__), so it is read at serve time and needs no console rebuild per release.major.minor(2.5.0→2.5,2.5-nightly.<date>→2.5) and hides the label when the version is unset or names no release (latest,local).Cloud sets no
VITE_APPWRITE_VERSIONtoday, so the label is hidden there until the deployment sets it.Test Plan
Ran the console dev server with
VITE_APPWRITE_VERSION=2.5.0and loaded/organizationswith API requests held so the loader stays up. The loader reads/ 2.5, and the SSR HTML carries"appwriteVersion":"2.5.0"inwindow.__APP_CONFIG__.Related PRs and Issues
None.
Checklist
Closes #14548