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

Fixes for child process monitoring #3

Merged
merged 4 commits into from
Nov 5, 2021

Conversation

cgwalters
Copy link
Collaborator

@cgwalters cgwalters commented Nov 5, 2021

Take &mut self consistently

In order to implement proper error handling, we are going
to need to also access the singleton child process state.

(In the future we should support concurrent blob fetches
which would return the std::fs::File which can be accessed
concurrently/separately from the proxy. But our users aren't
doing concurrent fetches yet)


Check for child exit during all requests

I am seeing the proxy seeming to exit during a request. We
need to also monitor the child process while making a request.


Use main request method for semver checking

Previously I refactored the code to have impl_request_raw
to check the semver so we could do the child process checking
at the same time. But now that that's a default part of the main
request flow, clean things up here make the semver call not special.


Bump to 0.2.0 for API changes


In order to implement proper error handling, we are going
to need to also access the singleton child process state.

(In the future we should support concurrent blob fetches
 which would return the `std::fs::File` which can be accessed
 concurrently/separately from the proxy.  But our users aren't
 doing concurrent fetches yet)
I am seeing the proxy seeming to exit during a request.  We
need to also monitor the child process while making a request.
Previously I refactored the code to have `impl_request_raw`
to check the semver so we could do the child process checking
at the same time.  But now that that's a default part of the main
request flow, clean things up here make the semver call not special.
@cgwalters cgwalters merged commit 5b74e02 into containers:main Nov 5, 2021
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