carlos / platform Public

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, and carlos secrets list showed the new name.
  • carlos routes showed the route as ready / Running. carlos env list shows exec-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_ORIGIN set on woodstar-unfurl never reached the process.

What we did

  • Installed a declaration for woodstar-relay.service with carlos 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

  1. 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 a CONFIG column; - as a warning from carlos env set and carlos secrets set.

Today secrets set reports success and every listing looks healthy while the process never sees the value.

  1. Box setup gap. The docs say named-units.json is "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?