Azure / Azure/azure-functions-host
Refactor process management
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
Functions host spawns child processes from multiple places
- https://github.com/Azure/azure-functions-host/blob/b27267e1e9295123ebbd4b494514677940d4f7c4/src/WebJobs.Script/Description/Node/Compilation/TypeScript/TypeScriptCompiler.cs#L51
- https://github.com/Azure/azure-functions-host/blob/8c771e6a7368b5aad5cdea280ca7e099bd863e39/src/WebJobs.Script/Description/DotNet/PackageManager.cs#L73
- https://github.com/Azure/azure-functions-host/blob/d95653b8fda05e9a0b0c7b48196e555135a80257/src/WebJobs.Script/Rpc/LanguageWorkerChannel.cs#L367
* Need to refactor starting processes to a common utility
* Register processes via https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script/Rpc/ProcessManagement/JobObjectRegistry.cs to ensure proper disposal of child process
Contributor guide
Assessment
This issue has not been assessed yet.