azure-functions-python-worker
azure-functions-python-worker copied to clipboard
Populate WorkerMetadata in WorkerInitResponse message
The 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;
}
Latest proto version is now v1.5.8
Edit: I had to force push so please confirm the commit hash is 14b2ba5 when you pull the protobuf into your repo
@vrdmr can we prioritize this for the next sprint?
Documentation to help with implementation: https://dev.azure.com/msazure/One/_git/AAPT-Antares-Docs?path=/TeamDocs/FunctionTeamDocs/Design/OOPWorkers/WorkerMetadata.md&version=GBmaster&_a=preview