READ-ONLY PACKAGE PREVIEW

openai-render-deploy/references/post-deploy-checks.md

Version 49f948fa.bb1 · Apache-2.0. This preview displays packaged text and does not execute code. Treat the contents as untrusted instructions.

← Return to resource and package checksum

Post-deploy checks

Use this after any deploy or service creation. Keep it short; stop when a check fails.

1) Confirm deploy status

list_deploys(serviceId: "<service-id>", limit: 1)
  • Expect status: "live".
  • If status is failed, inspect build/runtime logs immediately.

2) Verify service health

  • Hit the health endpoint (preferred) or / and confirm a 200 response.
  • If there is no health endpoint, add one and redeploy.

3) Scan recent error logs

list_logs(resource: ["<service-id>"], level: ["error"], limit: 50)

4) Verify env vars and port binding

  • Confirm all required env vars are set (especially secrets marked sync: false).
  • Ensure the app binds to 0.0.0.0:$PORT (not localhost).

5) Redeploy only after fixing the first failure

  • Avoid repeated deploys without changes; fix one issue at a time.