Skip to content

windows configurer: remove pre-delete race from Reboot()#626

Merged
james-nesbitt merged 1 commit intomainfrom
ENGINE-1381-fix-reboot-pre-delete
Apr 30, 2026
Merged

windows configurer: remove pre-delete race from Reboot()#626
james-nesbitt merged 1 commit intomainfrom
ENGINE-1381-fix-reboot-pre-delete

Conversation

@james-nesbitt
Copy link
Copy Markdown
Collaborator

schtasks /run returns before shutdown.exe starts. The immediate schtasks /delete was cancelling the pending shutdown before it could fire, causing waitForHost to time out with 'still online'.

Remove the pre-delete. The ONSTART task re-fires on next startup, which is safe: the post-reboot cleanup in InstallMCR deletes LaunchpadReboot once the host is back up.

schtasks /run returns before shutdown.exe starts. The immediate
schtasks /delete was cancelling the pending shutdown before it could
fire, causing waitForHost to time out with 'still online'.

Remove the pre-delete. The ONSTART task re-fires on next startup, which
is safe: the post-reboot cleanup in InstallMCR deletes LaunchpadReboot
once the host is back up.
@james-nesbitt
Copy link
Copy Markdown
Collaborator Author

this change was missing from the previous merge. It got lost in a refactor.

@james-nesbitt james-nesbitt merged commit d2dd59f into main Apr 30, 2026
7 checks passed
@james-nesbitt james-nesbitt deleted the ENGINE-1381-fix-reboot-pre-delete branch April 30, 2026 11:35
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.

1 participant