docs: record why the chat image tag lags main — config-only commits, check the live hash
This commit is contained in:
1 parent
e8dcb67f7a
commit
f8cf3f2c9e
1 file changed
+23
@@ -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
|
durable fix is `viewport-fit=cover` + standalone-mode safe-area padding
|
||||||
(custom.css) so the bands show the theme-correct page background; custom2.js
|
(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.
|
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.
|
||||||
Reference in new issue
Block a user