microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
290 stars 131 forks source link

The function still exists under the slot after swapping it with a clean slot #4148

Closed v-xinda closed 1 month ago

v-xinda commented 1 month ago

OS: All Build Version: v1.14.4-alpha.0 Regression: Not a Regression

Repro Steps:

  1. Create a Linux Node Function App with App Service Plan host plan -> Create two slots (slot1 and slot2) to it.
  2. Deploy a JavaScript project to the slot1.
  3. Swap slot1 with slot2.
  4. Check whether there is no function under the Functions node of the slot1 after swapping slots.

Expect: There is no function under the Functions node of the slot1.

Actual: The function still exists under the slot1. image

MicroFish91 commented 1 month ago

Does refreshing the parent node fix the issue?

v-xinda commented 1 month ago

@MicroFish91 verified this issue with the build 1.15.1-alpha.0, it doesn't reproduce for now. So I close it.