Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-10-25 | Add dependencies explicitly that are included directly | Klaus Aehlig | |
... instead of relying on those dependencies being pulled in indirectly. | |||
2024-10-25 | Test deep rehashing of Git trees to bazel Directories | Maksim Denisov | |
Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | |||
2024-10-25 | bazel_execution_client.test.cpp: add a comment to explain the meaning of the ↵ | Alberto Sartori | |
boolean "wait" | |||
2024-10-07 | Enable readability-* checks. | Maksim Denisov | |
2024-09-23 | Reorder dependencies and remove duplicates in OSS | 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-18 | Add tests for ByteStreamUtils::{Read, Write}Request | Maksim Denisov | |
2024-09-18 | Implement ByteStreamUtils::WriteRequest class | Maksim Denisov | |
...and remove split serialization/deserialization logic. | |||
2024-09-18 | Implement ByteStreamUtils::ReadRequest class | Maksim Denisov | |
...and remove split serialization/deserialization implementations. | |||
2024-09-18 | Remove ByteStreamClient::{Read, Write}Many | Maksim Denisov | |
...since they were used only in tests. | |||
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-16 | execution_response: Allow failures to be reported while populating | Paul Cristian Sarbu | |
As populating the containers from remote response only takes place once, no assumptions should be made that this cannot fail (for example if wrong or invalid entries were produced). Instead, return error messages on failure to callers that can log accordingly. | |||
2024-09-13 | Use TestHashType in tests | Maksim Denisov | |
...instead of calling ProtocolTraits::IsCompatible | |||
2024-09-13 | Rename Compatibility class to ProtocolTraits | Maksim Denisov | |
...and move it to the common stage. | |||
2024-09-09 | Replace ArtifactDigest::Create | Maksim Denisov | |
...with ArtifactDigestFactory::HashDataAs | |||
2024-08-30 | Use BazelDigestFactory to create bazel_re::Digest directly if needed | Maksim Denisov | |
...bypassing ArtifactDigest functionality. | |||
2024-08-30 | Replace bazel_re::Digest in BazelMsgFactory (trees) | Maksim Denisov | |
...with ArtifactDigest. | |||
2024-08-30 | Move artifact_blob_container to a standalone library | Maksim Denisov | |
2024-08-30 | Remove blob_creator lib from tests | Maksim Denisov | |
...and move this functionality to bazel_msg_factory_test, where it is actually used. For local_cas.test the regular hashing is used, since blob_creator is redundant there. | |||
2024-08-27 | bytestream API: verify that invalid digests are rejected | Klaus Aehlig | |
2024-08-27 | Reformat code to comply with clang-format 18 | Klaus Aehlig | |
... while keeping our .clang-format file. | |||
2024-08-21 | tests: use newly defined test suite | Klaus Aehlig | |
... so that linting information gets propagated properly. | |||
2024-08-07 | Replace classic C boolean operators with keywords | Maksim Denisov | |
! => not; && => and, || => or | |||
2024-08-07 | Add missing guard | 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-30 | Use LocalContext in execution and serve services | Paul Cristian Sarbu | |
The context is passed by not_null const pointer in order to avoid binding to temporaries, and it or parts of it get stored by const ref where needed. | |||
2024-07-30 | Pass LocalContext to LocalApi | Paul Cristian Sarbu | |
The context is passed by not_null const pointer to avoid binding to temporaries. The LocalApi also stores the context as const ref for further access and passing it to LocalAction. | |||
2024-07-22 | Rename HashFunction methods and enums | Maksim Denisov | |
2024-07-22 | Remove singleton calls to HashFunction in tests | Maksim Denisov | |
2024-07-22 | Store HashFunction in StorageConfig | Maksim Denisov | |
2024-07-22 | Pass HashFunction to BazelApi | Maksim Denisov | |
2024-07-22 | Pass HashFunction to BazelNetwork | Maksim Denisov | |
2024-07-22 | Pass HashFunction to ArtifactDigest::Create | Maksim Denisov | |
2024-07-19 | Remove the RetryConfig singleton | Paul Cristian Sarbu | |
...and replace it with instances created early via a builder pattern. | |||
2024-07-19 | Pass RetryConfig instance to BazelApi | Paul Cristian Sarbu | |
2024-07-19 | Pass RetryConfig instance to BazelNetwork and bazel clients | Paul Cristian Sarbu | |
2024-07-19 | api_test: Rename SetLauncher to CreateLocalExecConfig | Paul Cristian Sarbu | |
This is in line with similar change in other tests, as this name is more appropriate for its purpose. | |||
2024-07-16 | Remove the RemoteExecutionConfig singleton | Paul Cristian Sarbu | |
...and replace it with passed instances created early via a builder pattern. Tests are also updated accordingly. | |||
2024-07-16 | Remove the LocalExecutionConfig singleton | Paul Cristian Sarbu | |
...and replace it with passed instances created early via a builder pattern. | |||
2024-07-16 | Pass LocalExecutionConfig to LocalAction and LocalApi | Paul Cristian Sarbu | |
2024-07-16 | test: Reduce verbosity in config methods | Paul Cristian Sarbu | |
As the classes describe the config type, their static creators can have generic names, which reduces unnecessary verbosity. | |||
2024-07-16 | Check compatibility in the test of cas_server | Maksim Denisov | |
2024-07-12 | ArtifactFactory: remove FromDescription method | Maksim Denisov | |
...since it is used in tests only. | |||
2024-07-05 | Remove HermeticLocalTestFixture | Maksim Denisov | |
...and create StorageConfig and Storage in place if needed. | |||
2024-07-05 | Convert Storage to a general class | Maksim Denisov | |
2024-07-05 | Pass StorageConfig and Storage to LocalApi | Maksim Denisov | |
2024-07-05 | Pass StorageConfig and Storage to ServerImpl | Maksim Denisov | |
2024-07-04 | Replace the Auth and Auth::TLS singletons | Paul Cristian Sarbu | |
Use a builder pattern for creation and validation, in a manner that allows also other authentication methods to be added in the future besides the current TLS/SSL. The main Auth instances are built early and then passed by not_null const pointers, to avoid passing temporaries, replacing the previous Auth::TLS instances passed by simple nullable const pointers. Where needed, these passed Auth instances are also stored, by const ref. Tests also build Auth instances as needed, either with the default 'no certification' or from the test environment arguments. | |||
2024-07-04 | Pass Auth::TLS instance to serve and execute clients | Paul Cristian Sarbu | |
2024-07-04 | Pass Auth::TLS instance to BazelApi and ServeApi | Paul Cristian Sarbu | |