Optimize

Dependency pinning

Dependency pinning fixes the exact version of every dependency (and transitively, every transitive dependency) so the same source produces the same build artifact regardless of when or where it's built. Without pinning, a 'patch upgrade' in a transitive dependency can change behavior between builds run hours apart.

Updated

Pinning has two levels: declared dependencies (your package.json or requirements.txt) and transitive dependencies (everything declared dependencies depend on). Declared-only pinning is partial. A transitive can still float to a new patch version. Full pinning requires a lockfile (package-lock.json, yarn.lock, poetry.lock, Gemfile.lock) that records the exact tree. The tradeoffs: pinning produces reproducibility at the cost of explicit upgrade work; automated tools (Dependabot, Renovate) reopen the upgrade flow on a controlled cadence. The combination, full pinning plus automated upgrade PRs, is the practical reproducibility/maintenance compromise most modern teams adopt.

See the term at work

Stride keeps issues, architecture decisions, tests and delivery data in one workspace, where the terms in this glossary are things you can open.