Skip to content

Conversation

@matthiasblondeel
Copy link
Contributor

Purpose

When running the template validation action, we sometimes notice errors in the deployment step.
Because the template validation is automated, and skips uploading patient data, it appears as if the first time, we get an error, because the container restarts.

See this log line:

[{"id":"2eada4e7-bc2f-48cd-8395-644a5d17c56c","status":3,"status_text":"Deployment has been stopped due to SCM container restart. The restart can happen due to a management operation on site. Do not perform a management operation and a deployment operation in quick succession. Adding a small delay can help avoid any conflicts.","author_email":"N/A","author":"N/A","deployer":"Push-Deployer","message":"Created via a push deployment","progress":"","received_time":"2025-10-30T18:23:39.5555901Z","start_time":"2025-10-30T18:23:40.8305703Z","end_time":"2025-10-30T18:25:34.2205575Z","last_success_end_time":null,"complete":true,"active":false,"is_temp":false,"is_readonly":true,"url":"https://app-gitval-wxy.scm.azurewebsites.net/api/deployments/2eada4e7-bc2f-48cd-8395-644a5d17c56c","log_url":"https://app-gitval-wxy.scm.azurewebsites.net/api/deployments/2eada4e7-bc2f-48cd-8395-644a5d17c56c/log","site_name":"app-gitval-wxy","build_summary":{"errors":[],"warnings":[]}},{"id":"temp-ff8ae5f7","status":3,"status_text":"Deployment has been stopped due to SCM container restart. The restart can happen due to a management operation on site. Do not perform a management operation and a deployment operation in quick succession. Adding a small delay can help avoid any conflicts.","author_email":"N/A","author":"Deploying from pushed zip file","deployer":"Push-Deployer","message":"N/A","progress":"","received_time":"2025-10-30T18:23:36.1875292Z","start_time":"2025-10-30T18:23:36.1875292Z","end_time":"2025-10-30T18:25:34.285981Z","last_success_end_time":null,"complete":true,"active":false,"is_temp":true,"is_readonly":false,"url":"https://app-gitval-wxy.scm.azurewebsites.net/api/deployments/temp-ff8ae5f7","log_url":"https://app-gitval-wxy.scm.azurewebsites.net/api/deployments/temp-ff8ae5f7/log","site_name":"app-gitval-wxy","build_summary":{"errors":[],"warnings":[]}}]

Hoping that adding a artificial delay will help improve one-off errors

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Run azd up on brand new environment

Other Information

@matthiasblondeel matthiasblondeel merged commit ca9ef43 into main Oct 31, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants