Repository navigation
test: preserve WSL import failure diagnostics - #337438
Merged
Merged
Conversation
Capture the import error, host and WSL versions, partial distro state, and bounded virtualization events in the CI logs artifact before smoke-test cleanup removes the import directory. Co-authored-by: Copilot <[email protected]>
Dmitriy Vasyura (dmitrivMS)
previously approved these changes
Sep 23, 2026
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The incorrect event-log channel names must be fixed before approval.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Preserves WSL import failure diagnostics in CI artifacts before cleanup.
Changes:
- Captures import output, exit codes, versions, partial files, and event logs.
- Saves diagnostics under
.build/logs/wsl-dev-container/. - Keeps existing installation, retry, and cleanup behavior.
| File | Review |
|---|---|
test/smoke/wslDevContainer.ps1 |
Adds failure diagnostics. Moderate: Two event-log channel names incorrectly use /Admin, preventing intended Host Compute and VMMS event collection. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Christof Marti (chrmarti)
disabled auto-merge
September 23, 2026 09:11
Contributor
|
Base:
|
Use the hyphenated Host Compute and Hyper-V VMMS Admin channel names so the import failure diagnostics can collect their events. Co-authored-by: Copilot <[email protected]>
Henning Dieterichs (hediet)
approved these changes
Sep 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.

Summary
.build/logs/wsl-dev-container/before cleanup removes the partial import, so existing CI logs artifacts preserve the evidence.Motivated by the Windows Electron setup failure in build 476284, where
wsl --import --version 2returned0x80041001without enough evidence to identify the cause.Validation
Write-WslDiagnosticslocally without importing a distro; verified the persisted log contains the required sections.git diff --checkpassed.A Windows CI run is needed to validate the failure path on a hosted agent.