Topology
The canonical Fly topology uses separate API/ordinary-worker, hosted MCP, repository-scanner, sandbox-worker, frontend, Postgres, Redis, and MinIO deployments. The sandbox worker remains off until its rollout gate passes.Routine Fly deployment
Run deployments from a green main branch. The backend release command acquires a PostgreSQL advisory lock, upgrades to Alembic head, runsalembic check, and fails closed before serving.
Post-deploy verification
1
Check liveness
Request
GET /api/health on the API and GET /health on the hosted MCP service.2
Check readiness
Request
GET /api/health/ready. A required worker heartbeat, database, Redis, credential, migration, or invariant failure returns 503.3
Check workers
Confirm ordinary-worker and repository-scanner heartbeat keys are current. Confirm the sandbox heartbeat only when sandbox admission is enabled.
4
Exercise one monitor
Verify a scheduled or manually requested capture and inspect its durable run status.