Skip to content

Increase the VM termination timeout to 30 seconds - #41688

Merged
Blue (OneBlue) merged 1 commit into
masterfrom
user/oneblue/termination-timeout
Sep 24, 2026
Merged

Blue (OneBlue) merged 1 commit into
masterfrom
user/oneblue/termination-timeout

Conversation

@OneBlue

Copy link
Copy Markdown
Collaborator

Summary of the Pull Request

This change increases the VM termination timeout to 30 seconds, because we've seen test failures (specifically NamedVolumesVhdSessionRecovery) caused by the timeout being hit when the VM is under pressure, which causes the VM to terminate without flushing the pending operations, leading to test failures)

PR Checklist

  • Closes: Link to issue #xxx
  • Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
  • Tests: Added/updated if needed and all pass
  • Localization: All end user facing strings can be localized
  • Dev docs: Added/updated if needed
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Copilot AI lite review requested due to automatic review settings September 23, 2026 22:19
@OneBlue
Blue (OneBlue) requested a review from a team as a code owner September 23, 2026 22:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Increases the VM graceful-termination timeout from 5 to 30 seconds to reduce shutdown failures under system pressure.

Changes:

  • Extends the termination wait to 30 seconds.
  • Updates the explanatory comment.
File Description
src/​windows/​service/​exe/​HcsVirtualMachine.cpp Updates the VM termination timeout and comment.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@OneBlue
Blue (OneBlue) merged commit 4ccd41a into master Sep 24, 2026
12 checks passed
@OneBlue
Blue (OneBlue) deleted the user/oneblue/termination-timeout branch September 24, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants