Populate WorkerMetadata in WorkerInitResponse message
See original GitHub issueThe protobuf has been updated to include a WorkerMetadata
property within the WorkerInitResponse
message. The worker should include WorkerMetadata
when sending the WorkerInitResponse
to the host.
PR for reference on how to fill in the fields.
You will need to pull in the latest protobuf version first (this doc may help).
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 or worker SDK
string worker_version = 3;
// The worker bitness/architecture
string worker_bitness = 4;
// Optional additional custom properties
map<string, string> custom_properties = 5;
}
Issue Analytics
- State:
- Created a year ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Functions Sprint 129 Milestone
NET language worker - Functions Sprint 129 Milestone ... Populate WorkerMetadata in WorkerInitResponse message enhancement New feature or ...
Read more >GrpcWorkerChannel.cs
The host/runtime that powers Azure Functions. Contribute to Azure/azure-functions-host development by creating an account on GitHub.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@liliankasem – The next deployment (which starts January 3rd) of the PowerShell worker 7.2 will have this fix.
@liliankasem - In order to populate the language worker
RuntimeVersion
, we need to initialize the worker to use the PowerShell SDK (either7.2
or7.0
). Currently, this initialization takes place in the firstProcessFunctionLoadRequest
once we know thefunctionAppRoot
and whether the customer has enabledManaged Dependencies
. However, to complete this work item, we need to move the initialization of the worker toProcessWorkerInitRequest
. After this change, we need to test in prod to make sure no regression are introduced. I will discuss with this with the team in our next sync up and provide a new ETA./cc @AnatoliB @michaelpeng36