Skip to content
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

Remove complexity from wait API #342

Merged
merged 1 commit into from
Oct 21, 2023
Merged

Conversation

jprendes
Copy link
Collaborator

@jprendes jprendes commented Sep 29, 2023

This PR simplifies the API around the Instance::wait method and around TaskState and InstanceData.
Fixes #339.

Note that a side effect of this PR is that it fixes #326 but it shouldn't be considered a substitute for #340.

@jprendes jprendes force-pushed the simplify-wait branch 3 times, most recently from c6620e5 to c67f641 Compare October 12, 2023 13:26
Copy link
Contributor

@jsturtevant jsturtevant left a comment

Choose a reason for hiding this comment

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

learned a lot on that review :-)

crates/containerd-shim-wasm/src/sandbox/sync.rs Outdated Show resolved Hide resolved
@jprendes jprendes force-pushed the simplify-wait branch 2 times, most recently from 32b4fba to d2a0265 Compare October 19, 2023 11:10
Copy link
Member

@Mossaka Mossaka left a comment

Choose a reason for hiding this comment

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

lgtm!

Signed-off-by: Jorge Prendes <[email protected]>
@Mossaka Mossaka merged commit 416c12f into containerd:main Oct 21, 2023
39 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
3 participants