Repository navigation
chore: refresh the workspace lock on a current engine - #51
Merged
Merged
Conversation
Loading this module on v1.0.0-beta.13 rewrites dagger.lock, so the committed one
is already stale against any engine newer than the beta.11 it was written for.
Four things change:
- a header comment, and a new shape for `git-latest`: the version constraint
moves into the key rather than trailing the resolved ref
- sdk-helpers moves v1.0.1 -> v1.0.4 (d2780115 -> 6c883f65)
- the twelve engine-build pins disappear — the dagger/dagger main ref, runc,
sshfs, containernetworking/plugins, and the busybox/alpine/golang/node/deno/xx
images
- no trailing newline
The third point is the one to weigh. Those pins were resolved by an older CLI for
the dev-engine build; a newer engine no longer records them here, so the next
build re-resolves them rather than reusing a pinned commit. That is the intended
behaviour of the new lock format, not a loss of information this workspace needs,
but it does mean `dagger/dagger main` is no longer frozen at adf3da88.
Generated by running `dagger --x-release=v1.0.0-beta.13 -m . functions` on a
clean checkout of main, so nothing here depends on other work in flight.
Signed-off-by: Tom Chauveau <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Loading this module on
v1.0.0-beta.13rewritesdagger.lock, so the committed one is already stale against any engine newer than the beta.11 it was written for.Reproduce on a clean checkout of
main:What changes
git-latest— the version constraint moves into the key rather than trailing the resolved refv1.0.1→v1.0.4(d2780115→6c883f65)dagger/daggermain ref, runc, sshfs, containernetworking/plugins, and the busybox / alpine / golang / node / deno / xx imagesThe one to weigh
Dropping the engine-build pins is the part worth a second look. They were resolved by an older CLI for the dev-engine build; a newer engine no longer records them in this file, so the next build re-resolves them rather than reusing a pinned commit.
As far as I can tell that is the intended behaviour of the new lock format rather than information this workspace needs and loses — but it does mean
dagger/dagger mainis no longer frozen atadf3da88, andengine-e-2-ebuilds its playground from whatevermainresolves to at the time.If that is not wanted, this PR should wait until the SDK's
targetEngineVersionmoves off beta.11, so the lock and the engine it targets agree.Checks
dagger check engine-e-2-e:checks-checkpasses 59/59 with this lock on beta.13. It has not been run against an engine that predates the new format.