Repository navigation
feat(go): target one engine release per SDK release - #85
Merged
Merged
Conversation
The generated code of a module with unified clients follows the SDK release and the targetVersion pin, never the running engine. Signed-off-by: Yves Brissaud <[email protected]>
The engine ignores DAGGER_CLIENT_VERSION today; a later engine will serve that view instead of the module's version. Standalone clients announce it when they start a session. Signed-off-by: Yves Brissaud <[email protected]>
A requirement that selects a later library than the target is refused with that requirement named, so the target stays the only source of the API the module uses. A replaced library is reported as a development exception. Signed-off-by: Yves Brissaud <[email protected]>
Dependency clients alias core types from the running engine's view; a type the targeted library lacks failed as a compile error in generated code, which named neither the dependency nor the target. Signed-off-by: Yves Brissaud <[email protected]>
The generated Dang entrypoint is the only entrypoint the SDK keeps or writes; a local custom entrypoint and a custom runtime stay the author's, and so does a remote one under dangEntrypoint = false, the explicit opt-out. Signed-off-by: Yves Brissaud <[email protected]>
Signed-off-by: Yves Brissaud <[email protected]>
Signed-off-by: Yves Brissaud <[email protected]>
Signed-off-by: Yves Brissaud <[email protected]>
Signed-off-by: Yves Brissaud <[email protected]>
Signed-off-by: Yves Brissaud <[email protected]>
eunomie
force-pushed
the
sdk-target/go-target-version
branch
from
October 27, 2026 14:00
9dd0ac8 to
7baf952
Compare
also add two bump functions Signed-off-by: Yves Brissaud <[email protected]>
Signed-off-by: Yves Brissaud <[email protected]>
eunomie
marked this pull request as ready for review
October 27, 2026 17:14
Signed-off-by: Yves Brissaud <[email protected]>
Signed-off-by: Yves Brissaud <[email protected]>
Signed-off-by: Yves Brissaud <[email protected]>
This was referenced Oct 29, 2026
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.
A Go SDK release now targets one Dagger release. Unified entrypoint modules use that release by default;
targetVersioncan pin a release from the entrypoint floor through the SDK's target. A nonemptyclientVersionsetting fails with a rename message.Generation pins
dagger.io/daggerto the target and checks the selected version aftergo mod tidy. It reports an applicablereplaceas a development exception. Dependency clients use the target's core types; their schemas still come from the running engine.The generated entrypoint sets
DAGGER_CLIENT_VERSIONfor the module process. The engine does not honor it yet; the planned engine change will apply the declared version. Generated standalone clients pass a known target when they start their own connection.Remote entrypoints are replaced by the generated entrypoint. Local custom entrypoints and legacy runtimes remain. Embedded bindings continue to follow the running engine.
Supersedes #84.
Validation: four Go unit suites and seven shared-engine checks passed on
105547ab5bd5a6ff8f974cb3cffb3c7b9583f0c2. The entrypoint-contract suite and focused remote-entrypoint compatibility and refusal checks passed on subsequent revisions through7baf952d977cb6588d7933e6e89ae5a1d9305826. The cross-engine and SDK-upgrade matrices and full CLI smoke were not rerun at the final head.