fix(scan): preserve snapshot digest for diff scans - #373
Conversation
|
After a broader adversarial review, I no longer recommend merging this implementation. This patch derives committed-diff identity only from #241 addresses the same failure with the stronger content-bound design and the related revalidation cases. Please treat #373 as superseded by #241. |
|
After comparing this patch against #241 and its review coverage, I’m withdrawing this PR in favor of #241. This change fixes the immediate missing |
|
Superseded by #449, which binds saved manifests to the actual streamed Git diff and detects replacement-object changes while preserving completed scan artifacts. Thank you for identifying the committed-diff finalization failure. |
Fixes #299.
Preserve the canonical snapshot digest for diff scans so generated
git_diffmanifests satisfy the scan contract for working-tree, single-commit, and revision-range targets.Tests:
bun test tests-ts/compact-diff-scan.test.ts