Ray's Knowledge Base
Unlock

A pinned archive checksum fails when a dependency's tag now comes from another repository

PitfallVerified 29 Sep 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.

Symptom#

Every wheel job stops at the dependency fetch step with a SHA-256 mismatch for one dependency, right after its source URL moved to another host, with the same tag name (v0.0.8).

Cause#

A tag name is not a commit. The same tag in the new repository (github.com/llnl-asr/cpp-logger) pointed at a different commit (31753df) than in the old internal GitLab, so the archive and its hash differ.

Fix#

Build the archive locally from the new source, check that its hash equals the "actual" hash CI printed, and put that hash in the manifest (dependency/source/manifest.txt in dftracer, commit fa09659); then run the verifier (scripts/wheel/fetch_deps.sh --verify). Confirm the new tag holds the same code as the old one, or pin a commit instead of a tag.

Evidence#

dftracer PR 388 CI: the local archive hash equalled CI's actual hash 234f78f6…483b, and fetch_deps.sh --verify passed for all 5 dependencies. Whether the GitHub v0.0.8 holds the same code as the GitLab tag was not checked.

Also found by searching

  • SHA256 mismatch for cpp-logger v0.0.8 archive expected hash differs from actual
  • dependency download checksum failed after we switched the repo URL from GitLab to GitHub
  • how do I update a pinned archive hash after a dependency moved to a new repository
  • same git tag name points to different commit on new host so tarball checksum changed
  • fetch_deps.sh: SHA256 mismatch for cpp-logger v0.0.8 expected ... actual ... all wheel jobs fail
  • dependency URL moved to a new host with same tag and now the pinned archive hash fails
  • how do I update the pinned checksum in a source manifest after a dependency moved repositories?
  • tag v0.0.8 on github differs from gitlab tag, checksum verification failing in CI, pin a commit hash instead