Hi,
with dagger version 0.11.1 everything works fine for us in our environment with podman and a custom dagger engine that is configured with:
podman run -d --name customized-dagger-engine --privileged -v dagger-engine:/var/lib/dagger registry.dagger.io/engine:v0.11.1
export _EXPERIMENTAL_DAGGER_RUNNER_HOST=podman-container://customized-dagger-engine
As soon as I update to 0.11.2 or also 0.11.4 the code generation stops working. Tested in an existing repo with dagger develop but to provide a simple repro case, this also occurs in a fresh directory:
dagger init- works, created dagger.jsondagger init --sdk=go- fails with the error belowdagger init --sdk=python- fails with a similar error (just tried for testing...)- Any call to a function with
dagger call ...fails with the same error
✘ Container.directory(path: "/src"): Directory! 0.1s
! process "/usr/local/bin/codegen --output /src --module-context-path /src/dagger --module-name dagger-test --introspection-json-path /schema.json" did not complete successfully: exit code: 1
✘ exec /usr/local/bin/codegen --output /src --module-context-path /src/dagger --module-name dagger-test --introspection-json-path /schema.json 0.1s
! process "/usr/local/bin/codegen --output /src --module-context-path /src/dagger --module-name dagger-test --introspection-json-path /schema.json" did not complete successfully: exit code: 1
Error: failed to generate code: input: moduleSource.withContextDirectory.withName.withSDK.withSourceSubpath.asModule resolve: failed to create module: select: failed to update codegen and runtime: failed to generate code: failed to get modified source directory for go module sdk codegen: select: process "/usr/local/bin/codegen --output /src --module-context-path /src/dagger --module-name dagger-test --introspection-json-path /schema.json" did not complete successfully: exit code: 1