fix: node starts on Windows Server when MXC probe is unsupported - #1277
fix: node starts on Windows Server when MXC probe is unsupported#1277shanselman with Copilot wants to merge 2 commits into
Conversation
Co-authored-by: shanselman <2892+shanselman@users.noreply.github.com>
Co-authored-by: shanselman <2892+shanselman@users.noreply.github.com>
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs real behavior proof before merge. Reviewed August 31, 2026, 5:12 PM ET / 21:12 UTC. ClawSweeper reviewWhat this changesThe PR detects Windows Server SKUs before running the MXC probe, marks containment unavailable there, and adds cross-platform unit coverage for the client and server branches. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 3 items remain Keep this PR open. The SKU gate is a narrow, coherent way to avoid the unsupported probe and retains the existing strict-block versus host-fallback policy, but the submitted evidence is injected unit coverage only and does not prove the native Windows Server behavior or required MXC validation. Priority: P2 Review scores
Verification
How this fits togetherMXC availability is determined during Windows node startup and feeds the command runner’s choice between contained execution and its configured host fallback. This change alters the availability decision before any MXC probe process is launched. flowchart LR
A[Windows node startup] --> B[MXC availability check]
B --> C{Windows Server SKU?}
C -->|Yes| D[Mark containment unavailable]
C -->|No| E[Run native MXC probe]
D --> F[Existing fallback policy]
E --> F
F --> G[Command execution route]
Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land after posting redacted current-head proof from a real Windows Server node that no probe is launched and approved system.run follows the configured fallback or strict-block policy, plus the required MXC E2E result from an MXC-capable Windows host. Do we have a high-confidence way to reproduce the issue? No. The supplied injected-delegate tests exercise the intended branches, but neither they nor this Linux review checkout reproduce the current-main failure on a real Windows Server host. Is this the best way to solve the issue? Yes, conditionally. An early SKU-specific unavailable verdict is the narrowest path and preserves the existing runner policy, but its native interop and end-to-end behavior require real-host proof. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f46400aab24e. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Additional instructions
MUST: Keep Allow edits from maintainers enabled for this PR so maintainers
can help update the branch when needed.
What Problem This Solves
Fixes Windows Server node startup failures caused by attempting to launch the unsupported MXC availability probe.
Why This Change Was Made
IsWindowsServerproduct-type check, not build numbers.wxc-exec --probeon Server SKUs and report containment as definitively unavailable.User Impact
Windows Server users can continue using the node through configured host fallback. Client Windows behavior is unchanged.
Evidence
Change Type
Scope
winnodeRequired proof pools
windows-wsl-mxc: MXC availability andsystem.runfallback routing changed.Validation
Real Behavior Proof
71a86284MxcAvailabilityTestsandMxcCommandRunnerTests.windows-wsl-mxc.Security Impact
Yes, explain the risk and mitigation: Windows Server enters the existing unavailable-containment policy without launching MXC. Existing strict-blocking and host-fallback controls remain authoritative.Compatibility and Migration
Review Conversations