Azure / Azure/azure-functions-host

Block Delete Function api in Linux Consumption

Open
#6,954 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/FunctionsController.cs#L168

In Linux consumption, this api deletes the function on a single instance only. When a new instance gets assigned the deleted function will be revived back from WEBSITE_RUN_FROM_PACKAGE contents.
ZipDeploy is the only way to update deployments. To avoid confusion return 400 errors from this api back to clients.

Contributor guide

Open the contributing guide

Research direction

Open src/WebJobs.Script.WebHost/Controllers/FunctionsController.cs at line 168 and trace the delete-function API entry point for Linux Consumption. Confirm the behavior described in the issue; done means this API returns HTTP 400 for that deployment mode, while ZipDeploy remains the update path.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
api, backend, cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.