Hit while trying to deploy a staging build of hydrabody to cloud-l4-euw1 (node-558827b8) for #798 and #804.
Setting the node's release channel appears to work but never reaches the body.
POST /admin/nodes/node-558827b8/release-channel with release_channel=staging returned 303 (success).GET /api/v1/nodes/node-558827b8 then reported release_channel: staging, so the node store has it.config_cache.yaml kept an mtime of 22:35:55, from well before the change, and contains no release_channel key at all.handlers_body.go resolves the channel into the BodyConfig response (node-level over district-level), so a fresh fetch should have carried it.hydrabody writes config_cache.yaml only when the content changes, so an unchanged mtime means the config it received genuinely did not contain the new channel. The body config response looks stale relative to the node store.
There is no other supported way to move one body to staging. hydrabody update --force always builds a production updater (internal/cli/root.go calls NewProductionUpdater unconditionally); only the in-process auto-updater honours staging (pkg/provider/provider.go). So with channel propagation broken, a staging build cannot be delivered to a single body through any sanctioned path, and testing a fix on one test-district body means hand-replacing the binary.
That is what I had to do here, which is also where I learned that hydranode restarts hydrabody fast enough to lock the exe, so an overwrite loses the race and the binary has to be renamed aside first.
A server-side cache. The body config handler reads from caches (s.districtCache, s.venueCache, and whatever snapshot backs the node lookup) that the admin write path does not invalidate.
POST /admin/nodes/{id}/release-channel is web-auth only (RequireWebAuth), with no /api/v1 equivalent. Every other node mutation used operationally is available over bearer auth. Setting a channel needs a form login and a cookie, which is awkward for automation; an API route would be worth adding.