← worklog

2026-08-15

Finding broken CI network dependencies before they break a pipeline

GoGCPNetworkingObservabilityCI/CD

The problem

Moving shared CI runners onto a new network path meant every internal service those pipelines called — identity providers, artifact registries, internal APIs, scanning tools — needed the new egress range allowlisted by whoever owned that service. Nobody had a full list of what pipelines actually depended on network-wise. Teams found out only when a build failed with an opaque connection or TLS error, then had to reverse-engineer which service rejected them and who owned it.

What I built

  • Discovery from real traffic: queries the runners' own access logs for domains pipelines actually tried to reach over a configurable window, and adds new ones automatically — the dependency list builds itself instead of relying on teams to self-report it.
  • Real reachability checks: DNS resolution, TCP reachability, then an actual HTTPS request per endpoint, classified into: fully accessible; reachable but rejected at the TLS/HTTP layer (needs an allowlist update); unreachable (needs a network-level fix); or needs an alternate internet-routable path.
  • Regression detection: flags when something that was working stops working, catching a silently tightened firewall rule before it takes down a pipeline instead of after.
  • Named ownership per failure: doesn't just report "broken" — states exactly who needs to act and what to do about it.
  • Self-service status report: published so any team can check whether a known issue affects them without filing a ticket.

Result

Teams no longer discover this class of problem by having a build fail and guessing at the cause. It's caught automatically from real traffic, continuously verified, and reported with a named owner and next action — before it silently breaks a pipeline.