chore(railway): expose readiness diagnostics#50
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aa73170b55
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| }, | ||
| "deploy": { | ||
| "healthcheckPath": "/api/ready", | ||
| "healthcheckPath": "/api/health", |
There was a problem hiding this comment.
Restore readiness as the Railway health check
When the customer database or embedder cannot initialize, /api/health still returns 200 unconditionally, while /api/ready returns 503 until both dependencies are usable. Pointing Railway at this liveness endpoint therefore lets a broken deployment be marked healthy and receive traffic, despite the Docker health check and hosted deployment guidance continuing to require /api/ready.
Useful? React with 👍 / 👎.
Temporary production diagnostic change:
/api/healthonly long enough to route the vendor process and inspect authenticated readiness/api/readybefore completionVerification:
python -m json.tool railway.json