ExitDependency Pinning vs. Reproducible Builds1 / 7
Explanation

A fixed selection is not a fixed output

Why fixing dependency selections does not guarantee byte-identical artifacts when other build inputs and nondeterministic behavior remain uncontrolled. · advanced

Dependency pinning constrains which external components a build selects. Reproducibility constrains the result: independent builds using the same source and declared build inputs produce byte-identical artifacts. These are different claims about different parts of the build.

A locked dependency graph fixes package selections; a base-image digest identifies fixed image content. But artifact bytes also depend on source, build instructions, environment, and execution behavior. Even granting perfect pinning—including toolchains and verified dependency contents—the same compiler and libraries can produce different bytes when a build embeds its execution time.

Pinning therefore removes one source of variation; it does not prove that all variation has been removed. Matching tests or application behavior is also weaker than byte equality: two archives can contain equivalent programs while differing in metadata.

DimensionDependency pinningReproducible builds
Primary claimFixed dependency selectionsByte-identical outputs
Supporting evidenceEnforced dependency recordsIndependent output comparison
Remaining concernOther build variationScope of verified equality