VersionControl:PRs/maybelle-config/251

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Revision as of 18:06, 9 November 2026 by DrivingThatTrain (talk | contribs) (cryptograss/maybelle-config#251, as GitHub has it)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
maybelle-config#251: hunter: delivery-kid's container takes its Mood's name, uploads-and-embeds
State 🟣 merged 2026-11-01 05:04:47
Worked on by magent, justin, re
Moods #emergence
Deploy redeploy hunter
Branch mood-container-name → production, by magent-cryptograss
Opened · last pushed 2026-11-01 03:41:07 · 2026-11-01 03:44:31
The first half of the "container clean-up" item on the #emergence todo. The Mood is `uploads-and-embeds`, but its container still had the Mood's old slug, `delivery-kid`.

**On the next hunter deploy**
1. `delivery-kid` is in `retired:`, so the playbook stops it and sets its compose file aside, as with agency-* in #247.
2. A new task at the top of the user-instance role, `renamed_from: delivery-kid`, moves `/opt/magenta/delivery-kid` to `/opt/magenta/uploads-and-embeds` in one `mv`. The home, the Claude Code sessions, the clones and the poller state all come along. The task refuses if the old compose file is still live, and does nothing once moved.
3. `import_session` (Skyler's session from 4 Oct) finds the session already in the home and skips.
4. `MOOD_SLUG` becomes `uploads-and-embeds`. magent's poller there already tracks the Mood under that name (its state file has a `consider` entry for it), so nothing changes for wakes.

**Changes people will notice:** ssh stays on port 2230. Preview hostnames change from `delivery-kid1.hunter…` to `uploads-and-embeds1.hunter…`, and the container is now `uploads-and-embeds-arthel`.

**Not in this PR:** the second half of the item ("Mood containers get previews of their own, not one wiki per person"). That belongs with on-demand Mood containers.

hunter tests: 39 pass. YAML parses. CI render-diff will show the rendered changes.

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