Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-01-08 | serve distdir tree: Server-side implementation | Paul Cristian Sarbu | |
2024-01-08 | just_serve.proto: Add 'tree of a distdir' request | Paul Cristian Sarbu | |
2024-01-08 | serve content or tree: Check for Git object also in local CAS | Paul Cristian Sarbu | |
2024-01-08 | serve source tree: Improve log messages when sync with remote fails | Paul Cristian Sarbu | |
2024-01-08 | serve archive tree: Add missing check for content in local CAS | Paul Cristian Sarbu | |
When serving the tree of an archive, we should check also in the local CAS for the content blob. | |||
2024-01-08 | serve configuration client: Fix logger name | Paul Cristian Sarbu | |
2023-12-21 | serve target handling: store blobs also locally | Klaus Aehlig | |
... before trying to upload from local storage to the remote CAS. Co-authored-by: Alberto Sartori <alberto.sartori@huawei.com> | |||
2023-12-21 | ServeTarget: downgrade log level to performance | Klaus Aehlig | |
The error log level should be reserved for events that inevitably lead to a failed build. A failure to receive a target from the serve endpoint, however, is not such a case; for performance reasons, and also to have the same artifacts as everyone else in the case of non-reproducible dependencies, just inquires the serve end point for every export target whenever a serve end point is given. In this case, the build just continues even if the serve end point is, e.g., lacking a certain root. | |||
2023-12-14 | just serve target description: Client-side and API implementation | Paul Cristian Sarbu | |
2023-12-14 | just serve target description: Server-side implementation | Paul Cristian Sarbu | |
2023-12-14 | just_serve.proto: Add rpc to serve description of an export target | Paul Cristian Sarbu | |
2023-12-14 | just serve target: Add clarifying comment in shard computation | Paul Cristian Sarbu | |
2023-12-12 | just serve: Implement a progress reporting infrastructure | Paul Cristian Sarbu | |
This commit simply defines the logic needed for progress reporting. | |||
2023-12-12 | serve target: Update client-side to add execution configuration fields to ↵ | Paul Cristian Sarbu | |
request | |||
2023-12-12 | serve target: Update server-side to compute correct target cache shard | Paul Cristian Sarbu | |
2023-12-12 | just_serve.proto: Update serve target request | Paul Cristian Sarbu | |
The request should only be restricted to the minimal information needed by the remote to answer it. In particular, the execution endpoint address should not be transmitted. | |||
2023-12-12 | just serve: Fix handling of missing remote execution endpoint | Paul Cristian Sarbu | |
Only the client needs to make sure that the remote execution endpoint is set in the case 'just serve' acts also as 'just execute', i.e., when a remote execution endpoint is not specified, while for setting up the serve server a missing execution endpoint should remain unset. | |||
2023-12-12 | serve configuration: Fix remote execution check to allow unset value | Paul Cristian Sarbu | |
In the scenario when 'just serve' acts as 'just execute', the remote execution endpoint returned by the serve service should be allowed to be empty. In this case, from the server's perspective, there is nothing to be checked, however a client might still want to ensure that its own configured serve and execution endpoints match. | |||
2023-12-12 | serve target: Move server-side helper methods in own library | Paul Cristian Sarbu | |
2023-12-12 | serve target: Use consistent scope resolution in grpc calls | Paul Cristian Sarbu | |
2023-12-07 | just serve: Implement client-side ServeTree and extend serve API | Paul Cristian Sarbu | |
2023-12-07 | just serve: Implement server-side ServeTree RPC | Paul Cristian Sarbu | |
2023-12-07 | source_tree.cpp: Fix wrong path in log message | Paul Cristian Sarbu | |
2023-12-07 | just_serve.proto: Add rpc to serve known tree and sync it to remote CAS | Paul Cristian Sarbu | |
2023-12-06 | just serve: make tc write strategy configurable | Klaus Aehlig | |
2023-12-05 | just serve: Orchestrate remote build for uncached export targets | Paul Cristian Sarbu | |
2023-12-05 | serve target client: Ensure repository key blob is also in remote CAS | Paul Cristian Sarbu | |
2023-12-05 | just serve: Add configuration fields for remote builds | Paul Cristian Sarbu | |
2023-12-05 | serve target: Add missing gc lock | Paul Cristian Sarbu | |
2023-12-04 | target.hpp: Fix double include statement | Paul Cristian Sarbu | |
2023-11-30 | Resolve inconsistencies in third-party headers include format | Paul Cristian Sarbu | |
2023-11-27 | Refactoring RepositoryConfig | Paul Cristian Sarbu | |
With the introduction of 'just serve', export targets can now be built also independently from one another based on their corresponding minimal repository configuration, as stored in the target cache key. In this context, this commit changes the RepositoryConfig usage from one global (static) instance to pointers passed as necessary throughout the code. | |||
2023-11-21 | just serve: Implement client-side ServeContent and extend serve API | Paul Cristian Sarbu | |
2023-11-21 | just serve: Implement server-side ServeContent RPC | Paul Cristian Sarbu | |
2023-11-21 | just_serve.proto: define ServeContent RPC | Paul Cristian Sarbu | |
2023-11-21 | SourceTree service: Bump up server-side log levels | Paul Cristian Sarbu | |
Log levels on the server-side should reflect the meaning of the status codes in the response messages. As such, anything that leads directly to an error-type status code has been bumped up to log level Error, the rest to log level Info. | |||
2023-11-16 | remote-execution-endpoint: fall back to remote-serve-endpoint | Alberto Sartori | |
If only the `--remote-serve-endpoint` option is specified on the command line, the `--remote-execution-endpoint` is also set to the given value. This makes the spawning and usage of just-execute consistent. When just-serve is started, if no remote execution endpoint is provided, the same process will also act as a just-execute instance. With the current patch, the client can thus only write, on command line, the remote serve address, avoiding the repetition of the same address for two different options. | |||
2023-11-15 | just-serve: Extend client and API for services Target and Configuration | Paul Cristian Sarbu | |
Co-authored-by: Alberto Sartori <alberto.sartori@huawei.com> | |||
2023-11-15 | just-serve: initial server-side implementation of "Target" and ↵ | Alberto Sartori | |
"Configuration" services. The RPC ServeTarget has not implemented the orchestration of remote build yet. If the TargetCacheKey is not found in the target cache, the response contains status == grpc::StatusCode::UNIMPLEMENTED. Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | |||
2023-11-15 | just-serve: start a just-execute instance if the user does not provide... | Alberto Sartori | |
...a remote execution end-point for just-serve. | |||
2023-11-15 | just_serve.proto: add Configuration service | Alberto Sartori | |
This service allows to query the configuration of the just-serve instance. In particular, it is used to double-check that the associated remote end point is the same used by the interrogating client. | |||
2023-11-15 | just_serve.proto: define service Target | Alberto Sartori | |
It defines two RPC: - ServeTarget: Given a target-level caching key, returns the computed value. - ServeTargetVariables: Given the target-level root tree and the name of an export target, returns the list of flexible variables from that target's description. Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | |||
2023-11-15 | serve api config: Fix missing header guard | Paul Cristian Sarbu | |
2023-11-15 | source_tree: add missing dep | Alberto Sartori | |
2023-11-02 | remote serve: Extend client and API with tree-of-archive service calls | Paul Cristian Sarbu | |
2023-11-02 | just serve: Implement service to get Git tree of an archive content | Paul Cristian Sarbu | |
Also adds missing TARGETS file in serve_api folder and ensures code comments are consistent with the proto file. | |||
2023-11-02 | just serve: Fix inconsistencies | Paul Cristian Sarbu | |
- add missing serve_api TARGETS file - rename service client to align with server naming scheme - fix inconsistencies in comments between implementation and protocol | |||
2023-11-02 | just serve: add a request to get the tree of an archive | Klaus Aehlig | |
Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | |||
2023-10-06 | CreateExecutionApi: define a new library to avoid code duplication | Alberto Sartori | |
2023-09-22 | RemoteServeConfig: Remove problematic inheritance | Paul Cristian Sarbu | |
This was causing the remote serve address to overwrite the one set for remote execution. Also, to keep things clean, some common remote server-related methods and definitions were moved into their own library. |