Skip to content

[api] Add GET /ready readiness endpoint (PRD PR-4) #41

Description

@yinkscss

Context

PRD v0.2 AC-F6.3 and launch gate PR-4 require a readiness endpoint that returns 200 only when the DB pool and required config are initialized.

Problem

Gateway and API expose /health but no dedicated /ready signal for Render and orchestrators to distinguish liveness from readiness.

Proposed scope

Acceptance criteria

  • /ready returns 200 when DB ping succeeds and required config present
  • /ready returns 503 when DB unreachable
  • Render health checks can target /ready separately from /health

References

  • docs/PRD.md (AC-F6.3, PR-4)
  • crates/api/src/routes/mod.rs
  • crates/gateway/src/routes.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiREST API servicecomplexity:mediumStandard feature or involved fixhelp wantedExtra attention is neededphase-3Phase 3: Production Hardening

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions