Skip to content

Vminitd: Rework ManagedContainer #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

dcantah
Copy link
Member

@dcantah dcantah commented Jun 25, 2025

This gets rid of some design decisions that I was not fond of. This changes the process start for both execs and the init process to happen internally in the object, as well as makes it so that all exec functionalities can happen on the container object itself. This allows us to get rid of the if request.id == containerID branches in the rpcs, and handle this entirely in the object itself using its internal state.

The existing integration tests should stress this just fine I believe.

This gets rid of some design decisions that I was not fond of.
This changes the process start for both execs and the init process
to happen internally in the object, as well as makes it so that all
exec functionalities can happen on the container object itself. This
allows us to get rid of the `if request.id == containerID` branches
in the rpcs, and handle this entirely in the object itself using its
own internal state.
@crosbymichael crosbymichael merged commit 2dfabeb into apple:main Jun 25, 2025
2 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