Repository navigation
fix: keep the newest Gateway logs reachable - #188476
Merged
Merged
Conversation
Keep scroll intent, append following, queued jumps, and measured end reconciliation in the Logs virtualizer. Preserve synchronous compensation while moving ResizeObserver measurement outside delivery. Regression coverage includes mobile Chromium and desktop WebKit wheel scrolling, paused trimming, and mobile WebKit refresh. Repairs the windowing regression introduced in #184917.
Contributor
|
🦞👀 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. |
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Keep virtual-core's pending end adjustment until Solid has committed the spacer height. Add initial-window diagnostics and register the existing session child-failure suite with the serial private-server owner.
steipete
enabled auto-merge (squash)
October 30, 2026 16:07
steipete
disabled auto-merge
October 30, 2026 16:10
Contributor
Author
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
This was referenced Oct 30, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 31, 2026
* fix(ui): keep newest gateway logs reachable Keep scroll intent, append following, queued jumps, and measured end reconciliation in the Logs virtualizer. Preserve synchronous compensation while moving ResizeObserver measurement outside delivery. Regression coverage includes mobile Chromium and desktop WebKit wheel scrolling, paused trimming, and mobile WebKit refresh. Repairs the windowing regression introduced in openclaw#184917. * fix(ui): retry log scroll compensation after layout commits Keep virtual-core's pending end adjustment until Solid has committed the spacer height. Add initial-window diagnostics and register the existing session child-failure suite with the serial private-server owner.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes the newest Gateway logs becoming unreachable after scrolling through a full retained buffer. Mobile Chromium stopped 516 px short of the end; desktop WebKit could anchor an incoming trim to the previous bottom and stop 22,035 px short.
Related: #184917.
User Impact
The final log row remains reachable with the wheel or End key. Auto-follow keeps following new lines, paused readers retain their position, and mobile WebKit refresh no longer reports a ResizeObserver loop. The 2,000-line retained history stays windowed.
Why This Change Was Made
The immediate parent of
372a1aa5e4a1fba1549bcdb385becb29e91a948bpasses the unchanged census scenario; that commit reproduces both failures. Logs now keeps scrolling under its virtualizer: append-following, explicit queued jumps, pending reader input, and cancellation share one owner. Measurements run outside ResizeObserver delivery while compensation can publish before paint. A height-only post-commit callback retries scroll compensation after Solid grows the spacer. Native arrival at the estimated bottom hands off to the virtualizer's end reconciliation as wrapped rows settle.The regression runs in Chromium and WebKit. CI installs WebKit only for its owning shard and selects the test when Logs changes.
Evidence
The wheel cases assert the last row is fully inside both the stream and viewport, fewer than 100 rows are mounted, and Auto-follow stays off. On mobile the outer page is revealed after the truncation notice appears. Browser scenarios use synthetic data only; no live Gateway or provider credentials are involved. Playwright E2E uses the Node runner; ordinary unit tests use the repository default runtime.
Production Logs LOC: 621 → 668 (+47). The added code handles observed input/measurement ordering and removes the second follow owner. No new direct effects, listeners, DOM queries, flush calls, owner APIs, dependencies, or eager imports; the existing layout primitive owns the post-commit retry. Reports and captures are uncommitted artifacts.
Mobile Chromium
Before:
After:
Desktop WebKit
Before:
After:
The initial-follow failure from CI run 41081909564 passes on Linux in the final CI run after adding virtual-core’s documented post-commit retry. All three Logs browser cases pass. Initial-window failures report geometry and request count.
Testbox
tbx_01m66qvcmw1mkg45jcmfxe3fnv(blacksmith-testbox, run 41083792625) was stopped when the command queued; no remote proof is claimed.Final CI attribution
Full CI run 41084504419 completed: 63 jobs passed, 20 skipped, three E2E jobs failed, and the aggregate remains red. All three Logs cases pass, including mobile WebKit refresh on Linux. Landing uses the native inherited-failure route for these five baseline failures; no tests were disabled or declared passing.
The test and rendering source blobs for these failures are unchanged in the CI-tested merge d8a1c8fa3d00. Before admission, the native workflow checks all terminal jobs, source hashes, security, reviewed head, and writer authority.