Skip to content

feat(landing): add /health liveness endpoint (convention)#28

Merged
vreshch merged 1 commit into
masterfrom
feature/health-endpoint
Jul 5, 2026
Merged

feat(landing): add /health liveness endpoint (convention)#28
vreshch merged 1 commit into
masterfrom
feature/health-endpoint

Conversation

@vreshch

@vreshch vreshch commented Jul 5, 2026

Copy link
Copy Markdown
Member

What

Landing was the only agentage service without a /health endpoint — its container HEALTHCHECK probed / (HTML, no build provenance). Add a /health route following the shared convention and repoint the healthcheck.

Convention

{ "success": true, "data": { "status": "ok", "service": "landing", "commit": "", "buildTime": "" } }

Matches backend (/api/health), memory-mcp, auth, dashboard, sync.

Changes

  • packages/landing/src/app/health/route.tsGET returns the envelope; force-dynamic so commit/buildTime come from the running container env; Next serves HEAD from it. No auth middleware in landing, so it's public by default.
  • Dockerfile — HEALTHCHECK //health.

Verified (runtime, landing dev)

  • GET /health{"success":true,"data":{"status":"ok","service":"landing","commit":"landabc99","buildTime":"…"}}.
  • HEAD /health → 200; / still serves the site (200). Type-check + lint clean.

Part of fleet-wide health alignment (web#390 = dashboard + sync; mcp-catalog PR separate).

The container HEALTHCHECK probed '/' (HTML, no provenance). Add a /health route
matching backend/memory-mcp/auth/dashboard/sync: { success, data: { status,
service, commit, buildTime } } with force-dynamic runtime env, and point the
Dockerfile HEALTHCHECK at it.
@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

CI - Verify PASSED

Commit: 6b7dedcb9dab02fe4774ae5c529a3a2d0c875416 · Branch: feature/health-endpoint

  • ✅ Type check
  • ✅ Lint
  • ✅ Format check
  • ✅ Unit tests
  • ✅ Build
  • ✅ Landing e2e
  • ✅ Showcase e2e

🔗 View workflow run

@vreshch vreshch marked this pull request as ready for review July 5, 2026 00:46
@vreshch vreshch merged commit bcb44cb into master Jul 5, 2026
1 check passed
@vreshch vreshch deleted the feature/health-endpoint branch July 5, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant