Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appservice: Always add PostDeploySyncTriggersStep in wizard and check if it should execute #1681

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

nturinski
Copy link
Member

Fixes microsoft/vscode-azurefunctions#3967
Fixes microsoft/vscode-azurefunctions#3966 (maybe)

When refactoring the deploy logic into wizard steps, I made the unsafe assumption that context.syncTriggersPostDeploy would be set when we create the wizard. Unfortunately, syncTriggersPostDeploy is only set in two places: WaitForDeploymentToCompleteStep and DeployStorageAccountExecuteStep.

Therefore, we must always add the execute step to the wizard and check if it should execute after deploy steps have executed.

@nturinski nturinski requested a review from a team as a code owner February 1, 2024 21:49
@nturinski nturinski merged commit 6b94d1e into main Feb 1, 2024
4 checks passed
@nturinski nturinski deleted the nat/appservice/fixTriggerSync branch February 1, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants