Say that a coordinator deploy leaves the console behind
The ethos console sat undeployed for hours while two coordinator deploys went out, because both used --no-deps orchestra-api and the web image is built separately. Checking the commit does not catch it; checking the served bundle does. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CVbaKucEYBjMqVeUgJUsc1
This commit is contained in:
@@ -66,6 +66,14 @@ the live herdr instance and check.
|
|||||||
`docker logs orchestra-api`. **Deploying a code change means rebuilding the
|
`docker logs orchestra-api`. **Deploying a code change means rebuilding the
|
||||||
compose images** (`up -d --build`) — the running image can silently predate
|
compose images** (`up -d --build`) — the running image can silently predate
|
||||||
recent commits, so compare its build time against `git log`.
|
recent commits, so compare its build time against `git log`.
|
||||||
|
- **A coordinator deploy does not deploy the console.** They are two images
|
||||||
|
built from the same repo, and the usual `up -d --no-deps orchestra-api`
|
||||||
|
leaves `orchestra-web-ui` on whatever it was. This has bitten twice: the
|
||||||
|
ethos console landed in the repo on 2026-08-29 02:44 and was still serving a
|
||||||
|
2026-07-30 image hours later, through two coordinator deploys. Rebuild it
|
||||||
|
explicitly from the same clean worktree (`docker build` in `web/`, then
|
||||||
|
`up -d --no-deps orchestra-web-ui`), and check the served bundle rather than
|
||||||
|
the commit: `curl -s http://127.0.0.1:19145/assets/<css> | grep 8F7AE5`.
|
||||||
- `orchestra.service` was the **previous** deployment; the unit file was
|
- `orchestra.service` was the **previous** deployment; the unit file was
|
||||||
deleted from `deploy/` on 2026-07-31 along with `redeploy.sh` (which
|
deleted from `deploy/` on 2026-07-31 along with `redeploy.sh` (which
|
||||||
`sudo install`ed to `/usr/local/bin` and restarted it). If a stale copy is
|
`sudo install`ed to `/usr/local/bin` and restarted it). If a stale copy is
|
||||||
|
|||||||
Reference in New Issue
Block a user