Files
0pt/docs/compliance/EVIDENCE/health.md
T
admin 3af2ac894e
Deploy to Coolify / deploy (push) Failing after 2s
CI (SIAX Cloud) / quality (push) Successful in 38s
CI (SIAX Cloud) / security (push) Successful in 16s
Security Scan (SIAX Cloud) / security (push) Successful in 15s
docs(compliance): FAS 8 evidence + FAS 10 final report
2026-08-10 04:18:00 +02:00

1.0 KiB

EVIDENCE — FAS 8 · /api/health + dependencies

Live-prober + källanalys 2026-08-10 (VERIFIERAT).

Live (0pt.app, prod-instansen — Vercel)

GET https://0pt.app/api/health  -> 200
{"ok":true,"service":"0pt-web","db":"not_configured","queue":"not_configured","ts":"2026-08-10T01:58:31.043Z"}
GET https://0pt.app/api/0pt     -> 200 (anonymt)   [lucka S1 bekräftad live]
GET https://0pt.app/api/orders  -> 200 (anonymt)   [lucka S3 bekräftad live]

Källkod (app/api/health/route.ts)

Health-svar innehåller db + queue-fält som reflekterar DATABASE_URL / REDIS_URL-närvaro — beroendestatus rapporteras, men ok är alltid true (liveness, ej readiness). Gap D2: en instans utan databas är "grön".

Bygge (next build, lokal — samma som CI)

ƒ Proxy (Middleware)   <- Next 16 bygger middleware.ts korrekt i detta träd

→ S1-hypotesen "middlewaren plockas inte upp av Next 16" försvagas; mer sannolik orsak är Vercel-projektets build-output eller deploymentsversion (ej verifierat). Se BACKLOG P0-1.