Azure / azure-functions-python-worker

Python worker for Azure Functions.
http://aka.ms/azurefunctions
MIT License
335 stars 103 forks source link

Populate WorkerMetadata in WorkerInitResponse message #1057

Closed liliankasem closed 1 year ago

liliankasem commented 2 years ago

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;
}
liliankasem commented 2 years ago

@vrdmr can we prioritize this for the next sprint?

liliankasem commented 2 years ago

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

YunchuWang commented 1 year ago

@liliankasem Hi Lilian, sure a task to added to our backlog and we will prioritize it next sprint.