remote-apis-sdks
remote-apis-sdks copied to clipboard
This repository contains client libraries for the Remote Execution API https://github.com/bazelbuild/remote-apis
`go.mod` and `WORKSPACE` are not synced on dependencies. Dependabot usually posts PR to update a dependency, e.g. https://github.com/bazelbuild/remote-apis-sdks/pull/512 which leaves `WORKSPACE` behind.
`TestDownloadActionOutputsConcurrencyUsingBatch` consistently fails at `master` on my Mac: ``` Executing tests from //go/pkg/client:client_test ----------------------------------------------------------------------------- --- FAIL: TestDownloadActionOutputsConcurrency (0.00s) --- FAIL: TestDownloadActionOutputsConcurrency/TestDownloadActionOutputsConcurrencyUsingBatch:true,UnifiedDownloads:true (20.66s) cas_test.go:1633: 75 requests were made to BatchReadBlobs, wanted
## Problem [Node properties](https://github.com/bazelbuild/remote-apis/blob/main/build/bazel/remote/execution/v2/remote_execution.proto#L852) are a (relatively recent) part of the RE-API which is relied upon by Bazel's persistent remote workers feature: https://github.com/bazelbuild/bazel/blob/master/src/main/java/com/google/devtools/build/lib/remote/merkletree/MerkleTree.java#L398 Bazel uses this to "mark" some files...
The existing ExecuteAndWait function will rarely actually call WaitExecution when used against a live server. This change adds the ability to terminate the Execute call early and switch to WaitExecution...
When the uploads/downloads are unified, we don't really support cancellations -- the context may be canceled and the caller immediately returns, but the upload/download still happens in the background, consuming...
IIUC, currently the file tree produced by `ComputeMerkeTree()` https://github.com/bazelbuild/remote-apis-sdks/blob/c00c035a74d44f1dc7d7ce8fe5dbca3b8956ed1a/go/pkg/tree/tree.go#L110 could only contain `FileNode` or `DirectoryNode`, but not `SymlinkNode`. This could be very useful for Swarming's isolate support, since the `.isolate`...
When we retry a failed Write call, we should respect the committed_bytes returned by the server and not redo everything from scratch, saving time and bandwidth.
One of the tiny number of things https://github.com/bazelbuild/tools_remote can do and these tools can't is parse the RemoteExecutionLog. It would be nice to figure out a solution to that. Annoyingly,...