#llm output

1 messages · Page 1 of 1 (latest)

gleaming glen
#

should probably 🧵 this

#

@hollow salmon in this case, did the dagger command exit 0 or nonzero? trying to establish the totality of info the LLM would see

#

maybe the logs + seeing the command failed is enough

hollow salmon
# gleaming glen <@488409085998530571> in this case, did the dagger command exit 0 or nonzero? tr...

In those two samples, here is the exact command I ran:

DAGGER_MODULE=github.com/dagger/dagger ./skills/engine-dev-testing/with-playground.sh 'echo "Something went wrong... this is stdout"; echo "Something went wrong again... this is stderr" >&2; exit 1' 2>&1 | tee sample-dots.txt

edit script to change --progress flag, then:

DAGGER_MODULE=github.com/dagger/dagger ./skills/engine-dev-testing/with-playground.sh 'echo "Something went wrong... this is stdout"; echo "Something went wrong again... this is stderr" >&2; exit 1' 2>&1 | tee sample-plain.txt
gleaming glen
#
❯ dagger-dev core container from --address ruby:2.4 with-exec --args ruby,--version stdout --progress=logs
▼ connecting to engine
11:44:10 INF connected name=37525a4d7d06 client-version="" server-version=v0.19.12-20260211153303-dev-e55fa902d4cd

▼ withExec ruby --version
ruby 2.4.10p364 (2020-03-31 revision 67879) [x86_64-linux]

ruby 2.4.10p364 (2020-03-31 revision 67879) [x86_64-linux]

The duplication there is from stdout returning the value and printing it to the 'primary output' (where we replay stdout/stderr accurately) - which is needed for e.g. dagger functions:

❯ dagger-dev functions --progress=logs
▼ connecting to engine
11:45:07 INF connected name=37525a4d7d06 client-version="" server-version=v0.19.12-20260211153303-dev-e55fa902d4cd

Name              Description
changelog         -
check-generated   Verify that generated code is up to date
ci                -
cli               Develop the Dagger CLI
docs              Dagger docs toolchain
elixir-sdk        -
engine-dev        Creates a complete end-to-end build environment with CLI and engine for interactive testing
generate          Run all code generation - SDKs, docs, grpc stubs, changelog
go                A module to develop, build, test Go softwares
go-sdk            -
helm              A toolchain to develop and test helm charts
installers        A toolchain to test Dagger installers
java-sdk          -
php-sdk           Toolchain to develop the Dagger PHP SDK (experimental)
python-sdk        Toolchain to develop the Dagger Python SDK
release           A module that encodes the official release process of the Dagger Engine
rust-sdk          Toolchain to develop the Dagger Rust SDK (experimental)
sdks              Develop Dagger SDKs
security          -
test-split        -
typescript-sdk    -
rocky dirge
gleaming glen
#

ack - fixing