From 90ed69f61febd83e7ba3fd09635b37476eba69af Mon Sep 17 00:00:00 2001 From: Shyju Krishnankutty Date: Wed, 21 Dec 2022 11:23:55 -0800 Subject: [PATCH] Add capabilities and worker_metadata in env reload response. (#90) * Add capabilities and worker_metadata in env reload response. * reordered the properties for better readability. * comments were associated with incorrect props. fixed. --- src/proto/FunctionRpc.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/proto/FunctionRpc.proto b/src/proto/FunctionRpc.proto index 2e9005d..0696239 100644 --- a/src/proto/FunctionRpc.proto +++ b/src/proto/FunctionRpc.proto @@ -238,6 +238,13 @@ message FunctionEnvironmentReloadRequest { } message FunctionEnvironmentReloadResponse { + // After specialization, worker sends capabilities & metadata. + // Worker metadata captured for telemetry purposes + WorkerMetadata worker_metadata = 1; + + // A map of worker supported features/capabilities + map capabilities = 2; + // Status of the response StatusResult result = 3; }