Skip to content

🐞 Error running module with multiline output #161

Closed
@opopops

Description

@opopops

What is the issue?

Since the latest versions (v6.15.0 and v7.0.0), I encounter an error when running a module that returns a multi-line string.

Dagger version

dagger v0.14.0

Steps to reproduce

Here is my GitHub action step that is failing:

steps:
      - name: Lint
        uses: dagger/dagger-for-github@v7
        with:
          version: 0.14.0
          module: github.com/opopops/daggerverse/helm@main
          verb: call
          args: |
            lint \
              --path chart \
              --strict \

Log output

Screenshot 2024-11-10 at 11 57 44

Activity

self-assigned this
on Nov 11, 2024
spargonaut

spargonaut commented on Nov 11, 2024

@spargonaut

I'm running into the same issue.

Dagger Version(s)

0.14.0 and 0.13.7. (I've tried both versions with the same result)

Here's my github action step

      - name: Build, Test, and Package the artifact
        uses: dagger/dagger-for-github@v6
        with:
          version: "0.13.7"
          verb: call
          args: verify-build --source=. --db-init-file=./zDB/init.sql
          cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}

Log Output

Full trace at https://dagger.cloud/spargonaut/traces/<redacted>
{
    "_type": "Container",
    "defaultArgs": [],
    "entrypoint": [
        "java",
        "-jar",
        "/app/FarmstandTracker.jar"
    ],
    "mounts": [],
    "platform": "linux/amd64",
    "user": "",
    "workdir": "/"
}
A new release of dagger is available: v0.13.7 → v0.14.0
To upgrade, see https://docs.dagger.io/install
https://github.com/dagger/dagger/releases/tag/v0.14.0
Error: Unable to process file command 'output' successfully.
Error: Invalid format '    "_type": "Container",'

Happy to provide more info upon request.

jedevc

jedevc commented on Nov 11, 2024

@jedevc
Member

This regression was introduced in 1a00b8f (#153) - looking into it now.

Also, x-link to where this was discussed in discord: https://discord.com/channels/707636530424053791/1304748555780493312

spargonaut

spargonaut commented on Nov 11, 2024

@spargonaut

works great.
thanks for the quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    🐞 Error running module with multiline output · Issue #161 · dagger/dagger-for-github