fix: add dev DB DNS contract

This commit is contained in:
Code Queue Review
2026-05-22 15:32:57 +00:00
parent 01c4e1b533
commit 3049546cfd
19 changed files with 407 additions and 29 deletions
+5
View File
@@ -41,6 +41,11 @@ If both env vars are present, cloud-api attempts a short read-only TCP
connection to the DB endpoint from the injected runtime env. The health payload
keeps all endpoint details redacted and reports only:
The source-controlled DEV DNS contract for that endpoint is
`cloud-api-db.hwlab-dev.svc.cluster.local:5432`. The actual connection string
still comes from `hwlab-cloud-api-dev-db/database-url`; source records only the
non-secret host/service/namespace/port contract.
- `db.configReady`: required env names are present.
- `db.connectionAttempted`: the runtime tried the live connection path.
- `db.connectionResult`: redacted classifier such as `connected`, `refused`,