Files
routstrd/tests
redshift 7d95a12f84 fix(onboard): wait for models and warn instead of aborting
`startDaemon` only waits for `/health`, so onboarding reached the
integration step before models were loaded. On a cold start `/models`
blocks while providers bootstrap, and can still come back empty when
relays are slow. Since the installers now throw, that ended onboarding
with a failure after the daemon and API key were already created.

- Wait for a non-empty `/models` before installing OpenCode, OpenClaw and
  Pi (the integrations whose config embeds the model list), retrying for
  up to 5 min with a progress line every 10s.
- Catch installer failures during onboarding and print a warning that
  points at `routstrd refresh`, so onboarding still reports completion.
  The installers keep throwing, so scheduled/bulk refresh still counts
  real failures.
2026-10-13 19:58:41 +08:00
..