Skip to content

fix(ui): stop terminal reconnect tests racing readiness - #171945

Merged
vincentkoc merged 1 commit into
mainfrom
fix/new-session-preview-readiness-20261014
Oct 14, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/new-session-preview-readiness-20261014

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes terminal reconnect tests that race component readiness or a fenced-action deadline.

User Impact

No user-visible behavior changes. This only makes the existing terminal regression checks deterministic.

Why This Change Was Made

Wait for component updates and dynamic imports before asserting reconnect activity, and advance a controlled timer for the reload-guidance deadline.

This is Peter Steinberger's isolated test correction from the original commit, preserving his authorship. Related: #171566; that broader, conflicted PR remains open.

Normal direct-main pushes were rejected as non-fast-forward while main advanced. This narrow PR lets GitHub serialize landing; those rejections were not ruleset refusals.

Evidence

  • Focused terminal file: 8/8 tests passed under Node 26.7.
  • Targeted formatting and Oxlint passed. Reviewed replays preserve the tested patch and relevant dependency/runtime inputs.
  • Local macOS Bun 1.3.14 failed before executing any tests because Vitest's worker stdout was null; teardown also failed. This is an investigated harness limitation, not a Bun pass. Hosted Linux/Bun parity remains unverified.

Extract the existing test correction from the conflicted broader UI refactor so it can repair main independently. Preserve the original contributor change and leave its source PR open.

Source-PR: #171566

(cherry picked from commit d2b5f05)
@vincentkoc vincentkoc self-assigned this Oct 14, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review October 14, 2026 08:22
@clawsweeper

clawsweeper Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment @clawsweeper review. Please avoid repeated requests while a review is queued or running; agents should not request reviews automatically.

@vincentkoc
vincentkoc enabled auto-merge (squash) October 14, 2026 08:23
@vincentkoc
vincentkoc disabled auto-merge October 14, 2026 08:45
@vincentkoc
vincentkoc merged commit a8da8c9 into main Oct 14, 2026
123 of 126 checks passed
@vincentkoc
vincentkoc deleted the fix/new-session-preview-readiness-20261014 branch October 14, 2026 08:54
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

vincentkoc added a commit that referenced this pull request Oct 14, 2026
…/plugin-memory-addon-presentation-20261014

* commit 'a8da8c92e3dbb21dd1441a30eb842fcd942e82b6': (52 commits)
  test(ui): await terminal reconnect fixture readiness (#171945)
  perf(gateway): retain only the requested ordered session page (#171968)
  test(gateway): cover automation run-alias placement lifecycle (#139313)
  fix(ci): retry FRV job listings with smaller pages after GitHub 5xx (#171952)
  fix(process): prevent false cleanup failures after CLI stdin closes (#171969)
  test(doctor): cover released updater advisory warnings (#157086)
  fix(ci): skip Testbox builds for known prose files (#171946)
  perf(sessions): remove redundant snapshot walks (#171964)
  fix(ci): skip plugin scaffold build for SDK instructions (#171944)
  fix(infra): preserve scheduler scope abort state after retirement
  fix: setup diagnostics can repair state without approval (#171960)
  perf(usage): avoid per-session admission churn during inventory (#171868)
  fix(ci): exclude documentation from extension lint scope (#171909)
  test(gateway): keep runtime-only compat flags out of live gateway config (#171953)
  docs: document ClawHub install telemetry opt-out (#114376)
  fix: recover completed chat replies after missed publication (#171766)
  refactor(ui): decouple session controller types from Lit (#171559)
  fix(gateway): settle worker reconciliation during busy shutdowns (#171843)
  fix(ci): ignore protocol prose in bundled check selection (#171908)
  fix(ui): align replacement lines and highlight inline diff edits (#171935)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 15, 2026
Extract the existing test correction from the conflicted broader UI refactor so it can repair main independently. Preserve the original contributor change and leave its source PR open.

Source-PR: openclaw#171566

(cherry picked from commit d2b5f05)

Co-authored-by: Peter Steinberger <[email protected]>
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.

2 participants