Skip to content

Bump sdk-helpers to v1.0.11 - #48

Merged
eunomie merged 1 commit into
dagger:mainfrom
vito:bump-sdk-helpers
Nov 23, 2026
Merged

eunomie merged 1 commit into
dagger:mainfrom
vito:bump-sdk-helpers

Conversation

@vito

@vito vito commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

php-sdk can't generate anything on a current engine: its dependency dagger.io/sdk/helpers@v1.0.9 no longer compiles under current Dang:

Error: a type pattern is the non-null type its arm binds: write `error: Error! =>`
  --> sdk-helpers/main.dang:147:14

This bumps sdk-helpers to v1.0.11 (manifest and lock), which go-sdk already uses and which fixes it. Generating a module with it works again (found while adding external-SDK golden tests to dagger/dagger's TUI suite).

sdk-helpers v1.0.9 no longer compiles under current Dang: its
main.dang:147 writes a nullable type pattern in a rescue arm, which
is now rejected ("a type pattern is the non-null type its arm binds:
write `error: Error! =>`"). Every php-sdk generation fails on it.
v1.0.11, which go-sdk already uses, fixes it.

Signed-off-by: Alex Suraci <alex@dagger.io>
vito added a commit to dagger/dagger that referenced this pull request Nov 22, 2026
Repin php-sdk to its function-error-file branch (1fe08a1, on top of the
sdk-helpers bump of dagger/php-sdk#48) and update the fixture's vendored
dispatcher, renderer and entrypoint from it. Every sdks-php golden now
passes:

- fail-native, both variants: the short trace, `RuntimeException: … in
  ViztestPhp.php:44`, as Java, Python and TypeScript gained theirs.
- fail-exit-code: `exit code: 3`, no longer the dispatcher's stderr.
- broken-default: PHP's parse error, at the fixture's current line 120.
- fail-exec-wrapped: re-recorded; it records today's output.
- fail-exec, both variants: the Container.from and withExec lines show the
  default arguments the PHP client sends. The user deferred that codegen
  fix; they lose the defaults with it.

Signed-off-by: Alex Suraci <alex@dagger.io>
@eunomie
eunomie merged commit 5d28e2d into dagger:main Nov 23, 2026
20 checks passed
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