Get desktop application:
View/edit binary Protocol Buffers messages
/ This API describes how schedulers communicate with Worker nodes. / / When a worker node comes online it must be pre-configured with the / endpoint of the scheduler it will register with. Once the worker / connects to the scheduler it must send a `RegisterSupportedProperties` / command to the scheduler. The scheduler will then use this information / to determine which jobs the worker can process.
/ Registers this worker and informs the scheduler what properties / this worker supports. The response must be listened on the client / side for updates from the server. The first item sent will always be / a ConnectionResult, after that it is undefined.
/ Represents the initial request sent to the scheduler informing the / scheduler about this worker's capabilities and metadata.
/ The list of properties this worker can support. The exact / implementation is driven by the configuration matrix between the / worker and scheduler. / / The scheduler may reject this worker if any property keys that / the scheduler is not configured to support, or may simply ignore / the unsupported properties. / / The details on how to use this property can be found here: / https://github.com/TraceMachina/nativelink/blob/3147265047544572e3483c985e4aab0f9fdded38/nativelink-config/src/cas_server.rs
/ Prefix to use for worker IDs. This is primarily used for debugging / or for other systems to identify workers. The scheduler will always / append this prefix to the assigned worker_id followed by a UUIDv6.
/ Communication from the scheduler to the worker.
/ This will be sent only as the first item in the stream after the node / has connected.
/ Message used to let the worker know that it is still alive as well / as check to see if the worker is still alive. The worker / may close the connection if the scheduler has not sent any messages / after some amount of time (configured in the scheduler's / configuration).
/ Informs the worker about some work it should begin performing the / requested action.
/ Informs the worker that it has been disconnected from the pool. / The worker may discard any outstanding work that is being executed.
/ Instructs the worker to kill a specific running operation.
/ Message used to let the scheduler know that it is still alive as / well as check to see if the scheduler is still alive. The scheduler / may close the connection if the worker has not sent any messages / after some amount of time (configured in the scheduler's / configuration).
/ Request object for keep alive requests.
/ ID of the worker making the request.
/ Informs the scheduler that the service is going offline and / should stop issuing any new actions on this worker. / / The worker may stay connected even after sending this command / and may even send an `ExecuteResult` after sending this command. / It is up to the scheduler implementation to decide how to handle / this case. / / Any job that was running on this instance likely needs to be / executed again, but up to the scheduler on how or when to handle / this case.
/ Request object for going away requests.
/ ID of the worker making the request.
/ Informs the scheduler about the result of an execution request.
/ The result of an ExecutionRequest.
/ ID of the worker making the request.
/ The `instance_name` this task was initially assigned to. This is set by the client / that initially sent the job as part of the BRE protocol.
/ The operation ID that was executed.
/ The actual response data.
/ Result of the execution. See `build.bazel.remote.execution.v2.ExecuteResponse` / for details.
/ An internal error. This is only present when an internal error happened that / was not recoverable. If the execution job failed but at no fault of the worker / it should not use this field and should send the error via execute_response.
/ Result sent back from the server when a node connects.
Used in:
/ The internal ID given to the newly connected node.
/ This is a special message used to save actions into the CAS that can be used / by programs like bb_browswer to inspect the history of a build. / Note: Ensure this is always compatible with: / https://github.com/buildbarn/bb-remote-execution/blob/e95e066eb624dc9099682394ec18c12e218e8fc4/pkg/proto/cas/cas.proto#L23
/ Request to kill a running operation sent from the scheduler to a worker.
Used in:
/ The the operation id for the operation to be killed.
Used in:
,/ The action information used to execute job.
/ Id of the operation.
/ The time at which the command was added to the queue to allow population / of the ActionResult.
/ The post-computed platform properties that the scheduler has reserved for / the action.
/ The ID of the worker that is executing the action.