Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-06-18 | Make RemoteServeConfig a general struct, not a singleton | Maksim Denisov | |
...and adjust interfaces. | |||
2024-06-18 | Create an individual instance of RemoteServeConfig in just-mr | Maksim Denisov | |
...instead of initialization of the singleton. | |||
2024-06-18 | Create an individual instance of RemoteServeConfig in just | Maksim Denisov | |
...instead of initialization of the singleton. Use builder for creation and validity check. | |||
2024-06-18 | Make ServeApi a general class, not a singleton | Maksim Denisov | |
...and adjust interfaces. | |||
2024-06-18 | Pass RemoteAddress to ConfigurationClient by value | Maksim Denisov | |
...instead of using singleton calls. | |||
2024-06-18 | Pass ServeApi to just-mr maps by reference | Maksim Denisov | |
...instead of using singleton calls. | |||
2024-06-18 | Pass ServeApi to ServeServerImpl by reference | Maksim Denisov | |
...instead of using singleton calls. | |||
2024-06-18 | Pass RemoteServeConfig to ServeServerImpl by reference | Maksim Denisov | |
...instead of using singleton calls. | |||
2024-06-18 | Pass ServeApi by reference to the describe function | Maksim Denisov | |
...instead of using singleton calls. | |||
2024-06-18 | Pass ServeApi as a field of context to the analysis | Maksim Denisov | |
...instead of using singleton calls. | |||
2024-06-18 | Use ServeApi during bootstrap | Maksim Denisov | |
...with a default implementation. Although it is not used directly, it will be needed for instantiation of std::optional. | |||
2024-06-18 | Use an extensible structure to pass arguments to the analysis. | Maksim Denisov | |
2024-06-18 | Store services in ServeApi by value. | Maksim Denisov | |
* No stackoverflow is possible: there is just one instance of ServeApi and services are relatively 'light'; * Services are not optional and cannot be changed during their use; * operator-> is not free. | |||
2024-06-18 | Mark ServeApi's services' methods contant. | Maksim Denisov | |
2024-06-18 | Use RemoteServeConfig functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
2024-06-18 | Use ServeApi functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
2024-06-17 | Use c++20 standard in clang-format | Maksim Denisov | |
2024-06-17 | executor: properly separate stdout and stderr in log messages | Klaus Aehlig | |
... about processes producing both, stdout and stderr. By supporting unique readability of the output, we facilitate the understanding of the messages provided by actions. | |||
2024-06-17 | Add utility function for prefixing each line of a string | Klaus Aehlig | |
... and thus allowing proper quoting of command output. | |||
2024-06-11 | Move creation of TargetCacheKey description to TargetCache | Maksim Denisov | |
...to use corresponding Storage for storing auxiliary information. | |||
2024-06-07 | Move reading functionality to BazelNetworkReader | Maksim Denisov | |
...to enable validation of received blobs. | |||
2024-06-07 | Validate all blobs received over the network. | Maksim Denisov | |
2024-06-07 | Use BaselCasClient in BazelNetworkReader | Maksim Denisov | |
...bypassing BazelNetwork layer. | |||
2024-06-07 | Mark methods constant in BazelCasClient. | Maksim Denisov | |
2024-06-07 | Remove unused code | Maksim Denisov | |
2024-06-07 | Remove unused code. | Maksim Denisov | |
IExecutionApi::UploadFile was introduced to handle adding of a temporary file to the storage. The call was redirected to LocalCAS internal methods that do the similar thing, so this virtual method can be removed. | |||
2024-06-06 | tc writing: allow different log level | Klaus Aehlig | |
... for failures instead of the binary strict_logging. In this way, we can log at log level Error in the serve instance, and for the client at level Warning or Info, depending on whether failure is expected (i.e., if targets are potentially taken from a serve endpoint) or not. | |||
2024-06-06 | tc cache: abort writing if a dependent target is not available | Klaus Aehlig | |
After successful build of an export target target a cache entry is written. As those export targets have a dependency structure, care is taken to write them in correct order. Writing a cache entry for an export target requires knowledge of the analysis result of that target. Originally, all targets used to be analysed locally, so that information was available for every target that was not read from the local target cache already. However, with the introduction of serve endpoints, it can happen that a target was analyzed locally, but it depends on targets obtained from serve. In this case, we have to refrain from writing a target-level cache entry to keep the the consistency invariants of the target-level cache. | |||
2024-06-04 | blob containers: Store and upload taking into account content size | Paul Cristian Sarbu | |
Update logic populating containers to use the new method which is aware of the maximum transfer limit. | |||
2024-06-04 | common_api: Add method to help limit memory footprint of containers... | Paul Cristian Sarbu | |
...by proactively calling the Upload method for large blobs and containers as soon as the transfer limit is reached. | |||
2024-06-04 | bazel_network: Change UploadBlobs to also accept an rvalue | Paul Cristian Sarbu | |
This unifies the signature of all uploader functions consuming a BlobContainer type. | |||
2024-06-04 | ContentBlobContainer: Add content size field | Paul Cristian Sarbu | |
As the ContentBlobContainer is used to store actual content needed to be transferred, it is useful to automatically keep track of the running (bytes) size of the data being stored. | |||
2024-06-04 | rule language: support SYMLINK function | Klaus Aehlig | |
... to allow generating symlinks as part of a rule, as it is already described in our documentation. | |||
2024-05-28 | Use shared_ptr for data in ContentBlob | Maksim Denisov | |
...to reduce the "price" of copying. | |||
2024-05-28 | Use ArtifactBlobContainer in IExecutionApi | Maksim Denisov | |
...instead of BazelBlobContainer to not bring bazel_re::Digest to IExecutionApi. | |||
2024-05-28 | Use ArtifactBlob in BlobTree instead of BazelBlob. | Maksim Denisov | |
2024-05-28 | Move blob_tree to the common stage since it is used only there. | Maksim Denisov | |
2024-05-28 | Rename BlobContainer to BazelBlobContainer | Maksim Denisov | |
2024-05-28 | Convert BlobContainer to a template | Maksim Denisov | |
...where the template parameter is the type of a digest. | |||
2024-05-28 | Use TransformedRange in BlobContainer | Maksim Denisov | |
...instead of various iterators. | |||
2024-05-28 | Implement "on the fly" transformed range. | Maksim Denisov | |
2024-05-28 | Copy digest before emplacing in BlobContainer | Maksim Denisov | |
...fixing potentially dangerous code (evaluation order is unspecified). | |||
2024-05-28 | Move CreateBlobFromPath since it is only used in tests. | Maksim Denisov | |
2024-05-27 | Fix headers in local_cas and bazel_network. | Maksim Denisov | |
2024-05-27 | Use common interface for stream dumping | Maksim Denisov | |
...in LocalApi and BazelApi. | |||
2024-05-27 | Use common interface for reading tree entries and leafs | Maksim Denisov | |
...in LocalApi and BazelApi. | |||
2024-05-23 | Execution APIs: Extract common implementation into separate library | Paul Cristian Sarbu | |
This reduces the code duplication between the local and bazel APIs and improves code maintainability. | |||
2024-05-23 | execution_api: Cleanup of includes | Paul Cristian Sarbu | |
2024-05-23 | bazel_api: Remove extra complexity in RetrieveToCasSplitted | Paul Cristian Sarbu | |
We can avoid doing extra work in converting between bazel digests and artifact digests by actually using the API interface. | |||
2024-05-22 | Avoid memory usage duplication | Maksim Denisov | |