From f8cf3f2c9e2ef16442f8689d621a4774a4e58381 Mon Sep 17 00:00:00 2001 From: Inferencebot Date: Wed, 18 Nov 2026 17:01:01 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20record=20why=20the=20chat=20image=20tag?= =?UTF-8?q?=20lags=20main=20=E2=80=94=20config-only=20commits,=20check=20t?= =?UTF-8?q?he=20live=20hash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 06c044e..0cad0ff 100644 --- a/README.md +++ b/README.md @@ -470,3 +470,26 @@ number of members who have logged in to the sandbox. durable fix is `viewport-fit=cover` + standalone-mode safe-area padding (custom.css) so the bands show the theme-correct page background; custom2.js additionally syncs one meta `theme-color` to the app's resolved theme. + +## Deploy semantics — why the image tag can lag `main` + +`librechat.yaml` is **data**, mounted at `/app/data/librechat.yaml`; the image carries +code. Config-only commits therefore do **not** require a rebuild, and the manifest's +`dockerImage` pin may legitimately lag `main` by any number of config-only commits. + +**Do not judge deployment by the image tag.** Judge it by the live config hash: + +```bash +sha256sum librechat.yaml | cut -c1-16 # repo +# inside the app: +python3 -c "import hashlib;print(hashlib.sha256(open('/app/data/librechat.yaml','rb').read()).hexdigest()[:16])" +``` + +Those two must match. Rebuild and redeploy only when code changes (anything outside +`librechat.yaml`) or when the config schema/startup script changes. + +History that caused confusion: `master` and `main` had diverged (master carried the +regolo models plus a spec-level "web search ON" commit; main carried the de-force and +voice-chat fix), and production was an uncommitted working-tree edit. Consolidated on +2026-11-18: `main` alone, master deleted, deployed config committed. Image tag +`20261111-179fd7c` is intentionally behind `main` — every commit since is config-only.