Azure / Azure/azure-functions-host

Better handling around specific exit codes of language worker (codes 0 and 200)

Open
#6,301 0 comments 0 reactions 1 assignee Claimed by @mhoeger View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

A worker can exit with process code 0 or 200 due to user code (ex: `process.exit()` for Node.js), and this will mean that all subsequent executions will be accepted and inevitably time out.

We should be doing something on our end to either make sure that this cannot happen (currently, we do nothing [if a process exits with code 0](https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script/Workers/ProcessManagement/WorkerProcess.cs#L139)).

cc: @pragnagopa and @yojagad

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.