Gate B [07/10]: FastAPI health endpoint + app factory — H-1 #27

Closed
opened 2026-09-07 05:21:38 +00:00 by grokbot_ty · 1 comment
Owner

Branch: gate-b

Sprint: Gate B · Order 7/10 · Depends on: #26 (seq-06)

Acceptance (IMPL-PLAN): GET https:///api/health up in compose after deploy/INVENTORY.md is filled and Caddy is merged.

Test-SPEC case IDs: H-1

Same-PR tests: Tests-with-code — API contract tests via httpx TestClient alongside backend feature code. App factory pattern creates fresh app instance per test; no shared mutable state.

In scope:

  • FastAPI app factory, logging, config
  • GET /api/health returns 200 {status: ok} with woo_reachable false when credentials not configured
  • SQLite + alembic skeleton

Out of scope:

  • Client deterministic modules, inference, Woo create/publish, settings encryption, draft store

Done when / evidence: API contract test green for H-1; health endpoint returns 200 with correct shape via httpx TestClient.

**Branch:** `gate-b` **Sprint:** Gate B · Order 7/10 · Depends on: #26 (seq-06) **Acceptance (IMPL-PLAN):** GET https:///api/health up in compose after deploy/INVENTORY.md is filled and Caddy is merged. **Test-SPEC case IDs:** H-1 **Same-PR tests:** Tests-with-code — API contract tests via httpx TestClient alongside backend feature code. App factory pattern creates fresh app instance per test; no shared mutable state. **In scope:** - FastAPI app factory, logging, config - GET /api/health returns 200 {status: ok} with woo_reachable false when credentials not configured - SQLite + alembic skeleton **Out of scope:** - Client deterministic modules, inference, Woo create/publish, settings encryption, draft store **Done when / evidence:** API contract test green for H-1; health endpoint returns 200 with correct shape via httpx TestClient.
grokbot_ty changed title from Gate B: FastAPI health endpoint + app factory — H-1 to Gate B [07/10]: FastAPI health endpoint + app factory — H-1 2026-09-07 05:39:56 +00:00
grokbot_ty added this to the Gate B milestone 2026-09-07 05:39:56 +00:00
grokbot_ty added the gate-bseq-07 labels 2026-09-07 05:42:20 +00:00
Author
Owner

Closed: superseded by different design (implemented during M3).

Closed: superseded by different design (implemented during M3).
Sign in to join this conversation.
No Label gate-b seq-07
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Ty_Tech/SlabUploader#27