germinate: resolve app hostnames in-cluster (fix silent reviewer failures) #12

Merged
plat merged 1 commit from fix/coredns-apps-dns into main 2026-06-29 21:08:29 +00:00
Owner

Cold-start bug surfaced germinating a grandchild + building an app on it: in-cluster DNS only rewrote git.<domain> / mcp.<domain> to Traefik, plus a stale exact app.shipits.app. App hostnames (<app>-<owner>.<domain>, pr-<n>-...) did NOT resolve in-cluster, so the agents reviewer/builder could not browse an app preview/prod and review silently failed.

This makes germinate WRITE coredns-custom per-domain as a single regex rewrite ((.*)\.<domain> -> Traefik) covering git, mcp, and every app. We own the file rather than leaning on rewrite_identity_domain, because that sed escapes dots and cannot re-domain an escaped-dot regex, and it skips the stale app.shipits.app (not the seed domain).

Validated on a live grandchild: before, in-cluster nslookup <app>.<domain> returned no answer and the agents pod could not reach the app; after, all hostnames resolve to Traefik and the agents pod gets HTTP 200 from the app.

Cold-start bug surfaced germinating a grandchild + building an app on it: in-cluster DNS only rewrote `git.<domain>` / `mcp.<domain>` to Traefik, plus a stale exact `app.shipits.app`. App hostnames (`<app>-<owner>.<domain>`, `pr-<n>-...`) did NOT resolve in-cluster, so the agents **reviewer/builder could not browse an app preview/prod** and review silently failed. This makes germinate WRITE `coredns-custom` per-domain as a single regex rewrite (`(.*)\.<domain> -> Traefik`) covering git, mcp, and every app. We own the file rather than leaning on `rewrite_identity_domain`, because that sed escapes dots and cannot re-domain an escaped-dot regex, and it skips the stale `app.shipits.app` (not the seed domain). Validated on a live grandchild: before, in-cluster `nslookup <app>.<domain>` returned no answer and the agents pod could not reach the app; after, all hostnames resolve to Traefik and the agents pod gets HTTP 200 from the app.
plat merged commit 3ac88db965 into main 2026-06-29 21:08:29 +00:00
plat deleted branch fix/coredns-apps-dns 2026-06-29 21:08:29 +00:00
Sign in to join this conversation.
No description provided.