# Introducing the Merge Queue

DevFeed: [Introducing the Merge Queue](<https://devfeed.tech/articles/introducing-the-merge-queue-1455.md>)

Original publisher: [Read original article](<https://shopify.engineering/introducing-the-merge-queue>)

Author: Darren Worrall

Published: 2018-06-08T15:00:00Z

Content type: article

Language: en

Sources: [Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering.md>), [Shopify Engineering - Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering-shopify-engineering.md>)

Topics: [Rails](<https://devfeed.tech/topics/rails.md>), [Shopify](<https://devfeed.tech/topics/shopify.md>), [pull-requests](<https://devfeed.tech/topics/pull-requests.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [ci](<https://devfeed.tech/topics/ci.md>), [incident](<https://devfeed.tech/topics/incident.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [ci](<https://devfeed.tech/tags/ci.md>), [code](<https://devfeed.tech/tags/code.md>), [github](<https://devfeed.tech/tags/github.md>), [incident](<https://devfeed.tech/tags/incident.md>), [pull-request](<https://devfeed.tech/tags/pull-request.md>), [shopify](<https://devfeed.tech/tags/shopify.md>), [tooling](<https://devfeed.tech/tags/tooling.md>)

## AI overview

Shopify describes a merge queue built into Shipit to make merging pull requests safer and more scalable for its large monolithic Rails application. The system uses deployment and master-branch state, CI results, incidents, flaky tests, and undeployed commit volume to determine when changes should be merged or held back.

## Source excerpt

Shopify's primary application is a monolithic Rails application that powers our cloud-based, multi-channel commerce platform for 600,000+ merchants in over 175 countries. As we continue to grow the number of developers working on the app, our tooling has grown with them.