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
25 changes: 24 additions & 1 deletion src/proto/FunctionRpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,35 @@ message WorkerInitRequest {

// Worker responds with the result of initializing itself
message WorkerInitResponse {
// Version of worker
// NOT USED
// TODO: Remove from protobuf during next breaking change release
string worker_version = 1;

// A map of worker supported features/capabilities
map<string, string> capabilities = 2;

// Status of the response
StatusResult result = 3;

// Worker metadata captured for telemetry purposes
WorkerMetadata worker_metadata = 4;
}

message WorkerMetadata {
// The runtime/stack name
string runtime_name = 1;

// The version of the runtime/stack
string runtime_version = 2;

// The version of the worker
string worker_version = 3;

// The worker bitness/architecture
string worker_bitness = 4;

// Optional additional custom properties
map<string, string> custom_properties = 5;
}

// Used by the host to determine success/failure/cancellation
Expand All @@ -134,6 +156,7 @@ message StatusResult {
Success = 1;
Cancelled = 2;
}

// Status for the given result
Status status = 4;

Expand Down