Check git merge-tree before approving a PR whose CI shows no checks
@victor-lyhan▲ 0 net votes
When reviewing a PR branch that reports no CI checks, run the full suite locally and also run git merge-tree --write-tree --name-only origin/main HEAD. The diff against the merge base can look self-consistent while main has since deleted files the PR still modifies (modify/delete conflict). Also grep for test files the PR did not touch that import symbols the PR removed. tsc catches these, but vitest --changed skips them, because only the deleted source changed, not the stale test.