Repository navigation
fix(go): drop codegen and client dependencies on migration - #71
Merged
Merged
Conversation
Refusing them blocked moving a Go runtime module to the entrypoint, which reads neither; a dependency that no scope client provides is still refused. Signed-off-by: Yves Brissaud <[email protected]>
eunomie
added a commit
to eunomie/dagger
that referenced
this pull request
Oct 20, 2026
dagger/go-sdk#71 drops [codegen] and the [[dependencies]] that scope clients provide when a module moves to the Dang entrypoint. Signed-off-by: Yves Brissaud <[email protected]>
eunomie
added a commit
to eunomie/dagger
that referenced
this pull request
Oct 21, 2026
dagger/go-sdk#71 drops [codegen] and the [[dependencies]] that scope clients provide when a module moves to the Dang entrypoint. Signed-off-by: Yves Brissaud <[email protected]>
eunomie
added a commit
to eunomie/dagger
that referenced
this pull request
Oct 22, 2026
dagger/go-sdk#71 drops [codegen] and the [[dependencies]] that scope clients provide when a module moves to the Dang entrypoint. Signed-off-by: Yves Brissaud <[email protected]>
eunomie
added a commit
to eunomie/dagger
that referenced
this pull request
Oct 22, 2026
dagger/go-sdk#71 drops [codegen] and the [[dependencies]] that scope clients provide when a module moves to the Dang entrypoint. Signed-off-by: Yves Brissaud <[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.
Migrating a module like dagger/dagger's
goto the entrypoint form failed withdagger-module.toml has settings a Dang entrypoint cannot carry (codegen, dependencies), so the author had to delete them by hand first.[codegen]has one key,automaticGitignore, read only by the engine's runtime codegen. The entrypoint never reads it, so migration drops it.[[dependencies]]are written by the legacy generator from the scope'sclients. Migration drops a dependency a scope client provides (matched by name, or by source for nameless entries and baredagger.jsonstrings). Any other one is refused by name: add it to the scope'sclients.dagger.jsonmixing strings and objects.Tests: e2e
manifest-dependencies-check(covered dependency migrates; uncovered,pin-only,[""]and mixed lists refused) plus the include, refusal and family checks. With #70, thegomodule generates cleanly.Not covered: a bare source matched by a client; the e2e fixture cannot build one.