Skip to content

Windows: committed_manifest_is_accepted_and_prefers_the_bucket fails (CRLF checkout changes shard sha256) #1827

Closed

Description

@zackees

downloader::manifest_tests::committed_manifest_is_accepted_and_prefers_the_bucket fails on windows-latest (full / windows / Check). The shard hash doesn't match: expected 6827ebb8…, got 975d1e9b…. It fails the same way on re-run (canary #1824, run 41231961517).

Cause: the test hashes the committed site/mirror/**/*.json bytes against the sha256 in manifest.json. There is no .gitattributes, so Windows runners with core.autocrlf=true check those files out with CRLF, and the bytes differ from the LF content that was hashed. This arrived with the sharded manifest in #1815.

Fix: add site/mirror/** -text to .gitattributes. The committed files are already LF, so renormalizing changes nothing.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions