summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-07-22Use a fixed HashFunction in CompatibilityMaksim Denisov
2024-07-22Use a fixed HashFunction is source_treeMaksim Denisov
2024-07-22Use a fixed HashFunction in ReposToSetupMapMaksim Denisov
2024-07-22Use a fixed HashFunction in GitApiMaksim Denisov
2024-07-22Use a fixed HashFunction is subobjectMaksim Denisov
2024-07-22Use a fixed HashFunction in install_casMaksim Denisov
...to calculate the empty compatible hash.
2024-07-22Use a fixed HashFunction in CreateDirectoryDigestFromTreeMaksim Denisov
2024-07-22Use a fixed HashFunction for reading treesMaksim Denisov
2024-07-22Use a fixed HashFunction in TreeMaksim Denisov
2024-07-22Use a fixed HashFunction in ActionDescriptionMaksim Denisov
2024-07-22Use a fixed HashFunction in ArtifactDescriptionMaksim Denisov
2024-07-22Use a fixed HashFunction in expressionsMaksim Denisov
2024-07-22Use a fixed HashFunction for creation of UUID4Maksim Denisov
2024-07-22Pass HashFunction to ArtifactDigest::CreateMaksim Denisov
2024-07-22Use HashFunction functionality via Instance()Maksim Denisov
...to track changes during refactoring easier.
2024-07-22Remove unused code from HasherMaksim Denisov
2024-07-22Use a precreated GitApi in LocalCASMaksim Denisov
2024-07-22Move ObjectCAS::CreateDigest to the private spaceMaksim Denisov
2024-07-22import-to-git: fix typo in format stringKlaus Aehlig
2024-07-19For archives, also look in older repo generations before fetchingKlaus Aehlig
2024-07-19commit_git_map: take commit from older generations, if found thereKlaus 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-19just-mr: add subcommand gc-repoKlaus Aehlig
2024-07-19Take shared repo-gc lock wherever neededKlaus Aehlig
2024-07-19Add garbage collection routines for repository rootsKlaus Aehlig
2024-07-19Storage config: change layout to support several storage generationsKlaus Aehlig
2024-07-19git opertions: return tag for keep operationsKlaus Aehlig
2024-07-19git_repo: return keep tags on successKlaus Aehlig
... instead of the plain boolean value.
2024-07-19Remove the RetryConfig singletonPaul Cristian Sarbu
...and replace it with instances created early via a builder pattern.
2024-07-19Pass RetryConfig instance to ExecutorPaul Cristian Sarbu
2024-07-19Pass RetryConfig instance to ApiBundlePaul Cristian Sarbu
Also store a const ref for usage in setting up a fresh ApiBundle during target serve.
2024-07-19Pass RetryConfig instance to BazelApiPaul Cristian Sarbu
2024-07-19Pass RetryConfig instance to BazelNetwork and bazel clientsPaul Cristian Sarbu
2024-07-19Pass RetryConfig instance to WithRetryPaul Cristian Sarbu
2024-07-19WithRetry: Replace template parameters by std::functionPaul Cristian Sarbu
Now also requires guarding for bootstrapping to not bring in grpc.
2024-07-19just: Move RetryConfig setup before starting just servePaul 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-19Fix naming inconsistencies in retry configurationPaul 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-19common remote: Fix missing or wrong header guardsPaul Cristian Sarbu
2024-07-19Make OperationCache a general class, not singletonPaul 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-19just: Fix operation cache threshold exponent maximum valuePaul 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-19just: 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-18just-mr: Fix wrong exit code for --help callPaul 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-16Remove the RemoteExecutionConfig singletonPaul Cristian Sarbu
...and replace it with passed instances created early via a builder pattern. Tests are also updated accordingly.
2024-07-16Use RemoteExecutionConfig instances stored in ApiBundlePaul Cristian Sarbu
...wherever an ApiBundle is already being passed.
2024-07-16Pass RemoteExecutionConfig instance to ApiBundlePaul Cristian Sarbu
...and store it as a const ref for subsequent use wherever the apis are already passed.
2024-07-16TargetCache: Use StorageConfig instance for shardingPaul 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-16StorageConfig: Store also the execution backend description idPaul 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-16target service: Replace duplicated code in TC shard computationPaul 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-16Create separate library for DescribeBackendPaul Cristian Sarbu
2024-07-16Add useful aliases for platform properties and dispatch endpointPaul Cristian Sarbu
2024-07-16Remove the LocalExecutionConfig singletonPaul Cristian Sarbu
...and replace it with passed instances created early via a builder pattern.