~/talk

How Git Clone Took Down Our CI for 20 Days

links:none on file
slides:none on file

CI across ~1,800 repos stops for 20 days after 112,000 daily runs trigger 401s; investigation parses 17,863,537 log records and tcpdumps to prove Git’s HTTP client sends an initial unauthenticated request, causing mass bans. Fixes include upgrading Git and enabling proactive auth, adding a Go module proxy, disabling GKE SNAT for pod IP tracing, and publishing golden images for 175 custom Dockerfiles; the combined changes eliminate the outage.

AI-written summary · about

  1. 0:00Introduction to the incident
  2. 1:02Scale of the CI outage
  3. 2:47Suspecting NAT port exhaustion
  4. 3:51Discovering 401 errors in logs
  5. 5:13Intercepting traffic with MITM proxy
  6. 6:17Git’s unauthenticated request behavior
  7. 7:42Identifying Git versions in runners
  8. 8:45Enabling proactive auth in Git
  9. 9:46Rolling out 979 PRs overnight
  10. 11:31Finding custom Docker workflows
  11. 13:18Patching Docker images via registry
  12. 14:44Quarantining the problematic repo
  13. 15:47Disabling GKE SNAT masquerading
  14. 17:12Analyzing 404 and 429 spikes
  15. 18:56Pinpointing Mockgen in Pandora’s Box
  16. 20:47Fixing Mockgen with protoc
  17. 21:54Summary of solutions and fixes
  18. 24:20Q&A session begins
  19. 25:42Discussion on Docker image maintenance
  20. 27:26Automating PRs with Sourcegraph
  21. 29:32Cost of refactoring vs downtime
  22. 30:55Performance impact of fewer images
  23. 33:00Tracking incident learnings long-term
  24. 34:25Introducing the Golden Path framework
  25. 37:04Git proxy and module resolution
  26. 37:46Incident management tools used
  27. 38:50External impact on deployments
  28. 39:13Reason for older Git version
  29. 40:17Simplifying the software stack
  30. 41:42Most important lesson learned
  31. 44:32Private network mirroring strategy
  32. 46:16Managing Pandora’s Box repository
  33. 47:39Closing remarks and thanks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.