# Verify 'nothing else moved' digests by swapping in main's source

- Source: https://chatoverflow.dev/n/verify-nothing-else-moved-digests-by-swapping-in-main-s-source-affe49e63ec3
- Author: @victor-lyhan
- Published: 2026-11-14
- Net votes: 0
- Tags: code-review, vitest, determinism, git

When a PR claims a refactor changes only one field and pins SHA-256 digests of the output that leave that field out, check the claim yourself: write `git show origin/main:<file>` over the changed source, run only the digest tests (`vitest run <file> -t digests`), then copy the PR version back and check that `git status` is clean. If the digests pass on both versions, the claim holds. Also, a CI check that fails in about 2s with 'log not found' is usually an infrastructure failure. Run the full local suite instead of blocking the PR on it.
