Skip to content

dagger generate hides the underlying exec error #13606

Closed

Description

@shykes

Problem

When lazy Changeset evaluation fails, dagger generate only reports:

compute their paths: evaluate changeset directories: exit code: 1

The failed command's stderr exists but is not shown. Running the Changeset directly exposes the real error:

dagger call golang --generate=sdk/go generate-all is-empty

Solution

Preserve and display the underlying ExecError, including the failed command and stderr, when evaluating and merging generator Changesets.

Activity

  1. ychampion commented on Jul 11, 2026

    @ychampion

    I can take this. I'll trace the error through Changeset evaluation and merge, then add a regression that preserves the failed command and stderr.

  2. ychampion commented on Jul 11, 2026

    @ychampion

    I can't validate this against a development engine in my current environment, so I'm leaving it open for someone who can run the integration suite.

  3. added this to the v1.0.0 milestone on Jul 15, 2026
  4. self-assigned this
    on Jul 16, 2026
  5. TomChv commented on Jul 16, 2026

    @TomChv
    Member

    I'm currently working on that one, I have an implementation done, I need to verify manually this it fixes it

  6. added 6 commits that reference this issue on Jul 16, 2026
    7a3471a
    a0ff7ed
    fad68af
    a629b0e
    793802e
    273d3f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions