Repository navigation
improve(chat): remove an unnecessary wait when opening chat history - #1449
Conversation
|
🦞👀 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 real behavior proof before merge. What this changesThis PR requests initial chat-history scrolling after the native views load, removing the additional layout-event wait. Example: Open a conversation containing 240 messages.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Partial Merge readiness⛔ Blocked before merge - 3 items remain Keep open: this PR addresses a real chat-navigation problem, but still drops a pending initial-scroll request when its target index changes before dispatch. Priority: P2 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherThe Reactor timeline passes session identity and keyed tail-row coordinates to InitialTailPositioner, which coordinates native view readiness and issues row-targeted ItemsView navigation. flowchart TD
A[Session history and live events] --> B[Reactor timeline rows]
B --> C[InitialTailPositioner]
C --> D[Dispatcher callback]
D --> E[TailNavigationPolicy]
E --> F[Native ItemsView scrolling]
Technical reviewBest possible solution: Keep InitialTailPositioner as the owner, capture the current tail inside its validated initial dispatcher callback, and preserve ordinary follow and scroll-away guards. Do we have a high-confidence way to reproduce the issue? The introduced request-loss path is source-reproducible: a same-key tail moving from index 1 to 2 before dispatch fails CanExecute without replacement; supplied native failures were not rerun during this review. Is this the best way to solve the issue? Removing the extra layout wait is a focused approach, but the implementation must preserve initial-request delivery when reconciliation changes its coordinates. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b860572cb515. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
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 HistoryReview history (10 earlier review cycles; latest 8 shown)
Reviewed October 20, 2026, 12:55 AM ET / 04:55 UTC (Revision 11). |
|
Global repo triage reviewed exact head Decision: HOLD_FOR_AUTHOR. Take confidence: 25%. Recommendation confidence: 98%. Risk: High. I found no separate static defect in the load-only refactor, but current-head native proof is negative, and this head still relies on Resolve #1407 first, then rebase or redesign this timing change against the selected navigation mechanism. Add ordinary hosted CI and successful |
|
Clarification: #1407 is unrelated and will be fixed by upgrading to the latest reactor version. This scroll restore issue is separate and caused by relying on I tested locally on both x64 and Arm64 |
|
Thanks for the clarification, Morten. I kept the scroll timing change separate from the older anchor-crash workaround and tested committed dependencies without the compatibility overlay. Your branch was refreshed with current main by a clean ordinary merge to There is positive evidence: natural initial tail placement and three A/B history switches passed, and the production-shaped Release run passed both narrow and wide viewport checks. No anchor crash was observed in these bounded runs. One result needs investigation before merge:
The base controls used the same native test source and committed dependency manifests, once per configuration. The second assertion is a conjunction of the expected picker selection and final-marker viewport bounds. The Gateway successfully returned the requested long history, but the retained diagnostics do not separate the two UI predicates, so I am not claiming this is specifically a routing defect rather than tail positioning or timing. Reproduction uses the existing Could you look at the Sessions-page transition and the dropped/retried initial-tail request lifecycle with this differential? I am holding the merge for this current-head native result, not treating the historical overlay crash as a blocker or asserting a deterministic root cause from one run per case. The fuller commands, identities, and limitations are preserved in the updated PR body. |
|
I still think this clean-up is good to have, but as pointed out, there are still a few cases where scroll restore fails, which is likely the reason for update-layout event handlers this PR removes. This is tracked in microsoft/microsoft-ui-xaml#12085 with a (currently) pending PR: microsoft/microsoft-ui-xaml#12086 |
shanselman
left a comment
There was a problem hiding this comment.
Holding this for one introduced source defect and separately unresolved native evidence. The September 30 validation details are now in the PR body.
MEDIUM: pending initial-tail positioning can be lost. In ReactorItemsViewScrollController.cs:171-188,247-253, the initial callback retains an index captured before dispatch. If a reconciliation adds a row before the same last-row key (for example, the first tool row before the thinking row), UpdateTail at 130-144 changes the index/count but schedules no replacement because its changed check compares only the key. CanExecute then rejects the captured index and StartTailRequest silently returns. Current main still recaptures through AwaitLayout when that call returns false; this PR removes that recovery. Opus 5.5 and GPT-6 Astra independently flagged this same case, and the control flow was verified.
Please capture the current tail inside the initial dispatcher callback after its generation/load checks, preserving the ordinary _following guards, and add behavioral coverage for an index change with an unchanged tail key before dispatch. No layout subscription, forced-tail loop, or Reactor upgrade is needed for that narrow correction.
This source finding does not diagnose the runtime failure. I normally merged exact main 1b334e36 locally as 2985083; your two-file patch remains byte-identical and Reactor stays preview.12. This integration is unpushed, so live PR head is still 113416a4. On the local integration, full Debug fixture results were 30 integration passed and 4 UI passed/1 failed: SessionPickerSwitchesRealHistoriesAndShowsMessage240AtBothWidths timed out waiting for the natural message-240 tail before manual scrolling. Its inspected capture shows the long session selected, a connected responsive app, and a blank transcript. The synthetic gateway returned the long history successfully. One clean exact-main Debug control of that same case passed 1/1. This is differential negative evidence, not deterministic causal attribution or a demonstrated flake.
Production-shaped non-Dev Release passed 30 integration + 5 UI cases, with inspected final-marker captures at 1500x720 and 1900x950. That positive result does not erase the Debug failure or the earlier 0/86 Release natural-tail observations. No PR fixture retries were used to obtain green.
Full builds passed; final required reruns were Shared 4,169 passed/33 skipped/0 failed and Tray 3,345 passed/0 failed; focused history tests were 28/28. The initial Shared run had one failure in the unchanged MCP dispose test; its one targeted diagnostic and final full rerun passed, without an unrelated code change or a blanket flake claim.
Please keep the narrow source correction separate from diagnosing native positioning, and retain natural-tail checks before manual scroll. Streaming arrivals while a reader is intentionally scrolled up remain unverified by this browse-only fixture. No preview.16 changes, semantic maintainer patch, force push, or merge was made. Owned fixture apps/profiles are cleaned and the desktop lane is released.
|
Global triage: HOLD_FOR_AUTHOR. Take confidence 20%; recommendation confidence 98%; effort small; risk medium. Reviewed exact head Author: resolve the current durable review findings, add focused regressions, and request a fresh exact-head review. This is a triage classification, not a merge action. No branch changes were made. |
|
@karkarl I'm reviewing open PRs and would appreciate your take on this one, since you have context on the chat scrolling issues. Could you look into the remaining concerns and what needs to be addressed before merging? |
Adapt only the two-file feature delta from PR #1449 (fb8b9e7..113416a), not its merge side. Capture the current tail inside dispatch, position once per request key, and protect visible reader anchors with native behavior cases. Co-authored-by: Morten Nielsen <[email protected]> Co-authored-by: Copilot App <[email protected]>
Current-head native proof: HOLDTested existing PR #1449 (improve(chat): remove an unnecessary wait when opening chat history), exact standalone head The authorized same-key/index-shift source correction remains validated by the required build/unit tests and both final requested-model reviews. It does not resolve the native acceptance failures below.
The product-failing picker and delayed-history cases were not retried for green. Only the Pages case whose first failure was capture infrastructure was attempted once after supplying the existing isolated WinAppCLI 0.7.1 and PowerShell 7.6.8. Both its earlier infrastructure failure and incomplete later attempt are retained. Observed native behavior
All are synthetic fixture histories. No real conversations, provider account, node command execution, or real-Gateway pairing were used. No retained Commands and artifactsThe session artifact root below is abbreviated as Debug integration: dotnet test .\tests\OpenClaw.Tray.IntegrationTests\OpenClaw.Tray.IntegrationTests.csproj -c Debug -r win-arm64 -p:Platform=ARM64 -p:DevBuild=false --filter 'FullyQualifiedName~GatewayFixtureProfileTests|FullyQualifiedName~GatewayFixtureRunTests|FullyQualifiedName~GatewayFixtureAppTests' --results-directory '<session-files>\pr1449-head-debug\trx' --logger 'trx;LogFileName=fixture-profile-app.trx' --verbosity quietDebug UI used the same configuration/RID/platform/DevBuild/results arguments with project Release build and fixture (the fixture script was invoked through the supplied native PowerShell 7.6.8, with WinAppCLI on process PATH and powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\build.ps1 -Project WinUI -Configuration Release
.\scripts\test-gateway-fixture.ps1 -AppPath '.\src\OpenClaw.Tray.WinUI\bin\Release\net10.0-windows10.0.22621.0\win-arm64\OpenClaw.Tray.WinUI.exe' -Configuration Release -ArtifactsDirectory '<session-files>\pr1449-head-release' -ScreenshotsRelease build passed. The fixture command failed on the reported native UI case; its integration suite passed. Reports are in
Original completed Debug/Release fixture app PIDs were absent and their synthetic profiles removed. The overdue Pages-only process tree was explicitly stopped; recorded app PID 35220 was absent, and its inspected exact task-owned temp root was removed. No unrelated process was stopped. Desktop released to #1549. Hosted CI: separate blocker, bounded attributionBuild and Test run 39851922781 failed. The UI job failed The job checked out merge CodeQL run 39851922753 concluded success at its setup gate, but C# and Actions analysis jobs were skipped. No passed security analysis is claimed. Remaining gates and upstream contextThe static browse fixture does not exercise active-turn/tool-arrival timing or streaming reader non-stealing. Real-Gateway/reporter reproduction, stable final-tail behavior in both configurations, and exact combined-tree validation remain outstanding. Earlier September negative proof remains relevant and is not overwritten by passing adjacent cases. Upstream microsoft/microsoft-ui-xaml#12085 and microsoft/microsoft-ui-xaml#12086 are OPEN; the latter is unmerged. The proposed fix describes stale compositor Next validation surface is an isolated combined tree of actual current main, final #1549, and this authorized #1449 commit, after #1549's next desktop pass. It will not be pushed into either contributor branch. No merge is authorized. Attached images, in order: incomplete Debug Pages diagnostic failure, Release delayed-history failure, and the passing Release wide final-message view. These are fixture-only captures, not acceptance claims. Isolated combined candidate: build-blocked, not native acceptanceThe standalone results above remain unchanged. A separate, unpushed proof worktree composed these complete constituents cleanly without conflict resolution:
This includes main's localized bundled welcome commit Required full build failed, exit 1, with preview.16
The compiler reported five diagnostics, including a duplicate HelpText diagnostic. No source repair or analyzer suppression was applied in the proof worktree, and no combined native app/UI pass is claimed from this failed build. Remaining unit/Release compile evidence is being retained. The coordinator assigned narrowly coupled supported-property/pooling/automation repair to the existing #1549 owner, not this PR. A corrected hash and revalidated composition are pending in the same proof worktree. The first candidate failure will not be erased or retried with hidden suppression. Desktop order remains the corrected upgrade's standalone pass, then the sole combined-proof session with finite process-tree watchdogs. This PR's branch/head remains unchanged at First candidate required validation closeoutThese are results for the failed
The Shared failure is The four Tray failures are the Bounded setter provenance confirms these are existing-main/preview.16 upgrade interactions, not setters introduced by the narrow #1449 patch. Welcome HelpText/ToolTip writes originate in Resolved app assets SHA256: The failed commit/tree and full compiler logs/TRX are retained in the isolated proof session. Its next candidate awaits the upgrade owner's corrected hash; both this build failure and the standalone negative proof above remain part of the landing record. Corrected upgrade interaction candidate: validation in progressThe upgrade owner supplied corrected local #1549 revision
No failed product case was retried for green and no unrelated test/product repair was made in the proof tree. These are corrected-candidate results, not an erasure of the first candidate's failures and not changes to the existing #1449 branch. Native Debug/Release proof is still pending the upgrade owner's corrected standalone pass and explicit desktop handover to the single combined-proof session. Its passes require independent finite wall-clock process-tree watchdogs. No combined UI, crash, active-turn/streaming or real-Gateway acceptance is claimed. |
Final combined-tree result: HOLDThe completed native interaction proof is negative. It is separate from the standalone #1449 results and does not erase them.
Both native passes completed with final TRX before independent 600-second wall-clock watchdog deadlines. Neither was retried for green. This is a distinct combined-tree report, not the earlier standalone #1449 proof. Both contributor heads and main were reverified after publication.
Sidebar natural-tail/narrow-wide, delayed-history and Pages cases passed in both configurations. Those adjacent passes do not override the remaining native failures or establish that the original smaller-window clipping or real-Gateway crash is fixed. Exact commands, watchdog receipts and artifact identityThe proof worktree was Each native command used native PowerShell 7.6.8 with .\scripts\test-gateway-fixture.ps1 -AppPath '.\src\OpenClaw.Tray.WinUI\bin\Debug\net10.0-windows10.0.22621.0\win-arm64\OpenClaw.Tray.WinUI.exe' -Configuration Debug -ArtifactsDirectory '<proof-files>\583ce764-fixture-debug' -Screenshots
.\scripts\test-gateway-fixture.ps1 -AppPath '.\src\OpenClaw.Tray.WinUI\bin\Release\net10.0-windows10.0.22621.0\win-arm64\OpenClaw.Tray.WinUI.exe' -Configuration Release -ArtifactsDirectory '<proof-files>\583ce764-fixture-release' -ScreenshotsThe session-local wrapper used no-console
The watchdog kill branch was not needed. Both suites have final TRX and zero skips, unlike the earlier interrupted standalone Pages attempt. Exact native TRX paths relative to
The EXE hashes identify apphost stubs, not identical managed builds. Per-run reports agree with their configuration's distinct DLL hash and source identity Executed coverage and inspected captures
Eight active-state PNGs were visually inspected by the proof session. The four final-240 images show full The four attached captures are ordered: Debug voice-tail failure, Release voice-tail failure, Release stress failure, and passing Debug wide final-row state. Their source identities:
Required full Debug and production-shaped Release WinUI builds passed on this corrected candidate. Shared tests retained 4,641 passed, 2 failed, 26 skipped (symlink privilege plus WebSocket retry-generation assertion); Tray retained 4,467 passed, 4 failed (ARM64 prerequisite resolver cases). These failures were not repaired or retried as part of this validation-only work.
Shared The first combined candidate Cleanup verified zero recorded owned app/fixture PID-and-start-time matches, zero fixture profile directories, and no live process at the task-owned app path. The sole proof child explicitly released the desktop after both passes. No unrelated process was stopped. No integration was pushed into either contributor branch. Existing #1449 remains open at Remaining limitations include real-Gateway/reporter reproduction, active-turn/tool-arrival streaming and reader non-stealing, stable final-tail behavior across configurations and bounds, existing CI failure, and skipped CodeQL analysis. Pending upstream microsoft/microsoft-ui-xaml#12086 is plausible context only, not root-cause proof. Hosted #1449 CI remains separate exact merge |
Resolve the current tail after the initial dispatcher handoff while retaining the originating generation and ordinary follow guards. Cover same-key index shifts, stale generations, and empty tails. Co-authored-by: Copilot App <[email protected]>
96dfba0 to
ca3dac7
Compare
Run startup cleanup checks in the existing nonparallel fixture collection so concurrent tests cannot reclaim released ephemeral ports before rebind assertions. Co-authored-by: Copilot App <[email protected]>
Rebase and CI repair complete; runtime HOLD retainedUser-directed rebase preserved both original patches without content changes ( The previous onboarding OCR lane failure is resolved by existing current-main workflow isolation of Exact final-head hosted resultBuild and Test 40006500973: SUCCESS, including CI Gate. This was the first run of the committed fix, not a rerun of the failed candidate.
Core/CLI, WSL E2E, release and package jobs were skipped by the existing path/event classifier, not passed. CodeQL 40006500904 passed its setup gate; Actions and C# analyses were skipped. No security-scan pass is claimed. Local exact-head validationNative Windows ARM64.
Rebase compatibility rubber-duck review found no blocking source issues; the final narrow collection-only fix retains all behavioral assertions. Canonical autoreview installation remains unavailable on this host; no helper success is claimed. Runtime and landing status, unchangedGreen selected hosted CI is not current-head crash/scroll acceptance. The standalone Combined No new desktop run was requested or performed for this test-harness fix. Real-Gateway/reporter crash proof, active-turn/reader non-stealing proof and final-head standalone/interaction acceptance remain unverified. #1549 remains separate and must satisfy its own gates before its recommended landing order can be accepted. PR stays OPEN / runtime HOLD; no merge authorization inferred. |
Current-head native proof: HOLD remainsHead
Failures:
The first build attempt failed before product proof because the disposable checkout lacked GitVersion branch metadata. That failure is retained separately; adding local branch metadata left source HEAD unchanged and allowed the recorded build to run. No test assertion or timeout was weakened. This is standalone current-head Debug proof, not Release, combined #1549 interaction, active-turn/reader non-stealing, or reporter/real-Gateway proof. Existing historical negatives remain valid. Full Shared/Tray suites were not rerun for this source-unchanged proof attempt; their existing receipts remain separate. No merge requested. |
…quests Merge main 2ff4d16 into the existing contributor branch. Keep the Reactor preview.16 and WinAppSDK 2.6.4 layout, render, reflow and input gates. Resolve current tail coordinates after dispatch instead of capturing them before the dispatcher handoff. The prior load-only navigation is intentionally not restored over the landed crash and reflow fixes. Co-authored-by: Copilot App <[email protected]>
Use one valid test reference and guard type per ledger row, preserving the existing follow-admission row and recording live-coordinate dispatch independently. Co-authored-by: Copilot App <[email protected]>
Test results and review verdictReviewed production head: Verdict: approving the scoped change. Source review, green hosted CI, and the targeted native runs provide high engineering confidence (approximately 90-95%, a judgment rather than a measured reliability guarantee). The original crash/blank-transcript scenario did not reproduce in either Debug or Release. The earlier missing targeted-runtime-proof concern is now addressed for the bounded scenarios below, not every possible native scrolling failure. The branch already includes current main's Reactor/Advanced Native ARM64 fixture results
The existing repeated-switch test was locally strengthened from 12 to 64 cycles to exceed the historical selection-15 counterexample. That test-only extension is uncommitted/unpushed, not part of the reviewed PR head. Production source remained unchanged. The existing assertions and 150-second scenario deadline were retained. The stress test verifies visible long/short histories and responsiveness, not natural-tail placement on all 64 cycles; the separate natural-tail test covers that contract. Both corrected configurations produced final TRX without external deadline timeouts. Their first failures remain recorded:
These remaining observations are disclosed separately from approval of the scoped tail-dispatch change. The complete native fixture category is not being relabeled all-green. Commands and validationpowershell.exe -NoProfile -ExecutionPolicy Bypass -File .\build.ps1
dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore --verbosity quiet
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --verbosity quietFull build passed. Shared: 4,810 passed, 24 skipped, 0 failed. Tray: 4,788 passed, 0 skipped/failed. Focused chat presentation/Markdown tests: 48 passed. The native UI command was run once for each corrected configuration, with explicit fixture app/artifact paths and isolated child-process environment: dotnet test .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -c <Debug-or-Release> -r win-arm64 -p:Platform=ARM64 -p:DevBuild=false -p:RequireSignedCleanupHost=false --no-build --no-restore --filter 'Category=GatewayFixture' --results-directory <owned-artifacts> --logger 'trx;LogFileName=ui.trx'Integration used the matching configuration and filter:
The Release cron replay used the same native command with:
Release builds explicitly allowed an unsigned cleanup host for local proof with Exact-head hosted Build/Test and CI Gate passed, including tray/setup/integration and UI/functional/accessibility jobs. CodeQL setup passed, but its analyses were skipped, not completed security-scan proof. Review and evidence limitsActual independent reviewers: Corrected app paths used Actual loaded XAML DLL SHA256 remains An earlier session-only run accidentally selected stale Release TRX, exact argument/process receipts, screenshots, full binary inventory, loaded-module receipts and cleanup audits are retained in the session evidence package. They are local retained artifacts, not public downloadable GitHub artifacts. Cleanup verified zero matching task app/fixture PID+start identities and zero remaining disposable profiles, including the cron replay. Approval is not merge authorization, a guarantee against all native UI bugs, or acceptance of the outstanding reconnect/visual observations as fixed. |
karkarl
left a comment
There was a problem hiding this comment.
Approving the scoped tail-dispatch change at 325c81a. Dual-model source review found no introduced serious defect; CI passed, and native Debug/Release each completed 64/64 session-switch cycles without the original crash or blank transcript. Test results and the remaining reconnect/visual observations are documented in #1449 (comment). The strengthened 64-cycle test remains local and uncommitted. This approval does not claim the entire fixture suite is green or authorize merging.









Related: #1437. This PR does not claim to fix the separate recycled-anchor crash addressed by #1549 (fix(chat): adopt Reactor preview.16 session-switch crash workaround).
Latest October 23 update: user-directed rebase and CI repair complete; runtime HOLD retained. Published head
3dc43d1bcd59938dd1f16876e6f5863cefc0d6dd, rebased onto mainfb45902950fd4f62d20a37dbbafac27e916917f2; hosted mergec9169dbfc761d0664a891e905619bc4d2d3e235c. Original contributor and maintainer patches are unchanged bygit range-diff. The only added fix serializes fixture-startup port-release assertions in the existing nonparallel test collection, preserving every assertion. Build and Test 40006500973 and CI Gate PASS, including Tray, integration, setup, UI and accessibility. Exact commands, counts, local environmental failures and retained runtime gates. CodeQL setup passed but analyses were skipped, not scan-passed. No Reactor upgrade, #1549 integration or PR merge. Historical head-specific evidence and earlier pending/failed CI statements below are retained chronology, not claims about the final head. Green selected CI does not clear final-head crash/scroll acceptance.What Problem This Solves
Opening or switching chat histories can leave initial scrolling waiting for an additional layout event rather than positioning at the latest message.
User Impact
Intended user impact: initial scrolling toward the latest message no longer requires an additional layout event after the view loads. Runtime HOLD remains: the authorized maintainer patch fixes the source-level lost-request defect, but earlier standalone native Debug natural-tail and Release delayed-history proof failed. The corrected Pages capture attempt was incomplete, not a passing run. Earlier hosted CI failed separately in unchanged onboarding OCR; the final rebased CI now passes as linked above. Source review, unit tests and responsive fixture apps do not establish scrolling or layout-cycle/anchor-crash acceptance.
Why This Change Was Made
The native bring-into-view request handles target realization and layout.
InitialTailPositionerremains the owner and waits for the ItemsView and ScrollView to load, retaining the dispatcher handoff outside Reactor reconciliation. Generation checks, tail-identity validation, unload/disposal cleanup, and ordinary follow guards remain.At the previously reviewed head
113416a4, removing the base retry could lose an initial request if its tail index changed while its displayed key stayed the same. The user-authorized maintainer commit96dfba0e3059c8d3ef5e87259b9fd71a475257d4now retains only the originating generation before dispatch, then resolves the current tail inside the callback after generation/load checks. A small pure request resolver provides executable same-key/index-shift, stale-generation, and empty-tail coverage; source wiring guards prohibit copying coordinates before dispatch. Ordinary follow, reader scroll-away guards, and the contributor's load-only approach are unchanged. No forced-tail loop, dependency upgrade, or preview.16 change was added.Evidence
October 23 historical standalone and isolated combined native proof: negative
Latest isolated combined-tree result: HOLD. The separate proof-only integration
583ce764d2f556ff1f7a775e334caaef347aec16(tree135449b2653a43ba1c167d5f87cd5cbf648db649) contains mainfb45902950fd4f62d20a37dbbafac27e916917f2, published corrected #154931fff448d11131f28a7842e6f04534fcadbd087aand complete pre-rebase #144996dfba0e3059c8d3ef5e87259b9fd71a475257d4. Both builds pass, but required tests and native proof are not green. Integration passed 32/32 each configuration; native UI Debug 29 passed/3 failed, Release 28 passed/4 failed. Both completed under independent 600-second wall-clock watchdogs, no retries. Fractional-voice natural-tail and two Composer Newprojects.list METHOD_NOT_FOUNDfailures remain; Release stress additionally fails before any completed cycle withChat timeline is not mounted. Sidebar natural-tail/narrow-wide, delayed-history and Pages pass both, without erasing the failures. Cleanup verified and desktop released. This is not the standalone PR head, real-Gateway/reporter or active-turn/streaming proof, and it does not supersede the historical or standalone negatives below. Neither contributor branch received the integration; no PR was merged. Final distinct combined report.Full standalone report, exact commands, artifact hashes, bounded CI attribution and three uploaded screenshots. Tested standalone
96dfba0e3059c8d3ef5e87259b9fd71a475257d4, native Windows ARM64, committed Reactor preview.12. No main or preview.16 integration was used.winappwas missing from inherited PATH.Product-failing cases were not retried for green. Only the initial Pages capture infrastructure failure received one tooling-corrected attempt using the existing isolated WinAppCLI 0.7.1 and PowerShell 7.6.8. Both failures are retained. The corrected attempt's missing completed result remains explicit.
Release picker proof passed three A/B switches with natural-tail checks before manual scrolling, then explicit-scroll width checks at physical windows 1000x720 and 1400x950. Both inspected captures show actual
FIXTURE LONG FINAL MESSAGE 240andFIXTURE LONG END 240. A passing adjacent case does not erase the delayed-history failure. No retainedcrash.logwas found, but this is not reporter-crash acceptance.Release delayed-history failure:
October 22 authorized maintainer correction
Commit 96dfba0e is an additive maintainer patch on the existing contributor branch, parent
113416a4fbb6d26bd3db37b065c9c0d905d52aae. At that stage no replacement PR, rebase, main integration, dependency upgrade, or merge was performed. The later user-directed rebase is recorded above.Repeat review used actual models
claude-opus-5.5(high) andgpt-6-astra(high, long_context), with identical prompts and evidence. The named skill was unavailable in this checkout, so its canonical workflow supplied by the coordinator was followed directly. Both verified final packet SHA25615396E71F48B8680900033D5A0DB5D1E48410C12D6A50209F654772CBEF5A401. Both final reviews report no accepted/actionable findings in the authorized patch. This is source-review consensus, not native acceptance.HIGH consensus (agreement, not severity)
LOW consensus
Both reviewers reject the earlier missing-inner-ScrollView allegation as an established bug: no concrete production lifecycle was demonstrated, and a present-but-unloaded child is handled. No speculative polling was added. The standalone repository autoreview helper was attempted but could not launch because Python resolves only to a Microsoft Store alias and no Codex CLI is installed; no standalone helper success is claimed.
The regression test queues a callback, inserts a row before the unchanged thinking key, proves the old capture fails final validation, and confirms the production resolver returns the current index. It is pure behavioral coverage plus a source-wiring contract, not a native WinUI scheduling or scrolling test.
Retained earlier review and negative evidence
The author's clarification distinguishes scroll restoration from the separate Reactor anchor crash and reports local x64/ARM64 testing. The prior ClawSweeper review and September 30 dual-model review both identified the source defect now corrected. Those reviews' native proof gates are not cleared by this patch.
September 30 tested unpushed local integration
2985083d7030329a4f9bcf64bdb739f0898aed8e, merging then-main1b334e36d83d2643025992170169772e3711113dinto113416a4. It was not the live contributor head and is not this patched revision. Its contributor controller SHA256 was3D004E6B23EFF60D1ECB9261FB4037E0D08A90C728DD18FFAAAAD9D488D81EE5; Reactor remained preview.12. Source request loss and the static browse fixture's blank transcript are separate observations; the static fixture has no active thinking/tool-arrival race.Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: historical standalone and isolated combined fixture proof collected, with negative natural-tail/delayed-history outcomes above. Stable scrolling, real-Gateway/reporter crash reproduction, active-turn/streaming non-stealing and final-head acceptance remain outstanding.windows-11-arm64: historical ARM64 Debug/full and production-shaped Release builds passed, native fixture results are negative/mixed. Final rebased full Debug build also passed. This is not runtime acceptance.Validation
Final rebased head
3dc43d1bcd59938dd1f16876e6f5863cefc0d6ddFull final-head validation and CI report. Native Windows ARM64 local closeout:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\build.ps1PASS;dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore --verbosity quiet: 4,642 passed, 1 failed, 26 skipped (existing symlink privilege failure);dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --verbosity quiet: 4,467 passed, 4 failed (existing ARM64 prerequisite subprocess fixtures).dotnet test .\tests\OpenClaw.Tray.IntegrationTests\OpenClaw.Tray.IntegrationTests.csproj --no-restore --filter 'FullyQualifiedName~GatewayFixtureStartupTests|FullyQualifiedName~GatewayFixtureRunTests|FullyQualifiedName~GatewayFixtureProfileTests' --verbosity quiet: 34 passed, no failures/skips.git diff HEAD~1..HEAD --check: PASS, clean worktree.Hosted 40006500973: PASS including CI Gate, Tray 4,471 passed, integration 55 passed/3 skipped, SetupEngine 2,436 passed/1 skipped, Dev containment 31 passed, Functional UI 19 passed, Tray UI 511 passed/33 skipped, accessibility 23 passed, Local AI hardware-profile capture 12 passed. Core/CLI, WSL E2E and release/package jobs were skipped by existing classification. CodeQL 40006500904: setup gate passed; Actions/C# analysis skipped, not scan-passed. Rebase compatibility rubber-duck review found no blocking source issue; final test-collection fix retains all assertions. Canonical autoreview installation was unavailable, no helper success claimed.
Historical committed head
96dfba0e3059c8d3ef5e87259b9fd71a475257d4Native Windows ARM64, committed preview.12 dependencies.
OPENCLAW_REPO_ROOTselected the dedicated worktree. Tests used session-ownedOPENCLAW_TRAY_DATA_DIRdirectories, not normal user settings. Fresh-worktree projects had already been built/tested with restore so required--no-restorecommands executed real tests.powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\build.ps1win-arm64. Process-only policy bypass because direct script execution is Restricted; no persistent policy changed. Repeated after final hardening and after commit.dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore --verbosity quietdotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --verbosity quietdotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --verbosity quiet --filter FullyQualifiedName~ChatTimelinePresentationTestsgit diff HEAD^..HEAD --checkpowershell.exe -NoProfile -ExecutionPolicy Bypass -File .\build.ps1 -Project WinUI -Configuration ReleaseSystem.Diagnostics.Debugger.IsSupported=false..\scripts\test-gateway-fixture.ps1 -AppPath '.\src\OpenClaw.Tray.WinUI\bin\Release\net10.0-windows10.0.22621.0\win-arm64\OpenClaw.Tray.WinUI.exe' -Configuration Release -ArtifactsDirectory '<session-files>\pr1449-head-release' -ScreenshotsController SHA256:
A97137832F45100A9768C7F9EA413E9E9C4A416E707888997470A53BEDF43550.Debug DLL SHA256:
7C5BA47B67CA91298C475E5DD4F2BDB5187F4852C9FCA63466314A0DDD1EC81B.Release DLL SHA256:
CA9220CBB34BB4CF05FDD6CD8644F5093224306FD931D9E5B11D1EF7606A73DD.Historical hosted CI and bounded failure attribution
Build and Test 39851922781 is FAILURE, not awaiting approval or green. UI job
120086135403failedLocalAiHardwareProfileTests.Onboarding_OffersOnlyFittingProfiles(vramGiB:0, theme:Light)withTaskCanceledExceptioninOnboardingNativeProof.AssertLabelsAsync, line 723.The exact CI checkout was merge
a890e64f28aed63b861d40d55d3d687838876c6a, the old head against then-mainbef07da01911fa78ed5ab728ab9248bbb1ec0466, not newer mainfb459029. Both failing onboarding proof files are byte-unchanged between that main and the CI merge. The helper invokes Windows OCRRecognizeAsyncwith a 3-second cancellation token; the test constructs onboarding/Local AI controls, not the chat timeline. This is bounded evidence for an unrelated OCR/runner timing path, not a baseline-proven flake or definitive causal finding. At that stage CI remained a landing blocker. No broad fix, retry for green or override was performed. The later user-directed rebase and distinct fixture test-isolation fix now pass selected CI, as recorded above, without relaxing OCR assertions.CodeQL 39851922753 concluded success at the setup gate, but C# and Actions analysis jobs were skipped. No passed security analysis is claimed. The green older Build and Test run belongs to
113416a4, not this head.Retained historical validation, not acceptance for this head
September 30 local integration
2985083:.\build.ps1and.\build.ps1 -Project WinUI -Configuration Releasepassed. Shared final rerun: 4,169 passed, 33 skipped; Tray: 3,345 passed; focused chat tests: 28 passed. An initial Shared run had one failure in unchangedMcpHttpServerTests.Dispose_DuringInFlightHandler_DoesNotSurfaceObjectDisposedException; its targeted diagnostic and final full rerun passed, without proving the initial failure was a flake..\scripts\test-gateway-fixture.ps1 -AppPath '.\src\OpenClaw.Tray.WinUI\bin\Debug\net10.0-windows10.0.22621.0\win-x64\OpenClaw.Tray.WinUI.exe' -Configuration Debug -Screenshots -ArtifactsDirectory '<session-files>\pr1449-fixture-debug': Failed, integration 30/30; UI 4 passed/1 failed/0 skipped..\scripts\test-gateway-fixture.ps1 -AppPath '.\src\OpenClaw.Tray.WinUI\bin\Release\net10.0-windows10.0.22621.0\win-x64\OpenClaw.Tray.WinUI.exe' -Configuration Release -Screenshots -ArtifactsDirectory '<session-files>\pr1449-fixture-release': Passed, integration 30/30, UI 5/5, 0 skipped.1b334e36Debug control,dotnet test .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -c Debug -r win-x64 -p:Platform=x64 -p:DevBuild=false --filter FullyQualifiedName=OpenClaw.Tray.UITests.GatewayFixtureUiTests.SessionPickerSwitchesRealHistoriesAndShowsMessage240AtBothWidths --logger 'trx;LogFileName=base-picker.trx' --results-directory '<session-files>\pr1449-base-debug' --verbosity quiet: 1 passed, 0 skipped, 0 failed. A single bounded control, not deterministic causal proof.September 23 at
113416a4: ARM64 Debug/full and non-Dev Release builds passed; Shared 4,093 passed/35 skipped, Tray 3,070 passed, focused 25 passed. Debug fixture: integration 30 passed, UI 2 passed/2 failed; Release: integration 30 passed, UI 3 passed/1 failed. Exact-base controls passed Debug 2/2 and Release 1/1. Originalf683edcaARM64 Release build passed; Shared 3,983 passed/33 skipped, Tray 2,980 passed. These results do not validate the current patch.Real Behavior Proof
Final rebased head has green selected hosted UI/integration CI, not a new standalone desktop/crash acceptance pass. The following native proof applies only to the specified historical standalone revision. Current-head crash/scroll, real-Gateway/reporter and active-turn/reader proof remain blocked/unverified; no new desktop run was requested for the fixture-collection fix.
96dfba0e3059c8d3ef5e87259b9fd71a475257d4, committed preview.12. No preview.16 overlay or main integration.116185234f0d46b197cb3ecf2c4f6422failed natural-tail assertion after history returnedok; first capture tooling failed. Release delayed-history run4ec103165ddd45a097c395df785a7b61failed with blank transcript; picker run91c48eac027c421aa3da434cf1213a7epassed natural switching and final-row width checks. Corrected Debug Pages runc79686c63c7b441fb84d929495d3d551retained timeout/first-row image but no completed TRX. Native UI behavior is not inferred from the 28 pure presentation tests.Yes/No/N/A): Yes for historical publication. Exact posted comment read back; all three paths became GitHub user-attachment URLs, all returned HTTP 200 by GET. Debug Pages diagnostic, Release blank delayed history, Release passing actual final message.583ce764run completed negative, not pending or green. Historical standalone committed harness had four UI cases, not the newer six-case/12-cycle smoke. Final selected hosted CI is now green.Owned fixture processes/profiles from completed runs were cleaned. The overdue Pages-only process tree was stopped; recorded app PID 35220 was absent and its exact inspected fixture temp root removed. No unrelated process was stopped. Desktop explicitly released for #1549's next standalone pass. Future combined passes require a real finite wall-clock process-tree watchdog, not only the test-runner timeout.
Historical negative evidence retained
September 30 integration
2985083used isolated Windows 11 x64, syntheticmulti-session-browseGateway, five sessions and 240 mixed-height messages. Debug picker timed out atnatural tail at message 240before manual scrolling. Inspected PNG showed a connected selected long history with blank transcript and no final marker;chat.historyreturnedok, app reported responding. Other four Debug UI cases passed. Release passed all five; inspected PNGs showedFIXTURE LONG END 240at physical windows 1500x720 and 1900x950. Exact-main Debug control passed the failed picker once. These differential observations do not establish deterministic cause or erase failures.Historical artifact groups:
pr1449-fixture-debugrunf88dbf19362c4660b7db39623cde1aea,pr1449-fixture-releaseruncac7f1e6ade646a3854bd228b04cbde0, base50f3d2d0659c4b55a54895b6c40fc0a8. Report subdirectories:5b94111062194030ab683b3418397beb,c4dfd0abfd4544808e945db1f4aab898. Historical screenshots remain local. DLL hashes: integration DebugBC2F51D5A965565C0AB37FD0A366EBDD3736CA964816F9119A50BDC2A53D37B4, integration ReleaseEA363F3AD715614751786D8B74041CB466B6926B95CC5B578CA77D41F6D699C6, baseline DebugFC46CC2DB3631736F48CFBD81386E12ABF93306AAC518F22DB9D46B32DB2EA0D.September 24 hash-identical
113416a4Release split-predicate diagnostic used temporary test-only instrumentation, restored afterward. Selection succeeded in 85/86 observations; natural final-marker visibility failed 86/86, scroll percentage 0, history returnedok. No crash artifact. Rune014901c2d724a689ad373aca3259774; older groupspr1449-integrated,pr1449-baseline,pr1449-diagnostic. This resolved selection-versus-tail ambiguity, not cause. Historical Debug/Release DLLs:B5B34C5E2F1E981BCCD96CD6595D406F33E1BA91A5521F05B3A47AD2F7D73467,9A75549272672873C4E60419A091DA30DF7AD331769788982B52E650278CBE7D.Original
f683edca77-message ARM64 Release experiment used an explicit temporary package/Markdown compatibility overlay. Initial viewport was blank; first switch reproducedItemsView::OnScrollViewAnchorRequested->ScrollingAnchorRequestedEventArgs::AnchorElement,E_INVALIDARG (0x80070057), surfaced as0xC000027B, zero completed switches and process exit. This remains negative diagnostic evidence, not committed-dependency acceptance or attribution that this PR causes/fixes the separate anchor crash. No real conversations were used.Landing order and pending upstream dependency
Validate #1549 (fix(chat): adopt Reactor preview.16 session-switch crash workaround) independently first. The requested isolated combined proof has now completed at
583ce764with the negative Debug/Release outcomes above, not a green landing gate. Neither contributor branch received that proof integration. The separate later user-directed #1449 rebase imported main only, not #1549; no PR merge is authorized. Its final-head runtime acceptance cannot be borrowed from either historical standalone or combined trees.Actual main was verified
fb45902950fd4f62d20a37dbbafac27e916917f2, newer than the old hosted CI basebef07da. It includes localized bundled chat welcome commitef05d53a77392ac798676dc32774d087b8f74029, touching chat state/projector/root/composer/welcome/presentation tests, so it is not merely a workflow-only base update. Preview.16 proof cannot establish that this patch fixes initial-tail failures.External microsoft/microsoft-ui-xaml#12085 and microsoft/microsoft-ui-xaml#12086 were verified OPEN; the latter is unmerged. The proposed fix describes compositor
InteractionTrackerstale min/max after content reset clamping nonanimated bring-into-view back to offset 0 while reporting completion. This is a plausible inherited mechanism/pending upstream dependency, not root-cause proof for these failures. No WinUI upgrade or workaround scope is added.Security Impact
Yes/No):NoYes/No):NoYes/No):NoYes/No):NoYes/No):NoYes, explain the risk and mitigation: N/A.Compatibility and Migration
Yes/No):Yesfor public/config contracts; native acceptance remains blocked above.Yes/No):NoYes/No):NoReview Conversations
October 22 API read found zero inline review threads. The prior source finding is corrected and both requested final reviews are clean, but existing CHANGES_REQUESTED reviews are not dismissed and native proof gates remain open. Selected final-head hosted CI now passes. No merge was attempted.