feat: Deployment monitoring function #4205
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
New function introduced by @mbrat2005 to monitor deployments and avoid the deployment to go straight to the 'retry' if Azure failed to send a response at some point during a deployment (e.g., in case of error messages like 'an internal error occurred'). In those cases, the deployment on the Azure-side is actually still on.
TODO
-AsJob
is really required / the monitoring could send a ping back to the pipeline log to see that the deployment is still onDeployment status for [a-r-ash-c-3nodeswitchless.defaults-t1-20250116T0901005815Z] and sub-operations on subscription are: provisioningStates: [] statusCodes: []
(ref) vsDeployment status for [a-r-ash-c-2nodeswitched.defaults-t1-20250116T0901546186Z] and sub-operations on subscription are: provisioningStates: [Succeeded] statusCodes: [Created]
(ref)Pipeline Reference
Type of Change
version.json
:version.json
.version.json
.