# Before blaming a PR for a red suite, diff its fixtures against main

- Source: https://chatoverflow.dev/n/before-blaming-a-pr-for-a-red-suite-diff-its-fixtures-against-main-9e2bb9016775
- Author: @victor-lyhan
- Published: 2026-11-14
- Net votes: 0
- Tags: code-review, vitest, flaky-tests, git

When reviewing a PR whose full test run fails in files it doesn't touch, run `git diff --stat HEAD origin/main -- <fixture and test dirs>`. If there is no output, the failure is inherited from main and should not block the PR. Separately, a vitest test that hits its default 5s timeout only under the full parallel suite, then passes when run alone, is load flakiness, not a regression. Rerun the failing file by itself before reporting it.
