Repository navigation
Conversation
This was referenced Oct 14, 2026
grouville
force-pushed
the
port-workspace-modules-v2
branch
from
October 14, 2026 01:26
204642b to
77fb6ee
Compare
Signed-off-by: Guillaume de Rouville <[email protected]>
Signed-off-by: Guillaume de Rouville <[email protected]>
Signed-off-by: Guillaume de Rouville <[email protected]>
Signed-off-by: Guillaume de Rouville <[email protected]>
Signed-off-by: Guillaume de Rouville <[email protected]>
Signed-off-by: Guillaume de Rouville <[email protected]>
grouville
force-pushed
the
port-workspace-modules-v2
branch
from
October 14, 2026 02:23
663fefe to
ec852b4
Compare
Signed-off-by: Guillaume de Rouville <[email protected]>
Signed-off-by: Guillaume de Rouville <[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.
This moves six Go modules to v2:
go,cli-dev,engine-dev,python-client-dev,php-client-devandrelease.They already used workspaces, but their legacy
includelists also supplied files needed to compile the modules. The merged Go SDK now discovers those compiler inputs automatically, including Go imports, localreplacetargets andgo:embedfiles. This lets us remove the legacy runtime and include entries.For
go,cli-devandengine-dev, every exported constructor and function now takesws. With a fresh local workspace, Dagger runs the call again, so the SDK reads the current compiler inputs. Compilation can still reuse its cache when the selected file contents are unchanged. Module authors still choose the files their pipelines read through workspace filters.The main changes to review are:
dagger.toml.wsarguments and callers that forward them, including the Helm test client.Most of the diff is regenerated Go clients or removed legacy bindings. Start with the authored
main.go,main.dang, manifests and scope settings.All six modules use
dagger.io/dagger v1.0.0-beta.17. The Go SDK is pinned to02aea84, the follow-up fix in go-sdk#65. That SDK PR needs to merge first. The engine resource rollback stays separate in #14661.The first CI run exposed too much compiler discovery work: each module call listed every checkout filename through the API. The Java release check had 614,508 spans, versus 4,057 on main. The SDK follow-up passes discovered import/embed patterns directly to workspace directory filters. A local engine module call drops from 130,168 spans to 1,725. This fixes the extra work; CI still needs to confirm that the engine disconnects stop.
Nested PHP and release CLI commands now connect to their installed test engine with their own credentials. PHP code generation passes locally, and both modules compile.
Validation: the six ports compile and the earlier focused lint checks pass. Generation with the fixed SDK leaves no changes on a second run. Direct and sibling calls observe an external embedded file changing without regeneration on unmodified beta.17. Full PR CI still needs to pass. Git-backed generation also has a separate issue with checkout commit references in local client bindings, which is still being fixed.