Bazel Remote Output Service #20933
Replies: 5 comments 14 replies
-
From reading the design doc, and the comments from reviewers, I wonder if this could be attached with a high-level overview on what are the goals we are trying to solve with this RPC. Then perhaps we could break the goals down into a multi-stage roadmap: What goals will be addressed in the first stage, what will be left for a later stage, and what will NOT be addressed (aka. non-goal)? If we could break the RPC feature down categorically, then folks could rest assured that some of their needs could be addressed at a later stage. 🤔 |
Beta Was this translation helpful? Give feedback.
-
I just merged these changes on the Buildbarn side to use the new protocol: I have only been able to test this through unit tests. Not by actually using it. The reason obviously being that I don't have a copy of Bazel that implements the new protocol. I will patiently wait for @coeuvre to post his patch set for Bazel. I also invite others to give the latest version of bb_clientd a try by then. |
Beta Was this translation helpful? Give feedback.
-
A workable client is available in my branch https://github.com/coeuvre/bazel/tree/remote_output_service_head. I still need time to go through the review process and submit it but you can already try it now. Note that the feature is still pre-alpha so expect bugs and issues. Thanks @EdSchouten for updating bb_clientd to the new protocol so I can use it as the server during the development. To try it:
|
Beta Was this translation helpful? Give feedback.
-
All changes have been cherry-picked to 7.2 branch. You can try it out with the upcoming 7.2 release! |
Beta Was this translation helpful? Give feedback.
-
@buchgr is this on the roadmap for the bazel-remote? |
Beta Was this translation helpful? Give feedback.
-
We propose to add a new flag
--experimental_remote_output_service
which accepts a URI pointing to a remote output service server that can manage Bazel's output tree (bazel-out/
) with a userspace filesystem. We are also defining a gRPC protocol for the communication between Bazel and the service.Please check the design doc for details. All feedback is welcome!
Related to #12823.
Beta Was this translation helpful? Give feedback.
All reactions