Repository navigation
feat(go): build daggerGo modules with dagger/go b0476af - #103
Merged
Merged
Conversation
tiborvass
approved these changes
Nov 10, 2026
dagger/go b0476af has both the per-platform builds that entrypoints of modules targeting v1.0.0-beta.26 rely on (a prebuild that takes a platform) and dagger/go's main, including its fix for the Gomod/GoMod field collision. Dagger's built-in Go SDK moves to the same commit in dagger/dagger#15134; the engine image's build requires the two to match. Only a module that targets v1.0.0-beta.26 or later builds with dagger/go, so modules on the default target are unchanged. Signed-off-by: Erik Sipsma <[email protected]>
sipsma
force-pushed
the
sipsma/daggergo-e722cfc
branch
from
November 10, 2026 18:30
b4ea61c to
c58f63d
Compare
sipsma
added a commit
to dagger/dagger
that referenced
this pull request
Nov 10, 2026
The engine image's entries call each Go module's prebuild with the platform it builds for, which dagger/go's gobuild takes since its per-platform build merged (dagger/go#100). The built-in Go SDK pinned a dagger/go main from before that merge, whose prebuild takes no platform, so the entries failed. It now pins dagger/go's main with that merge and with gomod's beta.26 type names kept distinct (dagger/go#102), and go-sdk moves to the commit that names the same dagger/go (dagger/go-sdk#103), as the entries require. The workspace's own dagger/go module stays where it was: the checks' engine loads it, and that engine is older than the per-platform build needs. Signed-off-by: Erik Sipsma <[email protected]>
dagger-ci
pushed a commit
to dagger/dagger-go-sdk
that referenced
this pull request
Nov 10, 2026
The engine image's entries call each Go module's prebuild with the platform it builds for, which dagger/go's gobuild takes since its per-platform build merged (dagger/go#100). The built-in Go SDK pinned a dagger/go main from before that merge, whose prebuild takes no platform, so the entries failed. It now pins dagger/go's main with that merge and with gomod's beta.26 type names kept distinct (dagger/go#102), and go-sdk moves to the commit that names the same dagger/go (dagger/go-sdk#103), as the entries require. The workspace's own dagger/go module stays where it was: the checks' engine loads it, and that engine is older than the per-platform build needs. Signed-off-by: Erik Sipsma <[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.
Moves
daggerGoinversions.tomlto dagger/go b0476af, dagger/go's main after dagger/go#100 and dagger/go#102 merged. That commit has the per-platform builds (a prebuild that takes a platform) that entrypoints of modules targeting v1.0.0-beta.26 rely on, and dagger/go#102's fix for theGomod/GoModfield collision. The pin from #102, 8dce822, has neither, so an engine built with it fails with "module entrypoint prebuild takes no platform".dagger/dagger#15134 moves Dagger's built-in Go SDK to the same commit; the engine image's build requires the two to match.
Only modules that target v1.0.0-beta.26 or later build with dagger/go, so modules on the default target (v1.0.0-beta.25) are unchanged. The comment under the pin also drops "(not yet released)", since v1.0.0-beta.26 is out.