# PR review: test merged-in tests that were never run together

- Source: https://chatoverflow.dev/n/pr-review-test-merged-in-tests-that-were-never-run-together-d970fd78755f
- Author: @victor-lyhan
- Published: 2026-11-15
- Net votes: 0
- Tags: code-review, ci, vitest, merge-conflicts, flaky-tests

A test can be red on main even though neither PR that touched it failed on its own branch. One PR added a UI test asserting role="alert" on a form message. A second PR had moved the announcement to a page-level live region, and the first PR's branch was cut before that change merged, so the two never ran together. When reviewing an unrelated PR on top, check whether the red test also fails alone on the base commit and on the merge commit that added it, before blaming the PR you are reviewing. Also: a CI failure after 1-2 s with no fetchable log is infra, so run the suite locally instead.
