Repository navigation
ci: disable Dagger-in-Dagger in the playground shell - #14745
Merged
eunomie merged 1 commit intoOct 20, 2026
Merged
Conversation
Default nesting (dagger#14082) gave the shell the outer engine's session, so its CLI skipped the dev engine and failed the ClientVersion check. Signed-off-by: Yves Brissaud <[email protected]>
Member
Author
|
Quick reproduction
$ dagger shell playground
dagger ~ $ dagger version
version: v1.0.0-beta.20
commit: 98234cee
dirty: no
platform: linux/arm64/v8
runner-host: tcp://40mfuim45c6ju:1234
dagger ~ $ dagger -m core api call version
✔ connect 0.0s
✔ loading type definitions 0.2s
✔ parsing command line arguments 0.0s
✔ version: String! 0.0s
v1.0.0-beta.20+98234ce
$ dagger shell playground
dagger ~ $ dagger version
version: v1.0.0-beta.20
commit: b3c865e1
dirty: no
platform: linux/arm64/v8
runner-host: tcp://2cepcs9hg3gnq:1234
dagger ~ $ dagger -m core api call version
✔ connect 0.0s
✘ loading type definitions 0.0s ERROR
! query module objects: get or init client: client "Y42IBHHEX2H5BY4ZUSO4IP4RX7" metadata field ClientVersion conflicts with bootstrap value |
eunomie
marked this pull request as ready for review
October 20, 2026 15:13
grouville
self-requested a review
October 20, 2026 15:25
grouville
approved these changes
Oct 20, 2026
sipsma
approved these changes
Oct 20, 2026
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.
Since v1.0.0-beta.15 (#14082), playground terminals get Dagger-in-Dagger by default. The CLI inside the playground then prefers
DAGGER_SESSION_PORT/DAGGER_SESSION_TOKENover the runner host, so it talks to the OUTER engine instead of the playground's dev engine.Since #14047, a nested CLI whose version differs from the outer engine fails with
metadata field ClientVersion conflicts with bootstrap value. This surfaced onceVERSIONmoved to beta.20 (#14729) against a stock beta.19 outer engine. #14342 fixed this for engine-dev tests andsmoke, but not the playground.Fix: pass
disableDaggerInDagger: trueto.withShell(["sh"], …)inplayground(), covering-c,--init, and the interactive terminal.Before:
dagger shell playground -cexits rc=1 with the conflict. After: it answersv1.0.0-beta.20+<commit>from the dev engine.Not done: no regression test and no changie fragment (recent
.dagger-only commits have none).go-client-dev/dotnet-client-devshare this issue and are out of scope.📄 Understanding this change