<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/real-data-breaks-ci-migrations-mutation-testing-exposes-fake-coverage-pr2mokiga" -->

---
title: Real data breaks CI migrations, mutation testing exposes...
description: This week's posts keep circling back to the same problem: green checkmarks that lie. A Postgres migration passed CI six times but broke five out of six times...
canonical: https://daily.dev/posts/real-data-breaks-ci-migrations-mutation-testing-exposes-fake-coverage-pr2mokiga
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Real data breaks CI migrations, mutation testing exposes fake coverage | daily.dev
og:description: This week's posts keep circling back to the same problem: green checkmarks that lie. A Postgres migration passed CI six times but broke five out of six times...
og:url: https://daily.dev/posts/real-data-breaks-ci-migrations-mutation-testing-exposes-fake-coverage-pr2mokiga
og:image: https://api.daily.dev/og/posts/Pr2mOkiga.png
og:image:alt: Real data breaks CI migrations, mutation testing exposes fake coverage
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.

# Real data breaks CI migrations, mutation testing exposes fake coverage

**[Testing Digest](https://daily.dev/sources/testing_digest)** · 4 min read · 0 upvotes · 0 comments

## Summary

This week's posts keep circling back to the same problem: green checkmarks that lie. A Postgres migration passed CI six times but broke five out of six times against a realistic production copy, silently deleting two million rows in one case. Separate mutation-testing efforts, one by hand across infrastructure repos and one by Antithesis against a distributed database, found tests that structurally cannot fail no matter what breaks. Meanwhile Linear and Legora both published concrete numbers on taming CI as AI-generated PRs pile up.

## Content

**TLDR:** This week's posts keep circling back to the same problem: green checkmarks that lie. A Postgres migration passed CI six times but broke five out of six times against a realistic production copy, silently deleting two million rows in one case. Separate mutation-testing efforts, one by hand across infrastructure repos and one by Antithesis against a distributed database, found tests that structurally cannot fail no matter what breaks. Meanwhile Linear and Legora both published concrete numbers on taming CI as AI-generated PRs pile up.

---

## A Neon branch of production catches five migration bugs that CI missed

Six Postgres migrations passed CI cleanly against a 200-row schema-only fixture. Rehearsed on a Neon copy-on-write branch of a 453 MB production database under live traffic, five of six failed: two broke on real data (duplicate emails, NULL phones), two caused multi-second stalls from table locks, and one silently deleted over 2 million orders from a missing WHERE clause. The writeup includes a GitHub Actions workflow that rehearses migrations against a production branch on every pull request. [Read more](https://daily.dev/posts/rV9QKp35Q)

## Mutation testing finds tests that can never fail, in infrastructure code and in a distributed database

One engineer hand-planted 153 bugs across fifteen public Terraform, PowerShell, and CI repos and found four tests structurally incapable of failing, including one that only proved a guarantee PowerShell already gives you. Antithesis ran a similar exercise against rqlite, injecting 19 mutants across 46 test runs and falsifying 11 of 13 inferred safety properties, surfacing three real upstream bugs along the way. Both pieces land on the same point: a green CI badge and code coverage tell you almost nothing about whether your tests can catch a real regression. [Read more](https://daily.dev/feed-by-ids?id=lAUKO4HjK&id=jgrqpY3Fl)

## Linear and Legora both cut CI overhead as AI-generated PR volume grows

Linear cut PR wait times from over 6 minutes to just over 5 while nearly quadrupling its test suite, mostly by ditching GitHub Actions for faster runners, switching to tsgo, and reworking Vitest sharding (disabling test isolation alone saved about 17% monthly). Legora's three-person platform team replaced a hand-maintained GitHub Actions matrix with Nx Cloud's dynamic task-to-agent assignment, taking sandbox violations from 811 down to zero and cache hit rate from ~50% to 73% in six weeks. Both are worth reading if your CI bill is climbing faster than your headcount. [Read more](https://daily.dev/feed-by-ids?id=XAQ5PlQ9R&id=Di7fdvH3U)

## Real end-to-end runs keep finding what 1,800 unit tests miss

A Laravel plugin author found 14 bugs in a new release only after running the real app end-to-end with HTTPS webhooks, a live queue worker, and MySQL, despite an in-memory test suite of about 1,800 passing tests. The recurring failure mode was silent success: the system reported completion while doing nothing, including an unauthenticated webhook that looked HMAC-signed and a cache index quietly lost on deploy. The fixes shipped in v1.8.0, alongside a new practice of running a full end-to-end pass before every release. [Read more](https://daily.dev/posts/4V0Lrf4Qj)

---

## Also notable

- **vitest-gpu and jest-gpu bring real WebGPU/WebGL into Node test runs:** Using the same ANGLE and Dawn backends as Chrome, the new test environments avoid launching headless Chrome for graphics testing and dropped one Three.js CI shard from ~15 minutes to under 6. [Read more](https://daily.dev/posts/B2UWGTqMV)
- **Node 24 built-ins now cover a dozen common npm packages:** node:sqlite, node:test, global fetch(), util.parseArgs(), and others now replace better-sqlite3, Jest/Mocha, axios, and yargs, though each has a specific gap (fetch() doesn't throw on 4xx/5xx, node --watch can't watch arbitrary files on Linux); Node 20 hits end of life April 30, 2026, and Node 26 becomes LTS October 28, 2026. [Read more](https://daily.dev/posts/b1hKH3y4p)
- **AST-based test slicing cuts CI duration 81% for agent-generated PRs:** A ts-morph-based change-impact CLI paired with a speculative test-slicing GitHub Actions workflow reduced CI duration and runner cost by 81% on a 500-file monorepo. [Read more](https://daily.dev/posts/MQIYGoiJk)
- **An N+1 query detector found real bugs by exposing how existing detection silently disables itself:** query-guard, a new PHPUnit extension, found that a popular existing package passes even on obvious N+1 patterns because its duplicate-query matching fails on differing bind values and its PostgreSQL plan analysis silently no-ops.

## Similar posts on daily.dev

- [How Mutation Testing Exposes the Truth \(PHP 2026 Edition\)](https://daily.dev/posts/how-mutation-testing-exposes-the-truth-php-2026-edition--qjofaye9n) · CodeCraft Diary · 0 upvotes · 0 comments
- [Why Cloud-Native Software Testing Requires Rethinking What a Passing Test Actually Means](https://daily.dev/posts/why-cloud-native-software-testing-requires-rethinking-what-a-passing-test-actually-means-yui7y8pjp) · Cloud Native Now · 0 upvotes · 0 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#database](https://daily.dev/tags/database), [#cicd](https://daily.dev/tags/cicd), [#postgresql](https://daily.dev/tags/postgresql), [#mutation-testing](https://daily.dev/tags/mutation-testing)

[View this post on daily.dev](https://daily.dev/posts/real-data-breaks-ci-migrations-mutation-testing-exposes-fake-coverage-pr2mokiga)

```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":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/real-data-breaks-ci-migrations-mutation-testing-exposes-fake-coverage-pr2mokiga","headline":"Real data breaks CI migrations, mutation testing exposes fake coverage","text":"This week's posts keep circling back to the same problem: green checkmarks that lie. A Postgres migration passed CI six times but broke five out of six times against a realistic production copy, silently deleting two million rows in one case. Separate mutation-testing efforts, one by hand across infrastructure repos and one by Antithesis against a distributed database, found tests that structurally cannot fail no matter what breaks. Meanwhile Linear and Legora both published concrete numbers on taming CI as AI-generated PRs pile up.","url":"https://daily.dev/posts/real-data-breaks-ci-migrations-mutation-testing-exposes-fake-coverage-pr2mokiga","datePublished":"2026-09-28T04:18:08.780Z","dateModified":"2026-09-28T04:18:31.358Z","author":{"@type":"Organization","name":"Testing Digest","logo":"https://media.daily.dev/image/upload/s--1rQKIOqD--/f_auto,q_auto/v1773839410/logos/testing_digest?_a=BAMAMiiu0","url":"https://daily.dev/sources/testing_digest"},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/testing_digest","name":"Testing Digest"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Testing Digest","item":"https://daily.dev/sources/testing_digest"},{"@type":"ListItem","position":3,"name":"Real data breaks CI migrations, mutation testing exposes fake coverage"}]}
```

