microsoft / microsoft/vscode-azurefunctions

The function is still enabled after executing "Disable Function" action for a function of Python (New Model Preview) project

Open
#3,296 2 comments 0 reactions 1 assignee View on GitHub

@philliphoff is already working on this.

Since Aug 25, 2022.

AT-CTI bug investigate
Dominant language
TypeScript
Stars
319
Forks
158
Avg merge
2d 13h
Merged PRs (30d)
4

Description

OS: Win 10/Ubuntu 22.04
Build Version: 20220819.8

Repro Steps:

  1. Create and open a Python (New Model Preview) project.
  2. Uncomment the commented code block in function_app.py.
  3. Add a new function "TimeTrigger" append to function_app.py.
  4. Debug this project.
  5. Navigate to Azure view -> Expand the Functions node of "Workspace view" -> Right click one function and execute "Disable Function" for it.
  6. Check whether the function is disabled status or not.

Expect:
The function is disabled status.

Actual:
The function is still enabled status.
image

More Info:

  1. Refreshing the local workspace view can't fix this issue, restarting VS Code can fix this issue.
  2. The notification shows "Disabled function..." after executing "Disable Function".
    image
  3. This issue does not reproduce when debugging a normal Python project.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.