Age | Commit message (Collapse) | Author | |
---|---|---|---|
9 days | Clarify use of a clang-tidy check | Paul Cristian Sarbu | |
The google-default-arguments check normally imposes that virtual methods have no default arguments. For our use-cases, all implementations of such methods are expected to use the same default arguments, and thus this check is manually disabled via NOLINT comments. However, this is not done consistently. This commit cleans this up and clarifies our intent by: - removing the default values (and the NOLINT statement) for all implementations of virtual methods with default argument values, matching the desired intended behaviour, but - keeping the clang-tidy check for future cases where derived classes would want to provide each different defaults. | |||
9 days | ExecutionAPI: Support output_paths in requests | Oliver Reiche | |
... and prepare local execution for clients using only RBEv2.1 (setting only output_paths). | |||
2025-06-02 | ParallelRetrieveToCasWithCache: abort early on failure | Klaus Aehlig | |
... and do mark artifacts internally as synchronized. First all all, we will abort anyway, to the entry won't even be read and, secondly it is not necessarily true that the artifact is synchronized. | |||
2025-04-11 | Drop unused directory map | Klaus Aehlig | |
The BazelNetworkReader contains an optimization for reading directories in case the remote execution (in compatible mode) supports the GetTree request. This is, however not the case for many remote exeuciton services, including our own single-node execution service. So the code is basically untested and rarely used, if at all. Moreover, justbuild is usually used in native mode and using compatibility mode is expected to handle tree operations less efficient. Therefore, remove this basically dead code and decrease complexity this way. | |||
2025-03-24 | BazelApi: Use non-incremental reading | Maksim Denisov | |
...to avoid downloading the same blobs. | |||
2025-03-24 | BazelApi: Use file sources of ArtifactBlobs. | Maksim Denisov | |
2025-03-24 | ExecutionApi: Return TmpDir | Maksim Denisov | |
2025-03-24 | Pass TmpDir to BazelNetwork and BazelCasClient | Maksim Denisov | |
2025-02-27 | ArtifactBlob: Check access to the content | Maksim Denisov | |
2025-02-27 | ArtifactBlob: Convert to a class | Maksim Denisov | |
2025-02-27 | ArtifactBlob: Move from execution_api/common to common | Maksim Denisov | |
2025-02-19 | BazelApi: Use BackMap to get missing digests | Maksim Denisov | |
2025-02-19 | BazelApi: Create BackMap in ::RetrieveToCas | Maksim Denisov | |
and drop precreated info_map. | |||
2025-02-19 | IExecutionApi: Return supported HashFunction::Type | Maksim Denisov | |
2025-02-19 | Store HashFunction by value | Maksim Denisov | |
Although references give an additional information about ownership, they introduce additional design difficulties. | |||
2025-02-11 | Name library containing ExecutionConfiguration more appropriately | Klaus Aehlig | |
2025-02-07 | Move implementation of ContentBlob to artifact_blob | Maksim Denisov | |
...and remove ContentBlob. | |||
2025-02-07 | Rename artifact_blob_container to artifact_blob | Maksim Denisov | |
2025-02-07 | CommonApi: Remove template parameter from UploadAndUpdateContainer | Maksim Denisov | |
...since it works with ArtifactBlobs only. | |||
2025-02-07 | BazelNetwork: Use ArtifactDigests in IsAvailable | Maksim Denisov | |
2025-02-07 | BazelNetwork: Use ArtifactBlobs in UploadBlobs | Maksim Denisov | |
2025-02-07 | BazelNetworkReader: Use ArtifactDigest in IncrementalReader | Maksim Denisov | |
...and while there, pass digests needed to be read by pointer to IncrementalReader to avoid an extra copy. | |||
2025-02-07 | Replace ArtifactBlobContainer and BazelBlobContainer | Maksim Denisov | |
...with explicit std::unordered_set. | |||
2025-02-07 | Replace ContentBlobContainer<T> with std::unordered_set | Maksim Denisov | |
2025-02-07 | BazelNetwork: Use unordered_set in UploadBlobs instead of BazelBlobContainer | Maksim Denisov | |
2025-02-07 | IExecutionApi: Rename IsAvailable to GetMissingDigests | Maksim Denisov | |
2025-02-07 | IExecutionApi: Use unordered_set in IsAvailable | Maksim Denisov | |
2025-02-07 | Remove logging related to blob splitting form BazelApi | Maksim Denisov | |
2025-02-07 | BazelCasClient: Use unordered_set in FindMissingBlobs | Maksim Denisov | |
2024-12-19 | Fix cause of minor warnings | Oliver Reiche | |
2024-12-09 | Remove redundant copies from BazelApi::IsAvailable | Maksim Denisov | |
...and ignore non-requested digests. | |||
2024-12-05 | While there, also avoid unnecessary indirection in RertrieveToPaths. | Klaus Aehlig | |
2024-12-05 | execution api: support retrieving from more than one API, also for fd | Klaus Aehlig | |
Extend the api to optionally accept a different API for preferred fetching. This is already supported when fetching to a file path; therefore, extend to keep the interface symmetric. | |||
2024-11-14 | execution_api/remote: Implement IWYU suggestions | Paul Cristian Sarbu | |
2024-10-07 | Disable misc-no-recursion check | Maksim Denisov | |
...since we use recursion for trees a lot, but skip this check manually. | |||
2024-10-07 | Enable bugprone-unhandled-exception-at-new check. | Maksim Denisov | |
2024-10-07 | Enable bugprone-narrowing-conversions check | Maksim Denisov | |
2024-09-23 | Store HashFunction by const reference. | Maksim Denisov | |
Despite the fact that HashFunction is a small type, it still makes sense to store it by reference to reflect the ownership. StorageConfig becomes the main holder. Reference holders store HashFunction by const ref and aren't allowed to change it. However, they are free to return HashFunction by value since this doesn't benefit readability anyhow. | |||
2024-09-17 | Small code improvements based on lint warnings | Paul Cristian Sarbu | |
- add more noexcept requirements and enforce existing - fixing inconsistencies related to function arguments - remove redundant static keywords - silencing excessive lint reporting in test cases While there, make more getters const ref. | |||
2024-09-13 | Check compatibility in BazelAPI based on the hash type | Maksim Denisov | |
2024-09-13 | Rename Compatibility class to ProtocolTraits | Maksim Denisov | |
...and move it to the common stage. | |||
2024-09-09 | Use ArtifactDigest in BazelApi/BazelResponse | Maksim Denisov | |
2024-09-09 | Return ArtifactDigest from CreateActionDigestFromCommandLine | Maksim Denisov | |
2024-09-09 | Remove redundant operator less | Maksim Denisov | |
...from ObjectInfo and ArtifactDigest | |||
2024-08-30 | Cast ArtifactDigest to bazel_re::Digest explicitly | Maksim Denisov | |
...to simplify further refactoring. | |||
2024-08-30 | Replace bazel_re::Digest in BazelMsgFactory (trees) | Maksim Denisov | |
...with ArtifactDigest. | |||
2024-08-07 | Extend BazelNetworkReader to avoid redundant conversions | Maksim Denisov | |
2024-08-01 | Execution API: support cwd | Klaus Aehlig | |
... following the remote-execution standard that all output paths (but none of the input paths) are relative to the working directory. Therefore, the executor has to do the path translation. For our implementation of the API interface - the local API now handles cwd correctly, - the remote API forwards cwd correctly, and - the git API continues to report actions as not implemented. | |||
2024-07-22 | Pass HashFunction to BazelApi | Maksim Denisov | |
2024-07-22 | Pass HashFunction to BazelNetwork | Maksim Denisov | |