Repository navigation
chore: update Windows App SDK to 2.6.4 - #1898
Conversation
Keep the shared SDK version for all four WinUI consumers. Leave Reactor and chat scroll behavior unchanged. Co-authored-by: Copilot App <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesUpdates the shared Windows App SDK version from 2.5.1 to 2.6.4 for four WinUI consumers. Example: Restore and build Companion and its UI dependencies.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this collaborator-authored servicing update is absent from main, preserves the existing dependency owner, and introduces no identified code defect. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherDirectory.Build.props supplies the SDK version consumed by Companion, SetupEngine.UI, FunctionalUI, and Tray.UITests; NuGet restore and MSBuild produce their native UI dependencies and binaries. flowchart TD
A[Shared SDK version] --> B[NuGet restore]
B --> C[Companion]
B --> D[SetupEngine UI]
B --> E[FunctionalUI]
B --> F[Tray UI tests]
Technical reviewBest possible solution: Land the shared-property update independently once its recorded acceptance hold clears, preserving Reactor pins and existing chat workarounds. Do we have a high-confidence way to reproduce the issue? This is a dependency update rather than a demonstrated crash fix; the reported native smoke does not reproduce the original ItemsView failure. Is this the best way to solve the issue? The one-line shared-property change is the smallest complete SDK update and preserves version alignment without importing unrelated Reactor or scrolling changes. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 48cb8a18fdb5. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 27, 2026, 5:56 PM ET / 21:56 UTC. |
Stack the Reactor upgrade on the exact SDK update from PR #1898, preserving the existing pooled-control metadata fixes. Co-authored-by: Copilot App <[email protected]>
Local validation update and CI investigationResults below belong to SDK PR head Executed local checks
The additional native group selected dotnet test .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -c Release -r win-arm64 -p:Platform=ARM64 -p:DevBuild=false --filter 'FullyQualifiedName=OpenClaw.Tray.UITests.GatewayFixtureUiTests.ContextFooterReconcilesLiveReplayHistoryAndAuthoritativeUsage'Correction to earlier guidance: Tracked fixture failures and comparisonFollow-up: #1899 (fix(tests): fixture UI checks fail on missing placement RPC and intermittent wide-window visibility).
Failing hosted CIInspected Build and Test run 40589192274, attempt 1, for head The substantive failing job is Core and CLI tests; CI Gate fails downstream. Shared executed 4,665 passed, 1 failed, 8 skipped, 4,674 total. The single failing case is: The fixture gives the real unsupported-Windows PowerShell path a 10,000 ms deadline. CI failed Focused local reproduction: dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore --filter 'FullyQualifiedName~ExecApprovalsCoordinatorTests.ApprovedMultilinePowerShell_ReachesRunnerVerbatim' --logger 'trx;LogFileName=multiline-repro.trx' --results-directory .\TestResults\Sdk264CiReproResult: 4 passed, 0 failed, 0 skipped. This ARM64 local result does not replace the failed hosted x64 run. A bounded rerun of the failed hosted job would distinguish recurrence from a transient run; if it recurs, capture subprocess outcome/deadline and owned-process cleanup evidence before changing timeouts or suppression. Hosted Tray/setup/integration, UI/functional/accessibility, all three WSL E2E jobs, x64 publish smoke, both MSIX architecture builds, and bundle jobs succeeded in that attempt. The green ordinary UI job does not prove execution of opt-in mock-Gateway cases. Logs, TRX, screenshots, and comparison receipts are retained locally under |
Use the standard request deadline and existing MXC ownership collection for coordinator process tests, retain failure payload diagnostics, and set prerequisite fixture architecture after child PowerShell startup. Co-authored-by: Copilot App <[email protected]>
|
Follow-up repairs are pushed at Shared CI failure: the multiline argument-preservation test launched real Windows PowerShell with a test-specific 10-second deadline while unrelated tests ran concurrently. It now uses the existing non-parallel Four local Tray failures: confirmed fixture bug on ARM64. A direct child-process probe showed Final validation ran sequentially against the identical, initially uncommitted source now in the repair commit, with
Original failures and prior SDK/UI comparisons remain in the earlier investigation. Initial symbolic-link privilege failure did not recur in the final suite; it was not hidden or repaired by changing machine privileges. Separate fixture CI PR: #1905 (chore(ci): run mock Gateway UI scenarios in pull requests), draft head Still open: #1899 tracks the intermittent wide-resize visibility assertion. It passed unchanged in the latest strict fixture run, but its mechanism is not proven fixed. Original ItemsView crash acceptance and new-head hosted CI remain separate outstanding checks. Nothing was merged. |
* chore: update Windows App SDK to 2.6.4 Keep the shared SDK version for all four WinUI consumers. Leave Reactor and chat scroll behavior unchanged. Co-authored-by: Copilot App <[email protected]> * fix(tests): isolate PowerShell execution and ARM64 prerequisite fixtures Use the standard request deadline and existing MXC ownership collection for coordinator process tests, retain failure payload diagnostics, and set prerequisite fixture architecture after child PowerShell startup. Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: Copilot App <[email protected]>
Related: #1899. Separate default mock-Gateway UI CI work: #1905.
What Problem This Solves
Companion is still built against Windows App SDK 2.5.1 rather than the newly published 2.6.4 servicing release requested for the ItemsView crash.
User Impact
Companion and its UI dependencies now build against Windows App SDK 2.6.4. The original ItemsView crash is not yet accepted as fixed; runtime crash reproduction and broader scrolling acceptance remain outstanding. Follow-up test-harness repairs do not change production execution policy.
Why This Change Was Made
Update the shared
MicrosoftWindowsAppSDKVersionproperty from2.5.1to2.6.4, preserving the existing convention for Companion, SetupEngine.UI, FunctionalUI, and Tray.UITests. The official package manifest requires WinUI 2.6.4 and matching servicing components.Started independently on observed main
48cb8a18fdb5820e731b82df616e6e5b3f954cf0. No unmerged Reactor or restore-scroll changes were imported; Reactor remains preview.12 and no chat workaround was retired.At the user's request, follow-up test-only repairs put the real-PowerShell coordinator tests in the existing process-ownership collection, use the standard request deadline instead of a 10-second cold-start limit, and expose failure-payload diagnostics. The prerequisite fixture now selects AMD64 inside child PowerShell after startup, rather than relying on an inherited value that PowerShell replaces on ARM64. Its resolver and pass/fail expectations are unchanged, with an added architecture assertion.
Evidence
Final full Debug ARM64 build passed. Shared: 4,650 passed, 24 skipped, zero failures. Tray: 4,570 passed, zero skips/failures. The prerequisite regression changed from four baseline failures to 4/4 passes; the coordinator/runner selection passed 237/237 with no skips.
All four consumers resolve Windows App SDK and WinUI 2.6.4. Earlier native bootstrap/layout smoke passed 5/5, and additional native rendering/lifecycle checks passed 141 with two explicit native-input opt-in skips. Earlier populated fixture failures, the old-SDK comparison, extra UI results, and the original hosted failure are retained in the investigation comment.
Initial Shared validation had a symbolic-link privilege failure (4,647 passed, 1 failed, 26 skipped); it did not recur in the final suite and was not repaired by changing host privileges. Initial Tray validation had four ARM64 prerequisite-fixture failures (4,566 passed, 4 failed), repaired here. No failures were filtered out to obtain the final full-suite results.
The hosted multiline failure was not reproduced locally before repair. Its duration and teardown symptoms fit deadline expiry, but the original assertion omitted the payload, so that mechanism remains an assessment rather than a captured timeout flag. Real PowerShell execution, exact multiline output/argv assertions, and dedicated runner deadline/cleanup tests remain intact.
Direct source inspection covered the dependency property and two test-fixture repairs. Independent source/rubber-duck review was not run for these dependency/test-only changes. No production execution logic, runtime installations, other sessions' apps, or machine settings changed. Required new-head hosted CI, independent review, and original crash acceptance remain outstanding; this is not a ready-to-merge claim.
Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: original ItemsView crash acceptance with populated chat/session switching and scrolling remains Not verified / blocked. Earlier populated fixture results do not prove the crash fixed.windows-11-arm64: native dependency changed. Debug ARM64 build and earlier five native bootstrap/layout cases passed; complete production-shaped runtime acceptance remains Not verified / blocked.Validation
Final commands ran sequentially in this task-owned worktree with
OPENCLAW_REPO_ROOTset and isolated tray data. Actual TRX result rows were inspected. Optional native/integration proof skips are not complete-pool proof..\build.ps1dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore --results-directory .\TestResults\Sdk264CiFixFinal --logger 'trx;LogFileName=shared.trx' --verbosity minimaldotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --results-directory .\TestResults\Sdk264CiFixFinal --logger 'trx;LogFileName=tray.trx' --verbosity minimaldotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore --filter 'FullyQualifiedName~ExecApprovalsCoordinatorTests|FullyQualifiedName~MxcCommandRunnerTests|FullyQualifiedName~ExecApprovalV2InputValidationTests' --results-directory .\TestResults\Sdk264CiFix --logger 'trx;LogFileName=focused.trx' --verbosity minimaldotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --filter FullyQualifiedName~BuildPrerequisiteTests --results-directory .\TestResults\Sdk264CiFixFinal --logger 'trx;LogFileName=prerequisites.trx' --verbosity minimaldotnet test .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -r win-arm64 --filter 'FullyQualifiedName~OpenClaw.Tray.UITests.SmokeTests' --logger 'trx;LogFileName=sdk-ui-smoke.trx' --results-directory .\TestResults\Sdk264git diff --checkInitial failures and broader earlier UI evidence are retained in the linked investigation. Invocation logs/TRX remain local, not public artifact links or inventory-bound complete-pool proof. Separate #1905 fixture execution used SDK 2.5.1; it is not proof of this upgrade.
Real Behavior Proof
5ce60c4772845b4ce732b8b6d4dbc731d581db7f. Source association was manually recorded using the complete diff and SHA-256 hashes: coordinator test710935BE05F6F1C216A233ED3C1381FC9867F8EDBA406E2DBB69F63F40ACD5E0, prerequisite test623CFBF72D6A1672475818285771B29F6AC89C824773B3E1CEE66B230CA308A1. Earlier dependency/native smoke evidence tested8e60c80577f83ce32e9f706e04ce49e16f88df9a; unchangedDirectory.Build.propshash isEAC8B8F42BF6B346FDF57C3F2995917C62720ACFC94E38492A7BB7538C50E49A. Later changes affect only tests. This does not claim all binaries embed the later commit identity or the native smoke was rerun.All builds succeeded!; SharedFailed: 0, Passed: 4650, Skipped: 24, Total: 4674; TrayFailed: 0, Passed: 4570, Skipped: 0, Total: 4570. Child architecture probe: inheritedARM64despite requestedAMD64; assigned inside childAMD64. All consumers resolveMicrosoft.WindowsAppSDK/2.6.4andMicrosoft.WindowsAppSDK.WinUI/2.6.4.Yes/No/N/A): N/A; no public screenshot or TRX uploaded by this follow-up.Security Impact
Yes/No): NoYes/No): NoYes/No): No application network calls changed; dependency restore downloads updated NuGet packages.Yes/No): No production surface changed; test fixture invocation changed only.Yes/No): NoYes, explain the risk and mitigation: N/A.Compatibility and Migration
Yes/No): Yes at application configuration/API level; native runtime acceptance remains limited to the evidence above.Yes/No): No user configuration changes. Builds resolve Windows App SDK 2.6.4 instead of 2.5.1; architecture override is child-fixture-only.Yes/No): No application data migration.Review Conversations