Skip to content

chore: refresh the workspace lock on a current engine - #51

Merged
TomChv merged 1 commit into
mainfrom
chore/refresh-workspace-lock
Sep 14, 2026
Merged

TomChv merged 1 commit into
mainfrom
chore/refresh-workspace-lock

Conversation

@TomChv

@TomChv TomChv commented Sep 14, 2026

Copy link
Copy Markdown
Member

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.

Reproduce on a clean checkout of main:

$ dagger --x-release=v1.0.0-beta.13 -m . functions
$ git diff --stat dagger.lock
 dagger.lock | 21 ++++-----------------

What changes

format 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 v1.0.1 → v1.0.4 (d2780115 → 6c883f65)
engine-build pins twelve entries disappear: the dagger/dagger main ref, runc, sshfs, containernetworking/plugins, and the busybox / alpine / golang / node / deno / xx images
whitespace no trailing newline

The 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 main is no longer frozen at adf3da88, and engine-e-2-e builds its playground from whatever main resolves to at the time.

If that is not wanted, this PR should wait until the SDK's targetEngineVersion moves off beta.11, so the lock and the engine it targets agree.

Checks

dagger check engine-e-2-e:checks-check passes 59/59 with this lock on beta.13. It has not been run against an engine that predates the new format.

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]>
@TomChv
TomChv merged commit d1f5330 into main Sep 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant