Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-01-26 | root_maps: Add utility library for handling absent roots sync | Paul Cristian Sarbu | |
2024-01-26 | serve source tree: Client-side and API implementations of to_git ↵ | Paul Cristian Sarbu | |
pragma-related RPCs | |||
2024-01-26 | serve source tree: Server-side implementation of to_git pragma-related RPCs | Paul Cristian Sarbu | |
2024-01-26 | just_serve.proto: Extend SourceTree with to_git pragma-related requests | Paul Cristian Sarbu | |
2024-01-26 | serve source tree: Distdir tree should end up in Git cache | Paul Cristian Sarbu | |
The purpose of the requests for the tree of an archive, commit, or distdir also includes making those trees available for future builds on the serve endpoint, which currently means being in a known Git repository. This commit ensures the distdir tree reqeust also includes the import of the resulting tree from CAS into the Git cache (if the tree is not already in a Git repsoitory). | |||
2024-01-26 | just-mr async maps: Wrap passed raw pointers | Paul Cristian Sarbu | |
This is to uphold the coding style guide we employ. | |||
2024-01-26 | just-mr 'git' repository: Fix wrong witnessing repo when remote CAS provides ↵ | Paul Cristian Sarbu | |
tree When the remote CAS provides the root tree, we perform an import-to-git operation, therefore the correct witnessing repository for the tree should always be the Git cache. | |||
2024-01-26 | root_maps: Small cleanup of includes and targets file | Paul Cristian Sarbu | |
...for more easily readable and maintainable target descriptions. | |||
2024-01-26 | just-mr: Fix missing ExpressionPtr type checks in parsing the config file | Paul Cristian Sarbu | |
2024-01-24 | just-mr: in to_git warning, report actual tool names | Klaus Aehlig | |
... instead of some hard-coded strings, as that can be confusing when the tool is packaged under a different name. | |||
2024-01-24 | just: Wrap IExecutionApi raw pointer arguments | Paul Cristian Sarbu | |
...in accordance to our coding style. | |||
2024-01-22 | just-mr: Honor archive mirrors when only fetching | Oliver Reiche | |
... which were only honored when doing fetch and setup. | |||
2024-01-19 | Add tree invariant check for just execute, when uploading trees | Sascha Roloff | |
2024-01-19 | Add digest validity check to the blob split command | Sascha Roloff | |
2024-01-19 | Fix digest consistency check to also compare sizes | Sascha Roloff | |
2024-01-16 | Keep implied target-cache values alive | Klaus Aehlig | |
... by uplinking them appropriately. | |||
2024-01-16 | TargetCacheEntry: serialize implied export targets | Klaus Aehlig | |
2024-01-16 | Analysed target: keep track of implied export targets | Klaus Aehlig | |
... that are eligible for caching. In this way, we can accurately keep track of the dependencies between target-level cache entries. Note that it is enough to track the export targets eligible for caching, as no target depending on an ineligible export target can be eligible. | |||
2024-01-16 | TargetCacheEntry: return implied targets, if serialized | Klaus Aehlig | |
2024-01-09 | just-mr: don't make the command line pretend a fixed name | Klaus Aehlig | |
Our fetch and launch tool is parametric in the tool to be launched. Reflect this in the documentation and do not pretend it to be the name "just" hard coded. While there, also fix the hard-coded name "git" in the documentation of the default value. | |||
2024-01-09 | Refactor GraphTraverser to take in platform properties and dispatch list | Paul Cristian Sarbu | |
In order for the serve endpoint to correctly dispatch a build to the correct remote-execution endpoint, the platform properties and dispatch list for a build need to be passed explicitly to the executor (via the graph traverser instance) instead of always being taken from the RemoteExecutionConfig struct. This commit implements these changes, including updating existing tests accordingly. | |||
2024-01-09 | just main: Fix log message | Paul Cristian Sarbu | |
2024-01-08 | just-mr distdir: Improved handling of absent root | Paul Cristian Sarbu | |
If root is marked absent and we're not asked to fetch absent, we can compute the resulting distdir root tree in-memory, as we have all the information. Otherwise, i.e., if we actually need to have the archives locally, we first check if the remote serve can provide them in the remote CAS before continuing as before to fetch the listed archives one at a time. | |||
2024-01-08 | serve distdir tree: Client-side and API implementations | Paul Cristian Sarbu | |
2024-01-08 | serve distdir tree: Server-side implementation | Paul Cristian Sarbu | |
2024-01-08 | GitRepo: Add blob lookup method | Paul Cristian Sarbu | |
2024-01-08 | just_serve.proto: Add 'tree of a distdir' request | Paul Cristian Sarbu | |
2024-01-08 | serve content or tree: Check for Git object also in local CAS | Paul Cristian Sarbu | |
2024-01-08 | serve source tree: Improve log messages when sync with remote fails | Paul Cristian Sarbu | |
2024-01-08 | serve archive tree: Add missing check for content in local CAS | Paul Cristian Sarbu | |
When serving the tree of an archive, we should check also in the local CAS for the content blob. | |||
2024-01-08 | serve configuration client: Fix logger name | Paul Cristian Sarbu | |
2024-01-08 | bugfix: Add missing return in SetRemoteExecutionDispatch | Paul Cristian Sarbu | |
This was a source of occasional std::bad_variant_access exceptions. | |||
2024-01-08 | git_tree_fetch_map: Fix missing backup-to-remote behaviour | Paul Cristian Sarbu | |
The change added to interrogate also the local CAS for the tree of a 'git tree' repository failed to add support for backing up such tree found into the remote CAS. This commit fixes the issue. | |||
2023-12-21 | serve target handling: store blobs also locally | Klaus Aehlig | |
... before trying to upload from local storage to the remote CAS. Co-authored-by: Alberto Sartori <alberto.sartori@huawei.com> | |||
2023-12-21 | ServeTarget: downgrade log level to performance | Klaus Aehlig | |
The error log level should be reserved for events that inevitably lead to a failed build. A failure to receive a target from the serve endpoint, however, is not such a case; for performance reasons, and also to have the same artifacts as everyone else in the case of non-reproducible dependencies, just inquires the serve end point for every export target whenever a serve end point is given. In this case, the build just continues even if the serve end point is, e.g., lacking a certain root. | |||
2023-12-21 | BazelCasClient: remove dead code. | Alberto Sartori | |
The removed code has been superseeded by the CreateBatchRequestsMaxSize member function. | |||
2023-12-21 | BazelCasClient::DoUploadBlobs: returns the count of the uploaded blobs... | Alberto Sartori | |
...instead of the vector containing the digests of the uploaded blobs. The returned vector was never inspected by the callers, except for its size. The tests have been accordingly amended. | |||
2023-12-21 | BazelNetwork: simplify logic of DoUploadBlobs | Alberto Sartori | |
2023-12-21 | BazelCasClient: split DoBatchUploadBlobs into multiple calls... | Alberto Sartori | |
...to honor the message limit imposed by GRPC. | |||
2023-12-21 | BazelCasClient: split BatchReadBlobs into multiple calls... | Alberto Sartori | |
...to honor the maxBatchTransferSize in grpc calls. | |||
2023-12-21 | BazelCasClient: Split FindMissingBlobs in multiple batches... | Alberto Sartori | |
...such that each request does not exceeds the message limit imposed by GRPC. | |||
2023-12-21 | SplitBlob: improve error message in case of a failure | Alberto Sartori | |
2023-12-21 | BazelCasClient: define new templated CreateBatchRequestsMaxSize member function. | Alberto Sartori | |
This function will ensure that each request does not exceeds the maximum message size, currently set by kMaxBatchTransferSize in the message_limits library. | |||
2023-12-21 | BazelCasClient::UpdateSingleBlob: Emit a log entry upon failure | Alberto Sartori | |
2023-12-21 | bazel_network: use message_limits library | Alberto Sartori | |
2023-12-21 | src/buildtool/execution_api/commmon: add message_limits library | Alberto Sartori | |
Define the threshold for the grpc messages. | |||
2023-12-21 | remote/client_common.hpp: add utility functions for logging status of rpc calls | Alberto Sartori | |
2023-12-20 | just: Query serve endpoint during analysis for non-cached export targets | Paul Cristian Sarbu | |
2023-12-20 | directory_map: refuse to read contents of absent roots | Klaus Aehlig | |
While in our setting, a missing directory is generally OK, it is not OK to ask for the content of an absent root. In particular, we should not assume it to be empty, just because the root is absent. | |||
2023-12-19 | SystemCommand: Fix handling of child status | Oliver Reiche | |