Bundler contract drift

Vite 8 migration asset hash changed snapshot tests official

A current Vite 8 task fails with: Vite 8 asset hashes changed and snapshot tests fail.

search-observedVite 8JavaScript build toolingBundler contract driftgitdocs_candidate100

Agent Quick Fix

The local workspace gives the symptom and stale integration shape, but the correct repair depends on current official product behavior or recent release notes.

Product: Vite 8
Current-contract area: Vite 8 asset hashes changed and snapshot tests fail
Likely root cause: A current Vite 8 task fails with: Vite 8 asset hashes changed and snapshot tests fail. The local stale integration is plausible but may not reflect the current external contract.
Repair direction: Verifier accepts a repair record only if it states the current contract and an actionable fix using source-backed product terms.

Validation Status

Codex searched organically, but the no-web counterfactual also passed under this fixture. Treat this as search-observed query evidence, not proof that search was necessary.

Symptom

A current Vite 8 task fails with: Vite 8 asset hashes changed and snapshot tests fail. The local stale integration is plausible but may not reflect the current external contract.

Why This Happens

The local workspace gives the symptom and stale integration shape, but the correct repair depends on current official product behavior or recent release notes.

Verification

Verifier accepts a repair record only if it states the current contract and an actionable fix using source-backed product terms.

Common Wrong Fixes

  • Changing local code without checking the current external contract.
  • Retrying the same install, build, or API call with no version/source change.
  • Applying a broad unsafe bypass when a narrow compatibility fix is available.

Codex Search Keywords

These are the search terms observed in a neutral Codex validation run for this failure shape.

Vite 8 migration asset hash changed snapshot tests official
site:vite.dev/guide/migration Vite migration guide
https://vite.dev/guide/migration.html
'hash' in https://vite.dev/guide/migration.html
https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md
https://raw.githubusercontent.com/vitejs/vite/main/packages/vite/CHANGELOG.md
Vite 8 rolldown assetFileNames hash snapshot
https://vite.dev/guide/migration.md
vite.dev/guide/migration.md Vite 8 Rolldown
https://rolldown.rs/reference/config-options#output-assetfilenames
site:rolldown.rs assetFileNames output hash
https://rolldown.rs/
https://rolldown.rs/reference
https://rolldown.rs/reference/OutputOptions.entryFileNames
'rolldownOptions'
https://vite.dev/config/build-options.html

Source Trail

GitHub source file/reference: