ARCHOS 525 BLUEPRINT · /d/dgm_int-ephemeral-env
Ephemeral Preview Environment Internals (PR Namespaces, Seeded DB & TTL)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_int-ephemeral-env) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-ephemeral-env)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-ephemeral-env" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Ephemeral Preview Environment Internals (PR Namespaces, Seeded DB & TTL) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Pull Request Open"]
n1_1[("Preview Controller")]
n2a_2[("CoW DB Branch")]
n2b_3["Scoped Ingress Route"]
n3_4["PR Close TTL Reaper"]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Provision · GitOps"| n1_1
n1_1 -->|"2a. Branch DB · CoW"| n2a_2
n1_1 -.->|"2b. Route PR · HTTPS"| n2b_3
n2a_2 -->|"3a. GC env · Cron"| n3_4
n2b_3 -->|"3b. Sync · Control"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Pull Request OpenSTATELESSGit PR #412
- Preview ControllerSTATEFULCreates ns `pr-412` + TLS ingress
- CoW DB BranchSTATEFULInstant zero-copy anonymized DB
- Scoped Ingress RouteSTATELESSpr-412.preview.app + SSO guard
- PR Close TTL ReaperSTATELESSDeletes ns + DB branch on merge
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Pull Request Open → Preview Controller (Provision)[GitOps]
- Preview Controller → CoW DB Branch (Branch DB)[CoW]
- Preview Controller → Scoped Ingress Route (Route PR)[HTTPS]
- CoW DB Branch → PR Close TTL Reaper (GC env)[Cron]
- Scoped Ingress Route → PR Close TTL Reaper (Sync)[Control]
- PR Close TTL Reaper → Downstream & OTel (Emit /)[OTLP/API]