Skip to content

Conversation

dcantah
Copy link
Member

@dcantah dcantah commented Sep 24, 2025

Have wait return a struct containing the exit code and the time at which the process actually exited. This is useful so higher level tools (like container) don't need to craft a date themselves, and it will be more accurate as it's taken in the guest directly after the process exits.

Have wait return a struct containing the exit code and the time
at which the process actually exited. This is useful so higher level
tools (like container) don't need to craft a date themselves, and it
will be more accurate as it's taken in the guest directly after the
process exits.
@crosbymichael crosbymichael merged commit 82f2d88 into apple:main Sep 29, 2025
2 checks passed
jglogan added a commit to apple/container that referenced this pull request Oct 1, 2025
- Converts client to work with ExitStatus instead of integer error
codes.

## Type of Change
- [ ] Bug fix
- [ ] New feature  
- [x] Breaking change (SandboxClient.wait() returns ExitStatus instead
of Int32, apple/containerization#300)
- [ ] Documentation update

## Motivation and Context
Pick up DNS bug fix, update for breaking API change.

## Testing
- [x] Tested locally
- [x] Added/updated tests (fixed DNS test, using correct `options` now,
apple/containerization#303).
- [ ] Added/updated docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants