package com.github.trace_machina.nativelink.remote_execution

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service WorkerApi

worker_api.proto:31

/ 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 `ConnectWorkerRequest` / command to the scheduler. The scheduler will then use this information / to determine which jobs the worker can process.

message ActionResourceUsage

worker_api.proto:167

/ Resource usage observed by the worker while running one action.

Used in: events.ResponseEvent, ExecuteResult

message ConnectWorkerRequest

worker_api.proto:76

/ Represents the initial request sent to the scheduler informing the / scheduler about this worker's capabilities and metadata.

Used in: UpdateForScheduler

message ConnectionResult

worker_api.proto:207

/ Result sent back from the server when a node connects.

Used in: UpdateForWorker

message ExecuteAccepted

worker_api.proto:230

/ The worker took the action it was sent and is about to run it. Until / this arrives the scheduler has only charged its ledger on the send.

Used in: UpdateForScheduler

message ExecuteComplete

worker_api.proto:135

/ The result of an ExecutionComplete.

Used in: UpdateForScheduler

message ExecuteDeclined

worker_api.proto:238

/ The worker will not run the action it was sent. The scheduler restores / its ledger and requeues the action without counting an attempt, and / pauses the worker until it reports room again.

Used in: UpdateForScheduler

enum ExecuteDeclined.Reason

worker_api.proto:241

Used in: ExecuteDeclined

message ExecuteResult

worker_api.proto:108

/ The result of an ExecutionRequest.

Used in: UpdateForScheduler

message GoingAwayRequest

worker_api.proto:65

/ Request object for going away requests.

Used in: UpdateForScheduler

message HistoricalExecuteResponse

worker_api.proto:368

/ This is a special message used to save actions into the CAS that can be used / by programs like bb_browser 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

message KeepAliveRequest

worker_api.proto:57

/ Request object for keep alive requests.

Used in: UpdateForScheduler

message KillOperationRequest

worker_api.proto:264

/ Request to kill a running operation sent from the scheduler to a worker.

Used in: UpdateForWorker

message Reservation

worker_api.proto:159

/ The reservation an action was admitted under, echoed by the worker so / the measurement and the number it was measured against travel together.

Used in: ActionResourceUsage

enum ResourceOutcome

worker_api.proto:142

/ How an action ended, as the worker saw it. Separate from the exit code: / a kill by the worker or the kernel is a sizing fact, not a tool failure.

Used in: ActionResourceUsage

message StartExecute

worker_api.proto:339

Used in: events.RequestEvent, UpdateForWorker

message WorkerLoad

worker_api.proto:47

/ What a worker has to spare, sent with every keepalive so the scheduler / can veto a placement the admission ledger would allow. Absent from / older workers.

Used in: KeepAliveRequest