Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-22 | Use a fixed HashFunction in Compatibility | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction is source_tree | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in ReposToSetupMap | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in GitApi | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction is subobject | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in install_cas | Maksim Denisov | |
...to calculate the empty compatible hash. | |||
2024-07-22 | Use a fixed HashFunction in CreateDirectoryDigestFromTree | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction for reading trees | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in Tree | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in ActionDescription | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in ArtifactDescription | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction in expressions | Maksim Denisov | |
2024-07-22 | Use a fixed HashFunction for creation of UUID4 | 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-22 | Remove unused code from Hasher | Maksim Denisov | |
2024-07-22 | Use a precreated GitApi in LocalCAS | Maksim Denisov | |
2024-07-22 | Move ObjectCAS::CreateDigest to the private space | Maksim Denisov | |
2024-07-22 | import-to-git: fix typo in format string | Klaus Aehlig | |
2024-07-19 | For archives, also look in older repo generations before fetching | Klaus Aehlig | |
2024-07-19 | commit_git_map: take commit from older generations, if found there | Klaus Aehlig | |
If we're asked to fetch a commit that is not present in our git root right away, first look for it in older generations before starting the actual fetch. | |||
2024-07-19 | just-mr: add subcommand gc-repo | Klaus Aehlig | |
2024-07-19 | Take shared repo-gc lock wherever needed | Klaus Aehlig | |
2024-07-19 | Add garbage collection routines for repository roots | Klaus Aehlig | |
2024-07-19 | Storage config: change layout to support several storage generations | Klaus Aehlig | |
2024-07-19 | git opertions: return tag for keep operations | Klaus Aehlig | |
2024-07-19 | git_repo: return keep tags on success | Klaus Aehlig | |
... instead of the plain boolean value. | |||
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. | |||
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 | Pass RetryConfig instance to WithRetry | Paul Cristian Sarbu | |
2024-07-19 | WithRetry: Replace template parameters by std::function | Paul Cristian Sarbu | |
Now also requires guarding for bootstrapping to not bring in grpc. | |||
2024-07-19 | just: Move RetryConfig setup before starting just serve | Paul Cristian Sarbu | |
As the serve endpoint acts also as a regular client to its associated remote-execution endpoint, it should employ the same retry strategy as the regular just client. Also updates ReadJustServeConfig to store the retry config arguments instead of calling the RetryConfig singleton setters directly, thus clearly separating the reading of the arguments from the creation of any configuration singleton/instance. | |||
2024-07-19 | Fix naming inconsistencies in retry configuration | Paul Cristian Sarbu | |
The retry_parameters.hpp header-only library defining the Retry class now is the retry_config.hpp header-only library defining the RetryConfig class. | |||
2024-07-19 | common remote: Fix missing or wrong header guards | Paul Cristian Sarbu | |
2024-07-19 | Make OperationCache a general class, not singleton | Paul Cristian Sarbu | |
As it is used by just execute only, instantiate it inside the ExecutionServer, which reads and writes to the cache map, and pass a const ref to OperationsServer, which only queries. | |||
2024-07-19 | just: Fix operation cache threshold exponent maximum value | Paul Cristian Sarbu | |
The threshold exponent cannot pass the log2 of the maximum internal map size, of type size_t, thus it cannot be larger than 63. Update the documentation and enforce the upper limit of this argument during parsing of the command line. | |||
2024-07-19 | just: Minimize needed config for 'just execute' | Paul Cristian Sarbu | |
As 'just execute' does not actually use the remote api, the configuration instances created for it can be streamlined or moved out of its scope. | |||
2024-07-18 | just-mr: Fix wrong exit code for --help call | Paul Cristian Sarbu | |
Due to the specifics of how CLI11 library handles the --help argument and the fact that just-mr uses its own set of exit codes, we were correctly printing the help text, but falsely returning a non-zero exit code as result. This is now fixed. | |||
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 | Use RemoteExecutionConfig instances stored in ApiBundle | Paul Cristian Sarbu | |
...wherever an ApiBundle is already being passed. | |||
2024-07-16 | Pass RemoteExecutionConfig instance to ApiBundle | Paul Cristian Sarbu | |
...and store it as a const ref for subsequent use wherever the apis are already passed. | |||
2024-07-16 | TargetCache: Use StorageConfig instance for sharding | Paul Cristian Sarbu | |
Instead of computing the shard based on the RemoteExecutionConfig singleton, use the already computed hash stored in the passed StorageConfig instance, which now needs to be set up separately if bootstrapping in order to avoid unwanted includes. Storing the backend description to CAS and corresponding audit checks now take place in main. | |||
2024-07-16 | StorageConfig: Store also the execution backend description id | Paul Cristian Sarbu | |
...such that it will be available to the TargetCache for sharing. Also, GC does not require remote execution information, so the logic for this subcommand is moved earlier in main. | |||
2024-07-16 | target service: Replace duplicated code in TC shard computation | Paul Cristian Sarbu | |
...by using the new DescribeBackend method instead. This ensures that the TC shard computation is indeed consistent between local and serve endpoint. | |||
2024-07-16 | Create separate library for DescribeBackend | Paul Cristian Sarbu | |
2024-07-16 | Add useful aliases for platform properties and dispatch endpoint | Paul Cristian Sarbu | |
2024-07-16 | Remove the LocalExecutionConfig singleton | Paul Cristian Sarbu | |
...and replace it with passed instances created early via a builder pattern. |