Non-FictionCrisis ManagementSource Control

Bitbucket Pipelines Outage

Emergency CI/CD when Bitbucket fails, including ma

by Creighton Nam

  • English
  • 127 pages
  • 2026
  • SamEnrico

Emergency CI/CD when Bitbucket fails, including manual builds and fallback deployment.

Formats

About this book

Emergency CI/CD when Bitbucket fails, including manual builds and fallback deployment.

Free sample

Chapter 1: The 227-Minute Collapse--The Tuesday morning of January 21, 2025, began like any other at a mid-sized fintech company we will call "Veridian Payments." At 9:47 AM UTC, Maya Chen, a senior site reliability engineer, watched her monitoring dashboard turn from a calm sea of green to a constellation of amber warning lights. By 9:52 AM, the first pager went off. By 10:03 AM, the entire engineering organization had ground to a halt—not because their code had failed, but because the machine that built and deployed their code had simply vanished.This is the story of those 227 minutes. But more importantly, it is the story of what Maya learned when she discovered that one critical service remained alive while everything else died: Git over SSH. That single observation would change how Veridian Payments approached disaster recovery forever, and it forms the central lesson of this chapter: network separation is not an accident—it is a feature you must deliberately engineer for.1.1 The Anatomy of a Cascading Failure To understand how to survive a cloud CI outage, you must first understand how one happens.

The January 21st incident was not an attack, not a cosmic ray, not an act of sabotage. It was a routine database migration gone wrong—the kind of change that had been executed successfully hundreds of times before.The Trigger: A Flawed Database Index At 09:47 UTC, a Bitbucket engineer deployed a migration intended to optimize the build_queues table. This table is the heart of the Pipelines service: every time a developer pushes code, a webhook fires, and a record lands in this table, awaiting a runner. The migration added an index on a high-traffic column that, in testing, had shown promising performance improvements.But production is not testing. Within minutes, the new index created a locking pattern that the database had never encountered before.

Instead of allowing concurrent writes, the index forced pipeline triggers to queue behind one another—each waiting for a row-level lock to release before the next could proceed.At 10:03 UTC, the write contention began. Thousands of pipeline triggers per second, all fighting for the same few locks.…

This is the end of the free sample. Get the eBook to keep going. Buy now

Read a sample →

Contents

  1. Chapter 1
  2. Chapter 2
  3. Chapter 3
  4. Chapter 4
  5. Chapter 5
  6. Chapter 6
  7. Chapter 7
  8. Chapter 8
  9. Chapter 9
  10. Chapter 10
  11. Chapter 11
  12. Chapter 12

Details

Author
Creighton Nam
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Crisis Management, Source Control
Released
2026-06-10
Pages (approx.)
127
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Creighton Nam

See all

You may also like

See all