Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

1.0 KiB

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.