diff --git a/src/proto/FunctionRpc.proto b/src/proto/FunctionRpc.proto index 0696239..2d47a4e 100644 --- a/src/proto/FunctionRpc.proto +++ b/src/proto/FunctionRpc.proto @@ -86,6 +86,13 @@ message StreamingMessage { // Host gets the list of function load responses FunctionLoadResponseCollection function_load_response_collection = 32; + + // Host sends required metadata to worker to warmup the worker + WorkerWarmupRequest worker_warmup_request = 33; + + // Worker responds after warming up with the warmup result + WorkerWarmupResponse worker_warmup_response = 34; + } } @@ -423,6 +430,15 @@ message InvocationResponse { StatusResult result = 3; } +message WorkerWarmupRequest { + // Full path of worker.config.json location + string worker_directory = 1; +} + +message WorkerWarmupResponse { + StatusResult result = 1; +} + // Used to encapsulate data which could be a variety of types message TypedData { oneof data {