
Technology
GitHub Reconnected in 43 Seconds. Its Users Waited a Day.
By Millennial Business Academy
· 3 min read
On October 22, 2018, a developer could get a copy of a project’s code from GitHub and still have trouble finding out what a teammate had done about a bug. The code was available. The issue where the team discussed the bug could show an older version of the conversation. Both belonged to the same project. They lived in different systems. GitHub’s first incident report.
The trouble had started the previous evening at 22:52 UTC. A network connection broke during maintenance and came back 43 seconds later. In the time it takes to read a bug report, GitHub had acquired two different records of what its users had done.
The few seconds worth keeping
GitHub kept copies of its databases in different places. During the break, its systems promoted databases on the US West Coast to take over. The East Coast still held a few seconds of changes that had never made the trip west. Meanwhile, the western databases had begun accepting fresh work. Choosing either coast’s copy as the whole truth would leave somebody’s changes on the other side.
The engineers had a choice about who would bear the cost. They could pursue a quicker return to normal service at the risk of discarding work people had already entrusted to GitHub. Or they could keep parts of the service on hold while they put the records back together. They chose to keep people waiting. GitHub paused delivery of webhooks, the messages other tools depend on to learn that something has happened. It also paused builds for GitHub Pages, where people publish websites from their projects. GitHub’s engineering account of the decision.
What Monday looked like from the queue
For someone maintaining a project website, the distinction was visible in a browser. A correction could be sitting safely in the repository while visitors continued to read the old page. For a team whose software waited for a webhook, silence was harder to interpret. The same quiet could mean that nothing had happened or that GitHub had yet to deliver the news.
By 16:24 UTC on Monday, GitHub counted more than five million webhook events and about 80,000 website builds waiting to be processed. Those figures counted jobs. One person or project could account for many. Even so, each build in that queue represented a version of a website that could not yet reach its readers.
GitHub eventually processed the pending builds and notifications. It recorded 24 hours and 11 minutes of degraded service. Its review also acknowledged a limit of the status page then in use: the company had only green, yellow and red to describe a platform on which different things were happening at once. A maintainer could download the latest code, send a colleague a link to the project website, and discover they were looking at two different versions. Forty-three seconds answered the engineers’ question about the connection. The maintainer had a simpler way to tell when it was over. The correction finally appeared on the page.
- #Software engineering
- #data integrity
- #product management

