-
Couldn't load subscription status.
- Fork 208
Add filesystem notification (FSNotify) support #294
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
base: main
Are you sure you want to change the base?
Add filesystem notification (FSNotify) support #294
Conversation
f89a058 to
128421e
Compare
128421e to
816c698
Compare
|
@realrajaryan Can you take a peek at the CI fail, it's for the new test added |
b33caa9 to
07a7db3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get the concurrency working so that it's not @unchecked. See Danny's suggestion about using NIO for the socket communication.
11e1720 to
eb651c5
Compare
a99b69b to
d7001e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial comments - need to review about three more files...
| responseStream: GRPCAsyncResponseStreamWriter<Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse>, | ||
| context: GRPC.GRPCAsyncServerCallContext | ||
| ) async throws { | ||
| for try await request in requestStream { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe an optimization for later - read the stream into an array and send the entire batch to the worker?
Might be best to look at the end-to-end path at that point and work out what's most efficient.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(doesn't block merge)
ce1df86 to
5070a02
Compare
…reading restrictions
…n vminitd runs as PID 1
…fix other comments
f51668d to
4c3353f
Compare
Addresses apple/container#141, where containers don't receive filesystem events on mounted volumes, preventing incremental rebuilds and other file-watching features. This PR implements the guest-side components for FSNotify. Host-side implementation in the container repo will complete the pipeline.
Summary:
cctl fsnotify) and integration test infrastructure