Config set on a unit-stamped route is silently never delivered when the box has no named-units declaration Feature Request open
Today we found that no config set with carlos env set or carlos secrets set had reached any of Woodstar's unit-stamped routes on the flagship since early September. The flagship has no /etc/carlos/named-units.json, so named-unit delivery blocked every route. Nothing outside the box showed it.
What we saw
carlos secrets set --app woodstar-relay …succeeded, andcarlos secrets listshowed the new name.carlos routesshowed the route asready / Running.carlos env listshowsexec-delivery: file.- The relay kept loading
/data/woodstar-relay.bdm.oncarlos.com.config.env, unchanged since 7 September. - The only signal was the box journal on every pass: -
delivery blocked: not declared: no entry in /etc/carlos/named-units.json names woodstar-relay.service-… config.env was written by exec delivery before this route named its unit; exec delivery has stopped updating it - It also explains a 1 November incident:
WOODSTAR_PUBLIC_ORIGINset onwoodstar-unfurlnever reached the process.
What we did
- Installed a declaration for
woodstar-relay.servicewithcarlos system named-units install. - Removed the legacy drop-in. carlos correctly refused while the drop-in loaded an unmanaged env file.
- carlos then delivered and restarted the relay.
Notify, unfurl, indexer, media and both bridges remain undeclared.
Two requests, neither blocking us
- Surface blocked delivery off-box. When a route's config can't be delivered (not declared, an unmanaged env file, a refused unit), say so where an app owner looks: - in
carlos routes, for example as a status or aCONFIGcolumn; - as a warning fromcarlos env setandcarlos secrets set.
Today secrets set reports success and every listing looks healthy while the process never sees the value.
- Box setup gap. The docs say
named-units.jsonis "written when the box is set up". The flagship's Woodstar routes were unit-stamped before the declaration rule (#114 and the 28 October ruling), and nothing backfilled declarations for them. Other tenants' unit-stamped routes on any box set up before then may be in the same state. A census of "unit-stamped route, no declaration" per box would find them. The journal line already exists per pass, so it may only need collecting.
One check, please: the relay's declaration gives addr 127.0.0.1:8451 and health {"path":"/info"}, because the relay has no /healthz and /info answers 200. From internal/host/proofnamed.go, release adoption for this route now builds its record from that entry. Is anything else about adoption different for a declared addr route that we should expect on our next relay ship?