You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In main (1.0) we rely on dagger.lock to pin module dependencies (as opposed to legacy dagger.json which had inline pins).
The situation:
1. Dagger CLI defaults to --lock=disabled which means: no using of the lockfile whatsoever. So. no dependencies are pinned. This is already implemented as is
2. Even if typing 'dagger --lock=pinned', only dependencies on a git tag will be pinned. Dependencies on modules on a branch (typically main) are tracked as floating, and will not be pinned.
Solution
1. Change default to --lock=pinned ( #13245 ). Already implemented.
2. First-class support for "fetch latest version" primitive, always tracked as pinned even if it falls back to a branch (#13464 )
Activity
marcosnils commentedon Sep 22, 2026
waiting on a bug fix @eunomie is working on.