Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion apis/workflows/v1/worker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,19 @@
// The workflow (and the release) that this worker was created from.
workflows.v1.Workflow workflow = 4;
// The storage locations that the worker runtime can access, for triggered automations.
repeated StorageLocation locations = 5;
TileboxAPIConnection api_connection = 5;

Check failure on line 26 in apis/workflows/v1/worker.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "5" on message "InitializeRunnerRequest" changed name from "locations" to "api_connection".

Check failure on line 26 in apis/workflows/v1/worker.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "5" with name "api_connection" on message "InitializeRunnerRequest" changed type from "workflows.v1.StorageLocation" to "workflows.v1.TileboxAPIConnection".

Check failure on line 26 in apis/workflows/v1/worker.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "5" with name "api_connection" on message "InitializeRunnerRequest" changed cardinality from "repeated" to "optional with explicit presence".

Check failure on line 26 in apis/workflows/v1/worker.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "5" with name "api_connection" on message "InitializeRunnerRequest" changed option "json_name" from "locations" to "apiConnection".
}

// TileboxAPIConnection is a message containing the information needed for a worker runtime to connect to the Tilebox
// API, to e.g. export observability data to (logs and traces). It's the credentials that the tilebox-cli locally
// uses to connect to the Tilebox API, and is passed down to the worker runtimes so that they can also connect to the
// Tilebox API in the same way. Since this only is done on a local machine, via a unix socket, and not in a shared
// environment or over the internet, this is safe to do.
message TileboxAPIConnection {
// The API url to which the worker runtime can connect, to e.g. export observability data to (logs and traces).
string url = 1;
// The token to use for authenticating to the API.
string token = 2;
}

// HandshakeResponse is the response to a handshake request, containing the task identifiers that the worker can execute.
Expand Down
Loading