Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2024-07-16 | Pass LocalExecutionConfig to TargetService | Paul Cristian Sarbu | |
2024-07-16 | Pass LocalExecutionConfig to ApiBundle | Paul Cristian Sarbu | |
2024-07-16 | Pass LocalExecutionConfig to LocalAction and LocalApi | Paul Cristian Sarbu | |
2024-07-16 | LocalAction, BazelAction: Extend constness in fields and methods | Paul Cristian Sarbu | |
2024-07-16 | Remove Data struct from LocalExecutionConfig | Paul Cristian Sarbu | |
...to simplify the class and clarify the singleton pattern in preparation for its removal. | |||
2024-07-16 | Add missing RemoteExecutionConfig includes | Paul Cristian Sarbu | |
2024-07-16 | Ensure config builders always have a valid state | Paul Cristian Sarbu | |
...by making the respective Build methods const. It should be perfectly valid for multiple Build calls to happen for the same builder instance, so its internal state should never be invalidated by, e.g., moving from internal fields. | |||
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 FromDescription method | Maksim Denisov | |
...since it is used in tests only. | |||
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 precalculated hash for comparison of ArtifactDescriptions | Maksim Denisov | |
...instead of comparing raw data. | |||
2024-07-12 | Use static Create functions to construct ArtifactDescription | Maksim Denisov | |
...instead of unobvious ctors relying on overload resolution. | |||
2024-07-12 | Move implementation details of ArtifactDescription to the cpp file | Maksim Denisov | |
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-12 | DAG: remove unused methods | Maksim Denisov | |
2024-07-12 | Capture in TreeReaders by pointer to avoid temporaries | Maksim Denisov | |
2024-07-12 | Replace IBundle classes family with BazelBlob | Maksim Denisov | |
2024-07-12 | Return std::nullopt if creation of an action digest fails | Maksim Denisov | |
...instead of dereferencing nullptr. | |||
2024-07-12 | Pack arguments of CreateActionDigestFromCommandLine to a struct | Maksim Denisov | |
2024-07-12 | Remove unused parameters in CreateDirectoryDigestFromTree | Maksim Denisov | |
2024-07-12 | Move BazelMsgFactory reading functions to a separate class | Maksim Denisov | |
2024-07-12 | Store newly spliced executables as copies. | Maksim Denisov | |
During multithreaded splicing, the main process can be forked (inheriting open file descriptors). In this case, the executable file saved using hardlinking becomes inaccessible. To prevent this, executables must be stored as copies made in a child process. | |||
2024-07-11 | just: Fix storage instantiation in main | Paul Cristian Sarbu | |
As the storage instance also instantiates the target cache, we need to ensure that each such instance has at that point all the correct remote endpoint information to ensure the target cache sharding works as expected. In particular, the server-side and client-side operations of just have a slightly different setup for the remote endpoint address, therefore they require the storage instantiation to be done separately. | |||
2024-07-10 | ParallelRetrieveToCas: process prerequisites in parallel | Klaus Aehlig | |
2024-07-10 | ParallelRetrieveToCas: avoid duplicated requests | Klaus Aehlig | |
While no additional blob will be transferred, doing a request for missing blobs is still a request and, in particular, an unnecessary round trip. Therefore avoid this, by remembering what we synchronized already. | |||
2024-07-10 | Artifact::ObjectInfo: add order | Klaus Aehlig | |
2024-07-10 | ArtifactDigest: add order | Klaus Aehlig | |
2024-07-05 | local action: copy input file on reaching symlink limit | Klaus Aehlig | |
... and continue with the newly created copy as target for the next hard links. In this way, we get rid of the restriction we used to have that the number of identical inputs be not greater than the hardlink limit. | |||
2024-07-05 | FileSystemManager::CreateFileHardlink: return error code on failure | Klaus Aehlig | |
Instead of returning a plain boolean, return an expected with the same boolean value that in case of an error indicates the error code. In this way, an error-specific handling is possible by consumers. While there, also add proper quoting of the involved file names. | |||
2024-07-05 | Convert StorageConfig to a general class | Maksim Denisov | |
2024-07-05 | Convert Storage to a general class | Maksim Denisov | |
2024-07-05 | Call uplinking via Uplinker | Maksim Denisov | |
... instead of static calls to GarbageCollector | |||
2024-07-05 | Implement uplinking logic in a separate class. | Maksim Denisov | |
2024-07-05 | Use StorageConfig with generation for initialization of Storage's generations | Maksim Denisov | |
...instead of std::filesystem::path. StorageConfig is extended to return paths of Storage's parts. | |||
2024-07-05 | Pass StorageConfig and Storage to just-mr maps | Maksim Denisov | |
2024-07-05 | Pass Storage to add-to-cas | Maksim Denisov | |
2024-07-05 | Pass Storage to RepositoryConfig | Maksim Denisov | |
...and adjust AnalyseContext. | |||
2024-07-05 | Pass StorageConfig and Storage to LocalApi | Maksim Denisov | |
2024-07-05 | Pass StorageConfig and Storage to ServerImpl | Maksim Denisov | |
2024-07-05 | Pass StorageConfig and Storage to Serve | Maksim Denisov | |
2024-07-05 | Pass StorageConfig to git_repo and git_repo_remote | Maksim Denisov | |
2024-07-05 | Pass Storage and StorageConfig to StorageUtils by reference | Maksim Denisov | |
2024-07-05 | Pass StorageConfig to GarbageCollection | Maksim Denisov | |
2024-07-05 | Pass StorageConfig to GarbageCollector::SharedLock | Maksim Denisov | |