8000 core: allow exit codes >127 for ReturnType ANY and FAILURE by nebojsaj1726 · Pull Request #11666 · dagger/dagger · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@nebojsaj1726
Copy link
@nebojsaj1726 nebojsaj1726 commented Jan 12, 2026

Fixes #11569

Summary

Allow ReturnType.ANY and ReturnType.FAILURE to accept exit codes 192–255, while preserving signal-related exclusions (128–191).

Testing

dagger call engine-dev test --pkg "./core/integration" --run "^TestReturnCodes$"

dagger call go lint

Signed-off-by: Nebojsa Jacovic <nebojsa.jacovic@gmail.com>
@nebojsaj1726
Copy link
Author
8000 nebojsaj1726 commented Jan 12, 2026

Note:
While testing this locally, I couldn’t get the dagger call test flow from CONTRIBUTING.md working with a locally built engine.
I ended up using dagger call engine-dev test …, which worked reliably.

Happy to open a follow-up issue or PR to update this in the docs if that would be useful.

Copy link
Contributor
@shykes shykes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@shykes shykes requested review from alexcb and sipsma January 14, 2026 20:06
Signed-off-by: Nebojsa Jacovic <nebojsa.jacovic@gmail.com>
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.

Allow for error codes greater than 127 in ReturnType from containers

3 participants

0