Repository navigation
fix(chat): adopt Reactor preview.16 session-switch crash workaround - #1549
Conversation
Upgrade both Reactor packages, use the relocated Markdown factory, and retire the preview.12 list override. Align System.Drawing.Common with the new package minimum and retain native regression coverage and proof guidance. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 825b1d26-b68a-4248-8325-17f54dcbbdd4
|
🦞👀 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: blocked before merge. Reviewed September 30, 2026, 7:03 PM ET / 23:03 UTC (Revision 4). ClawSweeper reviewWhat this changesThe branch upgrades the native chat’s Reactor packages to preview.16, delegates Markdown list layout to Reactor, and updates a contract test and proof documentation. Merge readiness⛔ Blocked before merge - 5 items remain Keep this collaborator-owned draft open. Current main and the latest release retain the preview.12 mitigation. Reactor preview.16 offers a published replacement, but the branch’s latest native runs do not yet satisfy the retirement gates. Priority: P2 Review scores
Verification
How this fits togetherWindows Companion Chat receives conversation history from the Gateway and renders it as virtualized native message rows. Reactor formats message content and manages recycled rows while WinUI moves the viewport toward the newest message. flowchart LR
A[Gateway chat history] --> B[Selected conversation]
B --> C[Reactor message rows]
C --> D[Recycled row handling]
C --> E[Markdown list layout]
D --> F[WinUI row targeting]
E --> G[Visible conversation]
F --> G
Decision needed
Why: The existing tracker requires a released native fix, while the proposed interim dependency path changes that compatibility decision; upstream release status and local test counts cannot authorize the change. Before merge
Agent review detailsSecurityNone. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retire the preview.12 pin only after the interim Reactor path receives explicit approval and current-head native proof establishes stable switching, actual final-row visibility, streaming follow, and reader-position preservation. Do we have a high-confidence way to reproduce the issue? No high-confidence current-main crash reproduction was run in this review. The branch’s latest ARM64 fixture runs observed intermittent final-row failures in both Debug and Release, but do not establish whether the dependency change caused them. Is this the best way to solve the issue? Unclear. The paired upgrade follows a released upstream workaround and preserves row-targeted scrolling, but the app’s negative final-row runs and incomplete crash proof prevent accepting it as the pin replacement yet. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e00ce903eda5. LabelsLabel changes: No label 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
History |
|
This pull request has been automatically marked as stale due to inactivity. |
|
Closing due to inactivity. |
Recheck latest published Reactor versions and retain the strict final-row proof gate. Co-authored-by: Copilot App <[email protected]>
|
Current-head runtime proof for a7fb98c (2026-10-22). Windows 11 ARM64, fresh isolated profiles, real app against the checked-in synthetic loopback Gateway. Debug and non-Dev Release each passed 30/30 integration checks and 6/6 native UI tests. The separate 12-cycle A/B scrolling/session-switch smoke passed in 17.7s Debug and 17.8s Release. The unchanged strict test showed message 240 at both 1000x720 and 1400x950 window bounds. Captures below were inspected: Debug narrow tail, Release wide tail, Release alternate session after 12 cycles. No app crash log or surviving owned app process was found. This is bounded fixture proof, not real Gateway/reporter-history reproduction, guaranteed overlap with a native bring request, or proof that the layout-cycle crash is fixed. Historical intermittent 237/240 failures remain relevant; the PR stays draft pending remaining proof and structured-review authentication. |
Keep identical responsiveness smoke and helpers in a focused partial test file, matching main without importing unrelated production changes. Co-authored-by: Copilot App <[email protected]>
|
Corrected-head CI update: Build and Test run 39995505630 completed successfully for This is hosted CI for the standalone PR, not acceptance of combined |
Current-head standalone Debug proof: 4 passed, width proof blockedHead
The inspected captures below support these narrow passing observations. They do not erase earlier clipping, Release/combined-tree failures, or establish that the reported sustained hang is fixed. This is not Release, combined #1449 interaction, active-turn/reader non-stealing, or real-Gateway/reporter proof. Full Shared/Tray suites were not rerun for this source-unchanged proof attempt. The existing draft/runtime HOLD remains. |
Keep the shared SDK version for all four WinUI consumers. Leave Reactor and chat scroll behavior unchanged. Co-authored-by: Copilot App <[email protected]>
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]>
|
Stacked on #1898 (chore: update Windows App SDK to 2.6.4).
Cross-fork limitation: #1898's head is in Validation of the merged source (the same tree committed as
Draft/runtime HOLD remains. No new native UI or original-crash reproduction was performed for this head. Earlier standalone |
|
ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment |
|
Parent sync completed: #1898 (chore: update Windows App SDK to 2.6.4) is now mirrored at exact Current-head validation:
The prior failed unit attempts remain historical evidence, not erased by these results. No native UI/crash scenario was rerun for this head; original-crash and scrolling acceptance limits remain. Cross-fork native stack registration is still unsupported; the existing exact-parent mirror chain remains in place. If #1898 changes again, refresh this chain; once it merges, retarget this PR to main. New hosted CI is not yet verified. |
Co-authored-by: Copilot App <[email protected]>
1c900fc to
801f5ce
Compare
…ing input Add a one-shot, follow-gated tail correction after viewport reflow in InitialTailPositioner, and address dual-model review findings: - A reflow correction never starts while initial history positioning is pending, so it cannot impose its follow requirement on the initial bring. TailNavigationPolicy.CanDispatch keeps initial positioning un-gated. - Input cancellation recomputes follow from the current position instead of clearing it, so a click or key press at the tail keeps following replies. - Correction dispatch rechecks follow so a newer UIA scroll-away wins. - Fixture Gateway ignores cancellation from an aborted/closed socket; UI proof waits for the mounted timeline and records scroll metrics. Co-authored-by: Copilot App <[email protected]>
Resolve docs/CHAT_VISUAL_DESIGN.md by keeping both the tail-navigation and main's question-dock/working-claw paragraphs. Co-authored-by: Copilot App <[email protected]>
…citations The static ScrollToAsync refactor kept the old instance-method logging block, so GatewayFixtureUiTests did not compile (CS0103 scroll/before, CS9105 output in static context) and the UI job failed all three steps. Restore main's ScrollToAsync verbatim, with its scroll diagnostics, and the one end-scroll followed by passive visibility polling in the resize test, so the clipping regression from openclaw#1549 stays covered. Also correct two CI_FAILURES.md review findings: run 41532119336 is a fork run about hosted fixture startup, not the local pristine reasoning-picker crash, and the 90 s fail-fast wait, phase-bearing message, and bootstrap/window-creation markers are existing fixture diagnostics, not new in this change.
* test: stabilize flaky UI-job and SetupEngine CI failures - Serialize the UITests assembly and lock the testhost PerMonitorV2 DPI context at assembly load so launched-app collections cannot poison it before the UIThreadFixture initializes (mode A). - Re-issue the chat timeline end-scroll while waiting for message 240 instead of one scroll followed by a passive 20 s wait (mode B). - Poll the retained composer draft instead of asserting it once, tolerate the handoff receipt temp-file/move race, and raise the handoff settle budget to 45 s (modes C, C2). - Re-check WaitForRenderedConditionAsync on a dispatcher timer so off-screen windows and dynamically inserted children settle, accept XamlRoot as in-tree for the wizard More button, wait for Gateway request quiescence before request-count asserts, bound SVG decode with the real queue-wait-plus-decode product bound, and invoke SettingsBack only when it is enabled (modes D, G1-G4). - Close composer flyouts by awaiting real closure, close stray popups before Reactor teardown, and mark teardown phases in the console (modes E, F1); bracket the dispose finalizer drain (mode F2). - Raise the GatewayPackageCleanup worker timeout to 120 s (mode H). - Record proven unresolved modes in docs/CI_FAILURES.md. * docs: attribute the hosted-runner fixture window-creation hang * docs: attribute the reasoning-picker in-body testhost crash * docs: add fork CI run evidence to the retained-draft loss entry * test: restore single-scroll clipping coverage and correct CI-failure citations The static ScrollToAsync refactor kept the old instance-method logging block, so GatewayFixtureUiTests did not compile (CS0103 scroll/before, CS9105 output in static context) and the UI job failed all three steps. Restore main's ScrollToAsync verbatim, with its scroll diagnostics, and the one end-scroll followed by passive visibility polling in the resize test, so the clipping regression from #1549 stays covered. Also correct two CI_FAILURES.md review findings: run 41532119336 is a fork run about hosted fixture startup, not the local pristine reasoning-picker crash, and the 90 s fail-fast wait, phase-bearing message, and bootstrap/window-creation markers are existing fixture diagnostics, not new in this change. * test: address review of the More-button wait and SVG decode bound - Keep IsLoaded as the wizard More-button readiness check. The poll timer already covers the no-frame case, and a bare XamlRoot check let the automation peer invoke a button a user could not yet click. - Restore the single-decode SVG bound to SvgRenderTimeout + 2 s. The single-load tests arrange no queue contention, so the doubled queue-plus-decode budget only hid a real overshoot: the decode cap fires on time but SvgImageSource.SetSourceAsync blocks the UI thread past it. Assert the decode slots are idle before timing and include timestamped resolver warnings in the failure message. - Add Load_QueuedBehindBusyDecodeSlots_CompletesOnceASlotFrees to cover queue wait plus decode deterministically. - Record the UI-thread blocking attribution in docs/CI_FAILURES.md.






Related: #1424
Merge HOLD. Published head
801f5ce01ebf8e4a98f0ca78d101cf0bd1d9a601was rebased ontomainsnapshot46062f01511d43c08fd541a6297e2479348a165a, after #1898 (chore: update Windows App SDK to 2.6.4). Required local unit suites pass and CI attempt 2 is green, but full-product native proof remains incomplete. The exact upstream invalid-anchor sample crashes with preview.15; preview.16 completes twelve replacements on the same old native SDK and current SDK 2.6.4 Debug/Release. This verifies the reduced mechanism, not complete Companion acceptance. Strict final-marker clipping remains reproducible before the upgrade and without Reactor.What Problem This Solves
Adopts the published Reactor mitigation for native chat session-switch crashes while preserving pooled accessibility and tooltip metadata.
User Impact
User impact: native chat uses the upstream recycled-anchor workaround alongside Windows App SDK 2.6.4 inherited from main. A local, unpushed test repair removes a selection-automation race; slow cycles and clipping remain unresolved. No new production scrolling fix is claimed.
Why This Change Was Made
Both Reactor packages move from preview.12 to
0.1.0-preview.16, still the latest on both authoritative NuGet feeds. Package commit459f7234dc2b0b72125f833ba86c051a554c12cfincludes microsoft/microsoft-ui-reactor#1214. Reactor's recycled-container workaround and native WinUI anchor safety address different parts of the failure.The production delta is the package project plus three chat files, not a scrolling redesign:
REACTOR_POOL_001for direct writes inside.Set(...). Reactor must track these properties so reconciliation and pool reset update or clear them..ItemStatus(...)The unchanged published nine-file delta is 161 insertions / 49 deletions. It does not import #1449 (improve(chat): remove an unnecessary wait when opening chat history), replace
StartBringItemIntoView, or add extent-driven retries.Evidence
Original invalid-anchor mechanism: the exact source from microsoft/microsoft-ui-reactor#1213, SHA256
D8ED327C3704B56153D9791C932DD5F60D4BF3290BB8EB538D20AD95F88F31F7, starts a native bring to item 76 of 77, then immediately replaces keyed history through Reactor state. It has no OpenClaw, Gateway, Markdown, explicit collapse, forced layout or correction timer. Three separate package variants share this unchanged source:0xC000027B.The preview.15/preview.16 old-SDK outputs contain byte-identical native WinUI DLLs matching the original report's version, isolating the Reactor change from the SDK upgrade. A separate read-only observer run recorded bring return, state replacement/render, then unhandled
ArgumentException, HRESULT0x80070057,Handled=false, and native exit0xC000027B. An additional native-debugger run resolvedScrollingAnchorRequestedEventArgs::AnchorElement,ItemsView::OnScrollViewAnchorRequested, andScrollPresenter::EnsureAnchorElementSelectionthroughArrangeOverride, matching the invalid-anchor path in microsoft/microsoft-ui-xaml#11865. This is not exact equality with the original full Measure-path stack. The debugger itself failed in its exception callback during detach; itsc0000005is not an app access violation, and that run's STILL_ACTIVE receipt is not the uninstrumented crash-exit evidence.These are reduced-mechanism checks, not full Companion/Gateway scheduling, sustained-stress or final-tail acceptance. Visible selected-history rows were verified in two successive UIA samples after each transition, not an independent compositor fence or measurement of native pending-operation duration. All nine attempts, including early runner/cleanup defects, are retained. Historical driver hashes distinguish the passing helper from the later failed-window-preserving helper. Sources, receipts, stack logs and owned-window captures are local artifacts, not public proof links.
Pre-upgrade clipping control: a separate, uninstrumented Release build uses the pre-upgrade chat sources from
46062f0and core/Advanced preview.12, Drawing compile dependency 10.0.11, SDK/WinUI 2.6.4 and the unchanged scroll controller. Archived source Git blobs match after LF/CRLF normalization. Both Reactor DLLs match official package payloads; package archives match the NuGet catalog SHA512. Separate output/intermediate directories and a fresh synthetic Gateway profile were used, without simultaneous builds or UI runs.The identical standalone UIA probe completed twelve natural-tail switches, then failed on the third narrow resize after the original single 0%/100% scrollbar sequence per width. The END marker remained clipped for 20s. The inspected owned-window image shows the final message's first paragraphs, but its final marker below the composer. A second 100% request recovered it only as a diagnostic after failure. This proves the strict symptom can occur before the upgrade, not that every failure shares a cause or that preview.16 cannot add another regression.
Reactor-free native control: a separate unpackaged Release ARM64 diagnostic uses SDK/WinUI 2.6.4, native
ItemsView,StackLayout,AnnotatedScrollBar, ordinary TextBlock fixture rows, and the currentVerticalAnchorRatio=1configuration. There is no Reactor package, Markdown renderer, Gateway, application reconciliation or extent correction. In resize-only mode ItemsSource never changes. Both traced and scroll-event-tracing-disabled runs established the natural final marker, qualified the first 900/1300-width pair, then clipped the END marker on the second narrow resize for twenty seconds after the original single 0%/100% sequence per width. Actual window widths and transcript-width changes greater than 200 physical pixels were measured; qualifying visibility required two successive UIA samples. Inspected owned-window captures show message240's heading with the final marker below the composer.The traced control ended at offset
35456.5674; a subsequent extent increase raised the maximum to35499.4275without another view adjustment, leaving about 43 DIPs unscrolled. The trace-disabled run ended at scroll99.879265%. These diagnostic builds have different recorded hashes because the event-subscription gate was added between them, not a same-binary A/B. A later unchanged untraced instance failed its initial natural-tail precondition before any switching/resizing; that failure is retained, not a passed stress control. This establishes that the endpoint failure mode can occur without Reactor under the tested native configuration. It does not establish identical causality for every product failure or exclude additional upgrade regressions. Sources, receipts and captures are retained locally, not represented as public artifact links.Application lifecycle trace: a trace-only preview.16 build captured an extent increase after the final
ViewChanged, without another offset adjustment. Suppressing resize-triggered chat-width state updates still reproduced clipping on the third narrow resize; other reconciliation activity was not eliminated. Two extent-driven bring prototypes were rejected: one blocked during a pending initial bring; the guarded variant conflicted with explicit scrolling and failed its first narrow pass. No application crash or layout-cycle exception was established by either prototype. Neither entered repository production source.The pinned upstream parking fixture explicitly separates fixed-height exact-end checks from variable-height estimated-extent behavior. This is supporting context, separate from the native control above, and is not proof of framework-only ownership of every application failure.
Retained executions, failures and comparison limits
projects.listrejections, activation, an MCP-token file-sharing error and a rejected blank capture.SelectSessionAsyncwith a test-side NRE before cycle output.projects.listcases). Its target stress/tail cases passed. Focused Release 2/2 passed. The runner's accidental expanded selection is retained, not relabeled a focused pass.Build and Test 40720588483, attempt 1 failed while disposing the fixture after the question-recovery test: Shared 4,665 passed / 8 skipped / 1 failed, aborted WebSocket/transport read. The stack ends in
FixtureGatewayServer.DisposeCoreAsync, not a failed question assertion. CI Gate failed and revocation recovery E2E was cancelled. Hosted UI succeeded, but does not replace custom acceptance. Relevant published fixture sources match the frozen main snapshot; no independent main execution proved that CI failure baseline or flaky. CodeQL 40720588401, including actual Actions/C# analysis, passed.CI follow-up, 2026-10-29: attempt 2 passed, including CI Gate, after one
gh run rerun 40720588483 --failed --repo openclaw/openclaw-windows-node. The fresh Core job passed Shared 4,666 / 8 skipped, Connection 1,694 / 1 skipped and WinNode CLI 129 / 0 skipped. The exact newly uploaded TRX confirmsInteractive_QuestionRecoveryAcrossSocketsAndResolutionBroadcastpassed in 151ms. Fresh revocation-recovery E2E passed 1/1 against the recorded Gateway 2026.10.8. Both fresh jobs checked out mergedd5991ccae058caa6bbc833bdc57c0908809a420, combining unchanged head801f5ce0with base46062f01. Previously successful jobs, including hosted UI, were reused, not rerun. This confirms the original shutdown failure is intermittent on that unchanged candidate; it neither tests the local repair nor clears custom stress/scrolling acceptance.Latest local follow-up, 2026-10-29: the receive loop now treats an
OperationCanceledExceptionas expected only when its connection is cancelled or its socket is already Aborted/Closed, matching the existing WebSocket exception filter. Responder failures are still awaited separately; the expanded guard preserves the exact unowned cancellation exception as well asInvalidOperationException. This is an uncommitted test-support repair, not production behavior or a hosted-CI result. The original question-recovery test passed 100/100 locally before the repair, so its original timing was not reproduced. A new faithful real-WebSocket regression now reads a partial synthetic 32MiB response, pauses its reader through the existing fixture peer, and requests restart. The original receive filter fails disposal withOperationCanceledException: Aborted, inner transport IOException/SocketException 995 and the same receive-to-disposal stack; the repaired filter passes. All 101 protocol tests then passed, including both exact responder-fault guards. This proves the shutdown boundary with real backpressure, not the original question scenario's exact interleaving. The regression costs about five seconds because it exercises the fixture's existing restart deadline, with no new timeout, process, desktop or exported seam.One new phase-timed Release diagnostic completed 12/12 cycles. It did not reproduce the retained four-second gaps: the largest measured call was a 429ms tree lookup; activation, dropdown expansion/collapse and MCP history reads stayed below 40ms. An uninstrumented control then passed both original cases, with twelve cycles totaling 14.158s and the strict both-width tail test passing. Earlier failures remain retained, and slow-cycle attribution remains unresolved. The diagnostic and control used the unchanged frozen Release app and existing Release fixture dependencies; they do not prove the new receive filter. Ordinary UI tests were force-recompiled afterward and instrumentation absence checked, rather than assuming an incremental build restored them. All three new app identities and both fixture-process identities were verified absent; all 602 frozen runtime hashes still match.
A subsequent diagnostic removed per-call filesystem pacing by buffering timings in memory and flushing after the bounded test. It also completed 12/12, with the largest measured call 407ms; it does not explain the earlier slow instance. Separate same-binary native anchoring controls were inconclusive: bottom and top anchoring failed the initial natural-tail precondition before any resize pairs, and the disabled-anchor run failed its process-identity precondition before UI observations. An earlier runner attempt failed while recording its source inventory. Those attempts are retained as failures, not qualifying comparisons or a proposed configuration fix. The last identity failure was subsequently traced to
Process.MainModulereportingntdll.dll, not proven PID reuse. A fresh audit against the intended executable and creation time confirmed the process absent. The session-only runner now uses the native executable-image query, requires the expected image, and checks creation time before PID-reuse handling. A controlled non-UI child verified expected-image qualification, preservation of a deliberately stale identity and exact-owned cleanup. Ordinary UI test instrumentation was removed again, the original 602-file app runtime still matched, and the desktop was released for the separately owned cron proof.CI 40728085479 at ff1ca7f, attempt 1 used x64 Debug, preview.12 and SDK 2.6.4. It shares 30 cases with this PR, but does not run the twelve-cycle stress case. Its 31 cases add a question scenario; this PR's 32 add stress and a fixture guard. The published
GatewayFixtureUiTests.csfiles are identical before the local repair, but production UI differs. Its 28 failures were 25 unexpectedquestion.listcleanup assertions, 1 width delta of 900 to 1044 (less than 200), and 2 stream-visibility timeouts. Its geometry failure and question-recovery panel are not this PR's wide-tail assertion. Protocol/hosted geometry repairs remain separately owned.Historical 31fff448 results/images and e28 clipping captures remain relevant negatives/limits, not current-head acceptance. Earlier 31fff44 Debug/Release completed 12 cycles in 22.871s/21.150s; slow stress is not consistent. Public links were verified.
Local repair and review: four uncommitted test-only files now differ. The two UI-test files retain the successful selector lookup instead of repeating a nullable search, inspect already-enumerated elements, and add timings/metrics; the fixture server and protocol test add the shutdown filter, real-socket regression and exact responder-fault guard above. Twelve cycles, the 150s watchdog, natural-tail checks and exact width/visibility assertions remain. Only optional metrics catch
ElementNotAvailableException, outside actions/assertions. Independent rubber-duck review found no blocking UI helper defect and supported the preview.12 proof classification. Follow-up independent rubber-duck review checked the native-only and original-overlap sources, hashes, receipts, stack/observer logs and upstream report: no blocking evidence flaws or overclaims found. That review verified evidence integrity, not an independent rerun or full-product acceptance, and predates the new fixture repair. Whole-tree shared autoreview remains blocked by the previously documented canonical installation/authentication issue, not reported clean.All failed attempts remain recorded. The original invalid-anchor path is now reproduced in the reduced sample; exact full-product scheduling, clipping ownership across every application failure, and slow-cycle attribution remain unresolved. The normal-source forced Release rebuild passed; the frozen original DLL/PDB were then restored. A fresh read-only audit on 2026-10-29 confirms all 602 original runtime file hashes match and no task-owned process remains among all 20 recorded overlap app/driver/debugger identities, including runs missing cleanup files: 19 PIDs absent, one reused by an unrelated process and untouched. Native-only app/driver cleanup was previously verified; the desktop reservation is released. No production source, commit, push, merge, runtime install, display setting or #1449 edit changed during this follow-up. The observed live
maintip is now5daead32131b9b0a7b90dd11ad98ced6da147d61; these results remain tied to the recorded candidate, not claimed as a fresh rebase or combined-tree acceptance.One further native diagnostic explicitly switched to short history after loading and then back to long history before attempting resize. The short marker qualified, but the long final marker did not become visible within the unchanged 20-second stage limit, so zero resize pairs ran and no anchor alternative was accepted. This run recorded 3,638 view/extent events while long history was active, with repeated offset/extent changes. That describes an unsettled diagnostic state, not an attributed Companion crash or proof of a scrolling fix. The screenshot and source/binary receipt were retained, both owned processes were verified absent, and the desktop was released. The corrected driver's independent non-UI checks accepted the expected image and creation time, rejected wrong-image and stale-time manifests, and left its helper alive until exact-owned cleanup.
A separately verified upstream lead is microsoft/microsoft-ui-xaml#12085 and its still-open fix microsoft/microsoft-ui-xaml#12086: a non-animated bring after content reset can be clamped against stale compositor bounds even when UI-thread extent is current and
ScrollCompletedreports completion. This is a matching failure class, not attribution of the local clipping or slow cycles. The upstream patch also explains why simply enabling animation is not a valid ItemsView workaround: the virtualizing viewport forces animation off for an anchor outside the realized range. No production animation, retry, anchor or timing change was adopted.An observer-only follow-up now captures the native request/completion mismatch directly: long-history bring correlation 3 requested offset 34,522 with scrollable height 34,621; its
ScrollCompletedevent arrived 5.879s later at offset 0, with scrollable height still 34,619. This happened before app closure, not just during teardown. The final marker remained absent through the 20-second stage limit, so no resize pairs ran. The observer adds only request-event logging; its native WinUI DLL matches the preceding control byte-for-byte, the independent driver is unchanged, and both owned processes were verified absent. The SDK does not expose a public completion-result property here, so the event is not labeled a success result. This directly shows that completion is not tail arrival in this native, Reactor-free control; it does not independently inspect compositor bounds or attribute every Companion failure. The upstream reset/bring lead was already noted earlier and is reconfirmed, not a newly discovered framework issue.Two further bounded controls did not supply a safe workaround. The first valid disabled-anchor run used the same app and driver hashes as the bottom-anchor baseline; it also failed long-tail arrival at offset 0 before any resize pairs. An ordinary
ScrollView.ScrollTovariant used the identical native SDK DLL and unchanged driver, but still failed the final-marker precondition: completion offset 34,002 lagged scrollable height 34,997, and the final observation was 97.296% with no final marker. Both failures are retained, all owned processes were verified absent, and the desktop was released. No production anchor or navigation change was adopted. Cancelling native bring and substituting another scroll operation was not implemented: current upstream ItemsView bookkeeping requires the original correlation's completion before releasing its retained target, so a different operation cannot be assumed equivalent or safe.Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: native Markdown/metadata, session switching and final-marker visibility. Incomplete, with retained failures.windows-11-arm64: native ARM64 Debug/Release builds and isolated fixtures. Not complete pool acceptance or x64 runtime proof.Validation
Windows 11 ARM64, .NET SDK 10.0.403;
OPENCLAW_REPO_ROOTset to the task worktree. Full build, Shared and Tray were freshly rerun after the local fixture repair on 2026-10-29; other rows below remain their separately recorded executions..\build.ps1.\build.ps1 -Project WinUI -Configuration Releasedotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore --filter 'FullyQualifiedName~GatewayFixtureProtocolTests'dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore --filter 'FullyQualifiedName~RestartClose_AbortedReceiveDoesNotFaultServerDisposal'with the original receive filterdotnet build .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -c Debug -r win-arm64 -p:DevBuild=false --verbosity quietdotnet build .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -c Release -r win-arm64 -p:DevBuild=false --verbosity quietgit diff --checkSupplemental session-only native diagnostic commands:
dotnet build .\App\NativeItemsViewProbe.csproj -c Release --no-restore -v:quietanddotnet build .\Driver\NativeItemsViewDriver.csproj -c Release --no-restore -v:quiet, both passed with zero warnings/errors after the final diagnostic edits..\Run.ps1 -Mode resize-onlyfailed on second narrow resize with tracing;.\Run.ps1 -Mode resize-only -WithoutEventTracealso failed on second narrow resize..\Run.ps1 -Mode switch-resize -WithoutEventTracefailed its initial-tail precondition before cycles began. These are local diagnostic executions from a separate artifact directory, not repository test counts or proof-pool passes.The optional
-p:Platform=ARM64adds an output segment causing 260-character SVG copy failures. Successful commands omit that optional segment, retaining the ARM64 RID; no copied-asset workaround or weakened assertion.Supplemental original-source diagnostic executions, from the separate overlap artifact directory:
.\Run.ps1 -Variant p15-sdk24 -Configuration Debugfailed the first replacement with native exit0xC000027B;.\Run.ps1 -Variant p16-sdk24 -Configuration Debug,.\Run.ps1 -Variant p16-sdk264 -Configuration Debug, and.\Run.ps1 -Variant p16-sdk264 -Configuration Releaseeach completed 12/12 transitions with driver/app exit 0. All four app configurations built with zero warnings/errors. The observer run.\Run.ps1 -Variant p15-sdk24-diag -Configuration Debugseparately captured unhandled HRESULT0x80070057; the debugger run.\Run.ps1 -Variant p15-sdk24 -Configuration Debug -CaptureCrashStacksupplied the anchor-setter stack, with the debugger failure and STILL_ACTIVE limit described above. These are retained reduced-mechanism executions, not new repository tests or complete proof-pool acceptance.Earlier full and focused selections used these exact commands with the same explicit app/profile settings. Their results and incomplete attempts are retained in the execution table above:
The final two-case invocation uses the explicit isolated app,
OPENCLAW_RUN_GATEWAY_FIXTURE_UI=1, disposable profiles and screenshot capture:Actual original final-source outcomes: Debug 2/2; Release 0/2, then a separate unchanged ordinary Release 2/2. The latest 2026-10-29 uninstrumented Release control also passed 2/2, zero skipped: tail test 12.585s and stress test 17.494s including setup/cleanup. Its UI test DLL is
6C60730DBEC213B0A0D9C22CB01142021AF4945CDF0FBC98D417EFBA48B9A4F2, with diagnostic methods absent. A distinct session-only phase-timed build passed its one selected twelve-cycle case; this is diagnostic evidence, not the ordinary control. Full/expanded fixture selections and earlier focused/mounted results are retained above; none is silently substituted for a failed attempt. Standalonedotnet UiaProbe.dll <owned-run.json> <metrics.json> resize-soakis session-only diagnostic tooling, not a shipped repository test or additional xUnit acceptance.Real Behavior Proof
801f5ce01ebf8e4a98f0ca78d101cf0bd1d9a601; local helper results additionally record dirty diff/source hashes. Final source:GatewayFixtureUiTests.csSHA256B7AB791902249040A4605C52B1B1E3F7D7EBA610D88FB4DEFC5DA16F135F45AD, Reactor proof file425113561FDF969A158231C4CEB3AA17D9D47D0EBDB2A77410E85E5B54FCE707.65D9C620A19C9FF403FAE5BEC6AFABCF99D21F7787B3C7698356C879E94C7E2A; frozen normal Release4802D8F0C6F1452F75D310CBFCFA229D8068AC27BA453AA52EC94156D249F0CE; earlier ordinary Release test DLLF924141704888B83202FC649AC6162189227639EB4D2885D5140115953D55030; latest ordinary Release control DLL6C60730DBEC213B0A0D9C22CB01142021AF4945CDF0FBC98D417EFBA48B9A4F2. Per-invocation source/binary receipts, completed TRX, partial attempts and owned-HWNDPrintWindowcaptures are retained.Yes/No/N/A): Public CI/comment/upstream links verified. Fresh screenshots/logs are local session artifacts, not public GitHub attachment links.Security Impact
Yes/No): NoYes/No): NoYes/No): NoYes/No): NoYes/No): NoYes, explain the risk and mitigation: N/A. Markdown sanitization and inert link/image policy remain.Compatibility and Migration
Yes/No): Yes, no public command/settings schema change.Yes/No): NoYes/No): NoReview Conversations
No review thread was resolved, #1449 edit made, merge requested or auto-merge enabled. The earlier authorized rebase preserved merge history, was lease-pushed, and retargeted from the obsolete SDK mirror to main after #1898 merged. This follow-up's four-file test-only repair remains uncommitted/unpushed.