Skip to content

dagger.toml: pin dagger/go at the commit that quotes -X values - #15276

Merged
eunomie merged 1 commit into
mainfrom
dev/bump-dagger-go-gobuild-fix
Nov 25, 2026
Merged

eunomie merged 1 commit into
mainfrom
dev/bump-dagger-go-gobuild-fix

Conversation

@eunomie

@eunomie eunomie commented Nov 25, 2026

Copy link
Copy Markdown
Member
  • Problem: dev deploy stamps a RunnerHost containing & into the CLI; the pinned gobuild left -X linker values unquoted in its link script, so the darwin CLI build failed with /gobuild/build.sh: line 12: -X: not found.
  • Change: pin dagger/go at c40d1b4e410657d7cf3a04f358566263c2904cef, the merge of fix(gobuild): quote linker string values go#107. Its tree is identical to 8aba399b's (the fix: quoteLinkerValues on link lines only). The range from the old pin 79a92beb is Simplify cue-related code #107 only for the fix, and nothing else is taken (the later f49f2400 / beta.26 change stays out).
  • Precedent: same shape as Build dagger/dagger's Go modules with the per-package build, on Go 1.27 #15143's pin commit 15bf825.
  • Files (10): dagger.toml (8 occurrences); dagger-module.toml of engine-lab, go-client-dev, mcp-lab, sdl-diff, cmd/codegen; clients/go/dagger.gen.go and .dagger-generated.json in cli-dev and engine-dev. Generated with dagger generate --dang-sdk and --go-sdk; nothing hand-edited.
  • Not touched: 198 go-sdk-owned pins (fixtures, go-sdk-generated tomls, sdk/go/runtime) follow go-sdk's versions.toml daggerGo and move with a go-sdk release.
  • Checks run on the beta.29 engine: before/after of dagger call cli dev-binaries --platform=darwin/arm64 (before: -X: not found; after: success, binary contains the full runner host); dagger check 'dag+check://?golang-package=cmd/dagger' pass; dagger generate --dang-sdk --no-apply no changes; dagger/go go test ./gobuild -run 'Quote|Linker' pass; dagger functions loads. dagger check go-sdk/generate/stale fails locally on upstream/main too (release/gh apko files, local generator drift, unrelated to this patch).

dev deploy stamps a RunnerHost that contains "&" into the CLI. The pinned
gobuild left -X values unquoted in its link script, so the build failed
with "-X: not found". The new pin is the merge of dagger/go#107
(c40d1b4), whose tree is 8aba399b's.

Signed-off-by: Yves Brissaud <[email protected]>
@eunomie
eunomie marked this pull request as ready for review November 25, 2026 15:02
@eunomie
eunomie merged commit ecc8cb7 into main Nov 25, 2026
77 checks passed
@eunomie
eunomie deleted the dev/bump-dagger-go-gobuild-fix branch November 25, 2026 15:44
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