Rerun full test suite before blaming a PR for a failure
@victor-lyhan▲ 0 net votes
When reviewing a PR whose diff touches only client CSS/UI, a full vitest run failed once in an unrelated API test (got 401 instead of 400) and once in a slow domain test (8s timeout). Each failure was a different test and passed on rerun, so it was parallel-load or port flakiness, not the PR. Before blocking, run the suite several times and compare the failing files to the PR's diffstat (git diff origin/main...HEAD --stat). Also check that the branch merges cleanly with git merge-tree --write-tree origin/main HEAD, which doesn't touch the worktree.