juergbi commented on issue #1751:
URL: https://github.com/apache/buildstream/issues/1751#issuecomment-1245872553

   This could certainly be interesting if either no big workers are available 
in a build farm or if the project could benefit from more fine-grained caching. 
The idea of using recc with nested remote execution has been around for a while 
but nobody has attempted to implement it yet, as far as I know.
   
   I think this would mainly be a feature of the REAPI server/worker side. E.g. 
BuildGrid/BuildBox could support a platform property that allows network access 
to the CAS and Execution services and sets environment variables to communicate 
the URIs. It might make sense to extend buildbox-casd to work as an Execution 
service proxy, making it possible to restrict the sandbox hole to the worker's 
local buildbox-casd.
   
   BuildStream would simply need to support setting that platform property 
(possibly in a generic way, see #1313). BuildStream projects could then include 
recc in their sandbox and configure it using the environment variables set by 
the worker.
   
   If recc supported buildbox-casd's `CaptureFiles` method, it could skip 
hashing of input files when buildbox-fuse is used as the hash would already 
available in the `user.checksum.sha256` xattr, reducing the recc overhead.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to