Skip to content

feat(go): build daggerGo modules with dagger/go b0476af - #103

Merged
sipsma merged 1 commit into
mainfrom
sipsma/daggergo-e722cfc
Nov 10, 2026
Merged

sipsma merged 1 commit into
mainfrom
sipsma/daggergo-e722cfc

Conversation

@sipsma

@sipsma sipsma commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Moves daggerGo in versions.toml to 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 the Gomod/GoMod field 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.

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
sipsma force-pushed the sipsma/daggergo-e722cfc branch from b4ea61c to c58f63d Compare November 10, 2026 18:30
@sipsma sipsma changed the title feat(go): build daggerGo modules with dagger/go e722cfc feat(go): build daggerGo modules with dagger/go b0476af Nov 10, 2026
@sipsma
sipsma merged commit bb23e8d into main Nov 10, 2026
4 of 17 checks passed
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]>
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.

2 participants