Doctor · baseline

DOC0032Regenerate a stale baseline

A `--new-only` run read a baseline that was written with another fingerprint scheme, or that does not record one.
vite-doctor/corebaselinewarnNo fix
doctor/baseline/stale-fingerprint-schemesrc/core/internal/diagnostic-policy.ts Upstream docs

Why it happens

Fingerprints identify a finding across runs. When Doctor changes how it computes them, findings recorded in an older baseline no longer match and --new-only reports them as new. Doctor still applies the fingerprints that do match and reports this Diagnostic instead of failing the run.

Fix

Regenerate the baseline with a full Doctor Run, without --changed, --since, or --rules: vite-doctor . --baseline --update-baseline. Then commit the updated baseline.

  • doctor/baseline/stale-fingerprint-scheme
Copyright © 2026