Batch CAS writes to reduce round trips between bst and casd
Adding large directories to CAS (sources and artifacts) is fairly slow right now as files are added one at a time with gRPC calls in add_object()
. We should batch CAS writes either by using a single CaptureFiles
request for many files or using CaptureTree
to add a whole directory tree in a single request.