Skip to content

fix(ui): wait for transcript search before focus assertions - #197886

Merged
steipete merged 1 commit into
mainfrom
fix/ci-432800-chat-search
Nov 12, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/ci-432800-chat-search

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes scheduled Control UI test failures when the transcript search module finishes loading after the focus assertion's polling window begins.

User Impact

No user-visible behavior changes. CI keeps checking the platform search shortcut, focus restoration, and isolation between chat panes.

Why This Change Was Made

Start the Solid update and await the real dynamic-import completion before checking the search input. Move the three cases into the existing transcript-search suite to keep the oversized general chat test file from growing, and apply the same readiness requirement to that suite’s search-opening helper. Existing assertions and timeouts remain unchanged.

Evidence

  • Scheduled failure: https://github.com/openclaw/openclaw/actions/runs/43280023140/job/131399379659 — chat-view.test.ts > per-pane chat presentation state > uses the platform search shortcut on MacIntel without consuming text navigation.
  • Controlled deferred-import probe: the original focus wait times out with the search input absent; releasing the same import lets the readiness-aware wait pass with the input focused. No sleep or timeout change.
  • All 130 tests across chat-view.test.ts and chat-view.transcript-search.test.ts pass under the pinned Bun runtime. Targeted tsrs ui-chat graph, oxlint, formatting, and diff checks pass.
  • Independent local review found no actionable P0–P2 issues.

@clawsweeper

clawsweeper Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

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

chatgpt-codex-connector Bot commented Nov 12, 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-12T19:44:18.060997Z 04dfbed 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 12, 2026 19:46
@steipete
steipete merged commit c00f78c into main Nov 12, 2026
127 of 131 checks passed
@steipete
steipete deleted the fix/ci-432800-chat-search branch November 12, 2026 19:52
steipete added a commit that referenced this pull request Nov 12, 2026
Integrate main 8ef78ec and preserve the search fixtures landed in #197886 byte for byte. The remaining PR change is the six-line model-setup cancellation readiness fix.
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant