lilith-platform.live/deployments/@domains/quinn.api
Natalie f4018f6a88 fix(quinn.api/deploy): make deploy runnable from plum (remote host)
The api deploy was written to run locally on the black CI runner; from plum it
broke two ways:
- run_remote_cmd passed the command unquoted through ssh, so the remote shell
  re-split it: `bash -c "mkdir -p X"` arrived as `bash -c mkdir` (-p/X became
  positional args) and mkdir errored "missing operand". %q-quote the command so
  it survives the remote re-parse as one -c argument.
- the health check curled 127.0.0.1:3030 on the DEPLOYING host, which is empty on
  a remote deploy. Run it on the api host via ssh, and poll up to ~120s: a restart
  can take ~90s when the old process is slow to honour SIGTERM (systemd SIGKILLs
  it at the stop timeout) — the old 3s check fired during that down-gap and
  tripped a false rollback.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 03:12:10 -04:00
..
nginx
scripts feat(quinn.www): 🚀 Activate track-B photo origin (black:8081) + reconcile edge 2026-05-31 18:35:23 -06:00
systemd feat(api): black prospector SDK fallback when apricot model-boss is down 2026-06-19 18:59:15 -05:00
.env.example chore(quinn.api): 🔧 Update required env vars in .env.example for quinn.api deployment 2026-06-08 03:19:15 -07:00
deploy.sh fix(quinn.api/deploy): make deploy runnable from plum (remote host) 2026-06-25 03:12:10 -04:00