You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(analysis): git_candidate_execution materialization tests fail on clones with core.autocrlf=true #3541
The tests commit LF content, materialize the candidate tree through git (subject/resolve → checkout machinery), then read the materialized file with std::fs::read_to_string expecting LF. With core.autocrlf=true, git's checkout filters rewrite the bytes to CRLF during materialization, so the read-back differs.
Why it matters beyond the tests
Materialized candidate bytes feed evidence extraction; on autocrlf-enabled checkouts the materialized bytes differ from the committed blobs. If evidence should be filter-independent (identity anchored to the git object, not the checkout), reading through git cat-file (bypasses filters) instead of the materialized working-tree file would make the analysis host-config-honest — the same family as the probe-path normalization and seam-cache host-honest fixes.
Reproduction
git config core.autocrlf true && cargo test -p ripr --lib git_candidate_execution on Windows → 3 failures; with false, all pass. Linux CI is unaffected (run history green on main).
Non-claims
No claim that production evidence is currently wrong on Linux CI or for autocrlf=false checkouts; no claim about which fix (test normalization vs git cat-file reads) the maintainers prefer.
PR #3548 addresses this exact failure: candidate materialization now invokes git archive with core.autocrlf=false, and Windows candidate-execution tests compare extracted bytes with git show candidate blobs. Focused proof passes 10/10, plus fmt, clippy, and diff checks. Keeping this issue open until #3548 completes hosted proof and merges.
In-flight repair: #3548 (force git archive materialization to disable core.autocrlf so candidate-tree bytes remain exact on Windows; tests compare extracted bytes with git show candidate blobs). Its required check was green at its head on 2026-08-29. This issue should close when that lands.
Closing: PR #3548 merged at d42e158, and that merge commit is an ancestor of current main. The core.autocrlf candidate-materialization repair is therefore landed; no remaining issue work is recorded here.
Activity
EffortlessSteven commentedon Aug 29, 2026
PR #3548 addresses this exact failure: candidate materialization now invokes git archive with core.autocrlf=false, and Windows candidate-execution tests compare extracted bytes with git show candidate blobs. Focused proof passes 10/10, plus fmt, clippy, and diff checks. Keeping this issue open until #3548 completes hosted proof and merges.
EffortlessSteven commentedon Aug 29, 2026
In-flight repair: #3548 (force git archive materialization to disable core.autocrlf so candidate-tree bytes remain exact on Windows; tests compare extracted bytes with git show candidate blobs). Its required check was green at its head on 2026-08-29. This issue should close when that lands.
EffortlessSteven commentedon Aug 29, 2026
Closing: PR #3548 merged at d42e158, and that merge commit is an ancestor of current main. The core.autocrlf candidate-materialization repair is therefore landed; no remaining issue work is recorded here.