Skip to content

fix: propagate real container exit code instead of hardcoding 0 - #7

Merged
moghit-eou merged 1 commit into
moghit-eou:mainfrom
hibaa23:fix/docker-exit-code
Aug 16, 2026
Merged

fix: propagate real container exit code instead of hardcoding 0#7
moghit-eou merged 1 commit into
moghit-eou:mainfrom
hibaa23:fix/docker-exit-code

Conversation

@hibaa23

@hibaa23 hibaa23 commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

fix propagate real container exit code instead of hardcoding 0" --body "DockerExecutor.Run discarded the value from ContainerWait's status channel and always returned ExitCode: 0, so a failed command inside the container was reported as successful. This captures WaitResponse.StatusCode and passes it through to Result.ExitCode.

@moghit-eou moghit-eou self-assigned this Aug 16, 2026
@moghit-eou
moghit-eou merged commit 37a76c8 into moghit-eou:main Aug 16, 2026
3 checks passed
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.

2 participants