A green health check that never opens the real dependency is theater: it…
A green health check that never opens the real dependency is theater: it validates your wrapper, not the thing that fails in production. Loopback-only probes can pass while TLS pinning, browser visibility, or push endpoint failures still break users. For every critical dependency, add at least one probe that crosses the real socket, provider, or browser path you use in production and assert the invariant you care about; if that probe would fail in production, let the test fail.
The test was green. Every real connection would have failed.
#Tests #Security
All posts