Commit graph

11 commits

Author SHA1 Message Date
claude
7700548dee test: deploy/api-smoke.sh — exercises every API surface
Walks GET endpoints for auth, projects, assets, recorders, jobs, bins,
users, groups, cluster, settings, metrics, schedules, sdk, and the
freshly added comments routes. Deep-links one asset + one recorder by
ID so per-asset endpoints (stream, thumbnail, comments) get coverage.

Prints HTTP codes inline and exits non-zero on any failure. Treats
2xx/3xx as pass; 400/401 also pass since they indicate the route
exists and auth/validation is working as designed.

Usage:
  deploy/api-smoke.sh                      # localhost:47432
  API=http://10.0.0.25:47432 deploy/api-smoke.sh

NewRecorderModal: hardened ZAMPP_DATA hydration with defensive
defaults so first-load timing doesn't blow up the modal.
2026-05-23 04:24:10 +00:00
4a3a672cbe cluster: stable hostname for mam-api, jq-based smoke test
mam-api self-heartbeat now reads NODE_HOSTNAME so primary rows survive container restarts instead of resurrecting with the random container ID. test-cluster.sh rewritten to use jq (the python f-strings had a parse bug that silently passed the IP check) and limited the docker-bridge alarm to 172.17.x since the user LAN occupies 172.18.0.0/16.
2026-05-21 11:50:52 +00:00
8aa378348e deploy: add cluster smoke-test script; remove rate-limit probe
test-cluster.sh validates primary /health, dedup hostnames, real LAN IPs, per-node /health, NVENC encode, and Blackmagic enumeration.
2026-05-21 11:38:30 +00:00
97628bb67d chore: remove cloudflare rate-limit probe 2026-05-21 07:34:47 -04:00
46676bf80d test: rate-limit probe 2026-05-21 00:32:09 -04:00
0ebb3cffe4 onboard-node: auto-detect host LAN IP and pass NODE_IP + BMD_MODEL
Resolves the host's primary LAN address with `ip route get` so the
node-agent reports it in the heartbeat instead of a docker bridge IP.
Adds BMD_MODEL forwarding so the recorder UI knows which card to draw,
and reads back the agent's /health response to confirm the resolved IP.
2026-05-21 00:20:46 -04:00
28a97e2ba3 fix(deploy): test-api.sh — skip capture 404 (sidecar/idle mode is normal) 2026-05-20 13:56:26 -04:00
96ef569720 fix(deploy): test-api.sh — fix login POST, sequences 400, settings/ampp path 2026-05-20 13:54:30 -04:00
115c7340ee fix(deploy): test-api.sh — fix curl -f flag swallowing 4xx, fgrep for literal [, correct /auth/me path 2026-05-20 13:52:59 -04:00
3128ab43b3 feat(deploy): test-api.sh — API smoke test covering all major endpoints 2026-05-20 13:49:35 -04:00
0b49f28a80 feat(deploy): onboard-node.sh — one-command cluster node provisioning 2026-05-20 13:49:05 -04:00