Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-23 | Add a test verifying that out_dirs are normalized | Klaus Aehlig | |
2024-08-23 | test gc-repo: forward PATH in launcher | Klaus Aehlig | |
... so that we can run with whatever ambient path is present rather than relying on standard paths pulled in by env. | |||
2024-08-21 | tests: use newly defined test suite | Klaus Aehlig | |
... so that linting information gets propagated properly. | |||
2024-08-20 | ["utils/serve_service", "CC test"]: honor LINT | Klaus Aehlig | |
2024-08-20 | ["utils/remote-execution", "CC test"]: honor LINT | Klaus Aehlig | |
2024-08-14 | expression language: add nub_left | Klaus Aehlig | |
Originally, the expression lanuage only contained a function to deduplicate a list, keeping only the right-most occurence. The reason was that this is the order needed for linking: a library providing an open symbol has to come on the command line after the library using that symbol (and hence making it an open symbol). However, by now use cases have emerged that require a topological sorting where definition comes before use; also, when composing the value of PATH from fragments, we usually want to keep the first occurrence in order for it to take precedence. Therefore, also add "nub_left" as built-in function, allowing a more condense (and slightly more efficient) description in rules instead of the revserse-nub_right-reverse pattern. | |||
2024-08-07 | Avoid deep copies of containers in responses. | Maksim Denisov | |
2024-08-07 | Remove unused code from Artifact::ObjectInfo | Maksim Denisov | |
Deserialization from json is used in a single test only | |||
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-06 | analyse: extend provides map when switching to action input | Klaus Aehlig | |
When switching from a target to the artifacts that are the inputs of a particular action, the provides map is also switched to provide additional (besides the inputs) information about the action, in particular the command. Extend this provides map with the remaining information, in particular the working directory. | |||
2024-08-05 | Expression language: add expression from_subdir | Klaus Aehlig | |
... allowing to select only the keys in a specific subdir, and move the them to top-level. | |||
2024-08-05 | expression test: use built-in quoting | Klaus Aehlig | |
... instead of having a custom quoting function in the tests. | |||
2024-08-02 | End-to-end test: verify unrelated cwd | Klaus Aehlig | |
... also ensuring that the implict empty tree is added as input. | |||
2024-08-02 | Add end-to-end test verifying that cwd is handled correctly | Klaus Aehlig | |
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-08-01 | Add a utility function to rewrite path strings relative to a subdirectory | Klaus Aehlig | |
2024-08-01 | Add a test verifying that upwards outputs are rejected | Klaus Aehlig | |
This is implemented already, however as part of the tree-conflict check. | |||
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 | ApiBundle: Use a creator method instead of constructor | Paul Cristian Sarbu | |
This will allow for ApiBundle to be used together with the TestApi implementation of IExecutionApi in tests. Also rename CreateRemote method to MakeRemote in order to remove any semantical confusion. | |||
2024-07-30 | Pass RemoteContext to Executor/Rebuilder | Paul Cristian Sarbu | |
2024-07-30 | Pass RemoteContext to GraphTraverser | Paul Cristian Sarbu | |
It is passed as a not_null const pointer, to avoid binding to temporaries, and stored as a const reference to be later passed also to Executor/Rebuilder. | |||
2024-07-30 | Pass LocalContext and RemoteContext to ServeApi | Paul Cristian Sarbu | |
Also switch to using the fields from RemoteContext instances instead of those from ApiBundle. | |||
2024-07-30 | Pass RemoteContext to ApiBundle | Paul Cristian Sarbu | |
The CreateRemote method is also updated to receive all remote-related information as arguments, such that it does not have to rely on the ApiBundle internal fields which will eventually be removed. | |||
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-30 | Pass LocalContext to ApiBundle | Paul Cristian Sarbu | |
2024-07-26 | Add quasiquote expression | Klaus Aehlig | |
2024-07-26 | expression language: add quoting | Klaus Aehlig | |
2024-07-24 | Extend gc-repo test to also verify that git-tree repositories are taken from ↵ | Klaus Aehlig | |
older generations | |||
2024-07-23 | Extend gc-repo test to also verify foreign files are taken from old generations | Klaus Aehlig | |
2024-07-22 | Rename HashFunction methods and enums | Maksim Denisov | |
2024-07-22 | Create Hasher using a static function | Maksim Denisov | |
2024-07-22 | Unify tagging logic in HashFunction | Maksim Denisov | |
2024-07-22 | Convert HashFunction to a regular class | Maksim Denisov | |
2024-07-22 | Remove singleton calls to HashFunction in tests | Maksim Denisov | |
2024-07-22 | Pass HashFunction from StorageConfig to Storage | Maksim Denisov | |
2024-07-22 | Store HashFunction in StorageConfig | Maksim Denisov | |
2024-07-22 | Pass HashFunction to Executor | 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-22 | Use HashFunction functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
2024-07-19 | Extend gc-repo test to also verify archives are taken from old generation | Klaus Aehlig | |
2024-07-19 | Add test verifying that git repos of the old generation are used | Klaus Aehlig | |
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 ApiBundle | Paul Cristian Sarbu | |
Also store a const ref for usage in setting up a fresh ApiBundle during target serve. |