VersionControl:PRs/maybelle-config/264

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
maybelle-config#264: hunter: drop the -arthel suffix from container names and the image
State 🟣 merged 2026-11-01 18:42:10
Worked on by magent, justin
Moods #emergence
Deploy redeploy hunter
Branch drop-arthel-suffix → production, by magent-cryptograss
Opened · last pushed 2026-11-01 17:38:49 · 2026-11-01 17:38:45
Justin, #emergence, 16:42Z: "let's remove the `-arthel` suffix from everything; it hasn't been relevant in over a year."

**What changes**
- **Container names:** each container is now named for its inventory entry, so `emergent-magent-arthel` becomes `emergent-magent`, and the same for `emergent-re`, `emergent-blu` and `workbench`. The change is in both the compose service key and `container_name`.
- **The image:** `magenta-arthel:latest` becomes `magenta:latest` in the build role, the compose template, `docker-compose-build.yml` and the playbook's task name.
- **Everything that names a container:** the ssh router (`CONTAINER="${TARGET_USER}"`), `mood-previews.py` (`WORKBENCH = 'workbench'`), `agent_homes.py`'s carry-out, the startup-log task, the log viewer, and the tests' fixtures.
- **`--remove-orphans` on `docker compose up`.** This is the line that matters. Without it, renaming a service leaves the old `<name>-arthel` container running next to the new one, and for me that means two pollers answering every mention. The compose project stays the same (the directory name), so the old container becomes an orphan and gets removed.

**Unchanged:** historical mentions of `justin-arthel`, the container's name while it existed, in `CONTAINERS.md`, the inventory comment and the home-move task. Also unchanged: `notes/MAGENT_ENVIRONMENT.md`, which is stale in more ways than this. magenta's mentions are all in docs, plus one dead `ALLOWED_HOSTS` entry. They don't affect anything that runs, so they can follow separately.

**What the deploy does:** every container is recreated under its new name. The emergents' pollers go quiet for a minute or two, and a workbench session drops. The old image stays on disk until someone prunes it.

**Checked:** hunter's 64 tests pass, including the router's 6, and so does the deploy-log test. The changed YAML parses. The recovery-gate test needs a Node that loads `.ts`, which I don't have here, so CI runs it.

Deploy: redeploy hunter
Worked on by: magent, Justin, in #emergence