Skip to content

fix(ui): history reading CI starts before older messages load - #198710

Merged
steipete merged 1 commit into
mainfrom
fix/ci-435566-history
Nov 14, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/ci-435566-history

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes intermittent history-reading E2E setup failures where the desktop case reaches the top without loading older messages, as seen in scheduled CI 43556630588.

User Impact

No product behavior changes. The test reliably enters the older-history reading scenario while preserving its message-count and pixel-stability checks.

Why This Change Was Made

Raw scroll offsets can overlap the transcript's initial layout corrections and be classified as maintenance instead of reader intent. Once the fixture reaches the top, its idle loop cannot request another page. Send a native wheel gesture through the existing input owner, then wait for all 190 messages and the prepended scroll space. This removes the 400/600 ms setup sleeps. The original 240-frame sampler, post-frame resize-delivery yield, more-than-200-samples assertion, and 2 px residual limit remain unchanged.

Evidence

The scheduled failure retained only 30 messages and no reading samples. A bounded diagnostic observed upward offset changes rejected while programmatic/maintenance ownership was active; a later movement outside that state requested history. The unchanged local baseline passed, so it is not claimed as a deterministic reproduction of the final CI failure.

Validation: all three cases passed (Chromium at 390 and 1280 px; WebKit at 390 px). Each loaded 190 messages, collected 240 samples, and had 0 px maximum residual. Targeted default tsrs typecheck, oxlint, formatting, and independent review passed.

Use native wheel input to retire initial scroll maintenance before waiting for the older page. Preserve the original frame sampler and all message-count and pixel-stability assertions while removing fixed setup sleeps.
@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Nov 14, 2026
@steipete
steipete marked this pull request as ready for review November 14, 2026 06:34
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T06:36:29.983246Z 849db9e Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete enabled auto-merge (squash) November 14, 2026 06:40
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 14, 2026
@steipete
steipete merged commit 3588c05 into main Nov 14, 2026
134 of 136 checks passed
@steipete
steipete deleted the fix/ci-435566-history branch November 14, 2026 06:47
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 15, 2026
…claw#198710)

Use native wheel input to retire initial scroll maintenance before waiting for the older page. Preserve the original frame sampler and all message-count and pixel-stability assertions while removing fixed setup sleeps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant