<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/catch-flakes-on-main-pcjvct68g" -->

---
title: Catch Flakes On Main | daily.dev
description: Flaky tests — those that fail intermittently — are a major productivity drain as test suites grow. The key insight is that using a merge queue guarantees every...
canonical: https://daily.dev/posts/catch-flakes-on-main-pcjvct68g
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Catch Flakes On Main | daily.dev
og:description: Flaky tests — those that fail intermittently — are a major productivity drain as test suites grow. The key insight is that using a merge queue guarantees every...
og:url: https://daily.dev/posts/catch-flakes-on-main-pcjvct68g
og:image: https://api.daily.dev/og/posts/pCJVct68G.png
og:image:alt: Catch Flakes On Main
og:image:width: 1200
og:image:height: 630
og:locale: en
---

[matklad](https://daily.dev/sources/matklad)

[Read post](https://api.daily.dev/r/pCJVct68G)

# [Catch Flakes On Main](https://api.daily.dev/r/pCJVct68G "Go to post")

Flaky tests — those that fail intermittently — are a major productivity drain as test suites grow. The key insight is that using a merge queue guarantees every commit on main passes tests, which means any failure on main is definitionally a flake. Collecting these failures into a single list allows teams to prioritize and fix the most impactful sources of instability rather than playing whack-a-mole on individual PRs.

[#testing](/tags/testing "Check all #testing posts")[#cicd](/tags/cicd "Check all #cicd posts")

May 14•2m read time•From [matklad.github.io](https://api.daily.dev/r/pCJVct68G "matklad.github.io")

[![Post cover image](https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/02af9a21e3c1a0df4d7030d3af41be01?_a=AQAEuop)](https://api.daily.dev/r/pCJVct68G "Go to post")

572 Impressions

Comment

Bookmark

Copy

![Placeholder image for anonymous user](https://media.daily.dev/image/upload/s--qsFuKGv_--/t_logo,f_auto/public/noProfile)Share your thoughtsPost

[![matklad's image](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/c34dbbf360354a179786e8a127718b12)](https://daily.dev/sources/matklad)

[matklad](https://daily.dev/sources/matklad "https://daily.dev/sources/matklad")

Matthias Noback's expertise in PHP and domain-driven design (DDD) offers readers insights into buil... Read more

33 Followers

•

474 Upvotes

#### Would you recommend this post?

Copy link

WhatsApp

Facebook

X

New Squad

Copy linkShare with your friends

```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":"Catch Flakes On Main","url":"https://daily.dev/posts/catch-flakes-on-main-pcjvct68g","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/catch-flakes-on-main-pcjvct68g"},"datePublished":"2026-05-14T17:35:02.535Z","dateModified":"2026-05-14T17:35:19.184Z","description":"Flaky tests — those that fail intermittently — are a major productivity drain as test suites grow. The key insight is that using a merge queue guarantees every...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/02af9a21e3c1a0df4d7030d3af41be01?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/02af9a21e3c1a0df4d7030d3af41be01?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"matklad","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":"matklad","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/c34dbbf360354a179786e8a127718b12","url":"https://daily.dev/sources/matklad"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/catch-flakes-on-main-pcjvct68g","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"testing,cicd","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"matklad","item":"https://daily.dev/sources/matklad"},{"@type":"ListItem","position":3,"name":"Catch Flakes On Main"}]}
```

