Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-12 | Remove unused variables | Klaus Aehlig | |
2024-09-11 | Use HashFunction::Type to deserialize ArtifactDescription | Maksim Denisov | |
2024-09-11 | Use ArtifactDigestFactory in tests | Maksim Denisov | |
...to create ArtifactDigests. In some tests ArtifactDigests were constructed using non-hexadecimal string identifiers. These tests were adjusted so that ArtifactDigest contained a valid hash. | |||
2024-09-09 | Replace ArtifactDigest::Create | Maksim Denisov | |
...with ArtifactDigestFactory::HashDataAs | |||
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 | Avoid deep copies of containers in responses. | Maksim Denisov | |
2024-08-07 | Replace classic C boolean operators with keywords | Maksim Denisov | |
! => not; && => and, || => or | |||
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 | test executor: Remove unnecessary code duplication | Paul Cristian Sarbu | |
2024-07-30 | Pass ExecutionContext to GraphTraverser and Executor/Rebuilder | Paul Cristian Sarbu | |
Also update the classes documentation accordingly. | |||
2024-07-30 | executor: Use ApiBundle | Paul Cristian Sarbu | |
...instead of separate local and remote instances. For tests, where different implementations of the IExecutionApi interface are used, ApiBundle instances are created by explicitly setting the struct fields instead of using ApiBundle::Create. | |||
2024-07-30 | Pass RemoteContext to Executor/Rebuilder | Paul Cristian Sarbu | |
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 | Pass HashFunction to Executor | Maksim Denisov | |
2024-07-22 | Pass HashFunction to BazelApi | Maksim Denisov | |
2024-07-22 | Use HashFunction functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
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 Executor | Paul Cristian Sarbu | |
2024-07-19 | Pass RetryConfig instance to BazelApi | Paul Cristian Sarbu | |
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-12 | Remove redundant ArtifactFactory class used in tests only | Maksim Denisov | |
...and move the related tests to artifact_description.test | |||
2024-07-12 | ArtifactFactory: remove Identifier method | Maksim Denisov | |
...since it is used in tests only. It also duplicated serialization-deserialization of ArtifactDescription. | |||
2024-07-12 | Use static Create functions to construct ArtifactDescription | Maksim Denisov | |
...instead of unobvious ctors relying on overload resolution. | |||
2024-07-12 | DAG: remove methods used in tests only | Maksim Denisov | |
2024-07-12 | DAG: remove IsValid since it is used in tests only. | Maksim Denisov | |
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-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 BazelApi and ServeApi | Paul Cristian Sarbu | |
2024-06-27 | Use a raw pointer for passing optional IExecutionApi | Maksim Denisov | |
...instead of std::optional<gsl::not_null<IExecutionApi const*>> | |||
2024-06-25 | Introduce a type allias for an optional ptr to IExecutionApi | Maksim Denisov | |
...and replace verbose constructions. | |||
2024-06-25 | Pass IExecutionApi to IExecutionApi by reference | Maksim Denisov | |
...instead of not_null const ptr. | |||
2024-06-25 | Mark IExecutionApi's methods constant | Maksim Denisov | |
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 | Rename BlobContainer to BazelBlobContainer | Maksim Denisov | |
2024-05-28 | Use TransformedRange in BlobContainer | Maksim Denisov | |
...instead of various iterators. | |||
2024-04-08 | test: Add missing includes and fix deps | Paul Cristian Sarbu | |
2024-03-11 | just: Replace singletons for progress tracking and statistics... | Paul Cristian Sarbu | |
...with regular instances that have controlled life-times. This avoids race conditions in tracking and reporting the results of analysis and build, as the serve endpoint can orchestrate multiple builds at the same time asynchronously. As a bonus side-effect this also ensures the correctness of the progress reporting per orchestrated build. | |||
2024-02-13 | executor-api test: also set env for echo | Klaus Aehlig | |
... in order to not rely on the default launcher to pull it in. | |||
2024-02-07 | executor tests: only use hard-coded paths if no PATH is provided | Klaus T. Aehlig | |
2024-01-24 | just: Wrap IExecutionApi raw pointer arguments | Paul Cristian Sarbu | |
...in accordance to our coding style. |