Skip to content

feat(generate): write the entrypoint's dang.toml - #44

Merged
eunomie merged 5 commits into
mainfrom
sdk-dang-toml/java
Nov 6, 2026
Merged

eunomie merged 5 commits into
mainfrom
sdk-dang-toml/java

Conversation

@eunomie

@eunomie eunomie commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Generate the Java entrypoint's dang.toml with sdk-helpers v1.0.8, using the module's beta.25 target for both the Dagger import and DAGGER_CLIENT_VERSION. Keep the targetVersion setting and the existing engine floor.

Generation merges the entrypoint directory to preserve existing files. It retains the narrow configuration refusals used by the Go SDK. The diff is +229/−33; those refusals and the committed template mirror account for much of its size.

Validation on beta.25: template staleness and entrypoint/dang-config-check passed on the final head. entrypoint/target-version-check passed on the preceding candidate; entrypoint/stale-check, entrypoint/calls-check and packager unit tests passed on earlier candidates with their relevant inputs unchanged.

The runtime effects of DAGGER_CLIENT_VERSION and dang.toml remain unverified. Beta.25 does not contain dagger/dagger#14902, which adds the static configuration channel.

Signed-off-by: Yves Brissaud <yves@dagger.io>
Signed-off-by: Yves Brissaud <yves@dagger.io>
The engine serves a process that declares DAGGER_CLIENT_VERSION the view of
that release, so the entrypoint declares the one its bindings target.

Signed-off-by: Yves Brissaud <yves@dagger.io>
Signed-off-by: Yves Brissaud <yves@dagger.io>
An engine that reads it takes the entrypoint's Dagger version from this
file. Generation merges into the entrypoint's directory, so files its
imports name survive.

Signed-off-by: Yves Brissaud <yves@dagger.io>
@eunomie
eunomie force-pushed the sdk-dang-toml/java branch from 622e0db to a9c7ba5 Compare November 6, 2026 17:22
@eunomie
eunomie marked this pull request as ready for review November 6, 2026 17:35
@eunomie
eunomie merged commit a8ac904 into main Nov 6, 2026
11 checks passed
@eunomie
eunomie deleted the sdk-dang-toml/java branch November 6, 2026 17:35
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.

1 participant