Azure / Azure/azure-functions-host
Log the worker version when the placehoder worker is not compatible
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 36
Description
Currently, during specialization, we log a message when the placeholder worker does not match the requested runtime. We should also log the worker version.
Here is where the log message is written: https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script/Workers/Rpc/WebHostRpcWorkerChannelManager.cs#L124
Currently:
`Shutting down placeholder worker. Worker is not compatible for runtime: powershell`
Expected:
`Shutting down placeholder worker. Worker is not compatible for runtime: powershell, version: 7`.
Contributor guide
Research direction
Start in src/WebJobs.Script/Workers/Rpc/WebHostRpcWorkerChannelManager.cs at the log message around line 124, and inspect the available placeholder worker version alongside the runtime compatibility check. Update the message so it includes the worker version, matching the expected Powershell example in the issue; the log should show both runtime and version when the worker is shut down.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, powershell
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100