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.
| Dimension | Dependency pinning | Reproducible builds |
|---|---|---|
| Primary claim | Fixed dependency selections | Byte-identical outputs |
| Supporting evidence | Enforced dependency records | Independent output comparison |
| Remaining concern | Other build variation | Scope of verified equality |