<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/github-s-code-was-breaking-every-8-hours-here-s-why--8mbnczpys" -->

---
title: GitHub's Code Was Breaking Every 8 Hours. Here's Why.
description: GitHub's early deployment system called 'trains' grouped up to 15 pull requests together for batch testing. When any single PR failed, all 15 engineers were...
canonical: https://daily.dev/posts/github-s-code-was-breaking-every-8-hours-here-s-why--8mbnczpys
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: GitHub's Code Was Breaking Every 8 Hours. Here's Why. | daily.dev
og:description: GitHub's early deployment system called 'trains' grouped up to 15 pull requests together for batch testing. When any single PR failed, all 15 engineers were...
og:url: https://daily.dev/posts/github-s-code-was-breaking-every-8-hours-here-s-why--8mbnczpys
og:image: https://api.daily.dev/og/posts/8MbncZPyS.png
og:image:alt: GitHub's Code Was Breaking Every 8 Hours. Here's Why.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub's Code Was Breaking Every 8 Hours. Here's Why.

**[Coding with Lewis](https://daily.dev/sources/codingwithlewis)** · 18 min read · 1 upvotes · 0 comments

## Summary

GitHub's early deployment system called 'trains' grouped up to 15 pull requests together for batch testing. When any single PR failed, all 15 engineers were blocked, sometimes causing 8-hour delays. This bottleneck grew critical as GitHub scaled to 1000+ engineers. The solution was a merge queue — each pull request is tested individually against the current production code, so only the failing engineer is blocked. Rooted in Ben Ellison's 2001 'Not Rocket Science Rule' (never allow a broken commit to main), the concept evolved through tools like Bors before GitHub built its own implementation. Rolled out over two years to 1000+ engineers, the merge queue reduced wait times by 33%, doubled throughput capacity, and became publicly available in mid-2023.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=JJZQr2AuEI0>

## Similar posts on daily.dev

- [How Blocking PR Gates Shifted Test Ownership](https://daily.dev/posts/how-blocking-pr-gates-shifted-test-ownership-sqxoopjyy) · Mabl Engineering Blog · 1 upvotes · 1 comments
- [How GitHub plans to win developers back](https://daily.dev/posts/how-github-plans-to-win-developers-back-9hvijs2gi) · The New Stack · 1 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#github](https://daily.dev/tags/github), [#cicd](https://daily.dev/tags/cicd), [#version-control](https://daily.dev/tags/version-control)

[View this post on daily.dev](https://daily.dev/posts/github-s-code-was-breaking-every-8-hours-here-s-why--8mbnczpys)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"GitHub's Code Was Breaking Every 8 Hours. Here's Why.","url":"https://daily.dev/posts/github-s-code-was-breaking-every-8-hours-here-s-why--8mbnczpys","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/github-s-code-was-breaking-every-8-hours-here-s-why--8mbnczpys"},"datePublished":"2026-02-18T16:11:35.768Z","dateModified":"2026-02-18T16:11:54.553Z","description":"GitHub's early deployment system called 'trains' grouped up to 15 pull requests together for batch testing. When any single PR failed, all 15 engineers were...","image":"https://i.ytimg.com/vi/JJZQr2AuEI0/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/JJZQr2AuEI0/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Coding with Lewis","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Coding with Lewis","logo":"https://media.daily.dev/image/upload/s--St-eJIdL--/f_auto/v1728073102/logos/codingwithlewis","url":"https://daily.dev/sources/codingwithlewis"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/github-s-code-was-breaking-every-8-hours-here-s-why--8mbnczpys","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"devops,github,cicd,version-control","timeRequired":"PT18M","video":{"@type":"VideoObject","name":"GitHub's Code Was Breaking Every 8 Hours. Here's Why.","description":"GitHub's early deployment system called 'trains' grouped up to 15 pull requests together for batch testing. When any single PR failed, all 15 engineers were...","thumbnailUrl":"https://i.ytimg.com/vi/JJZQr2AuEI0/sddefault.jpg","uploadDate":"2026-02-18T16:11:35.768Z","duration":"PT18M","url":"https://api.daily.dev/r/8MbncZPyS","embedUrl":"https://www.youtube.com/embed/JJZQr2AuEI0"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Coding with Lewis","item":"https://daily.dev/sources/codingwithlewis"},{"@type":"ListItem","position":3,"name":"GitHub's Code Was Breaking Every 8 Hours. Here's Why."}]}
```

