Repository navigation
refactor(ui): remove the summary automation bridge - #171807
Merged
Merged
Conversation
Keep the native host, synchronous cron owner, session fencing, refresh coalescing, and retry focus behavior. Mount the existing nine test scenarios through Solid with all assertions retained. Validation: UI typecheck, nine focused tests, targeted lint and formatting, production Knip, and independent review through P2. Production component shrinks from 310 to 300 lines.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
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. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 15, 2026
Keep the native host, synchronous cron owner, session fencing, refresh coalescing, and retry focus behavior. Mount the existing nine test scenarios through Solid with all assertions retained. Validation: UI typecheck, nine focused tests, targeted lint and formatting, production Knip, and independent review through P2. Production component shrinks from 310 to 300 lines.
This was referenced Oct 17, 2026
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
Chat summary automations still use a custom-element bridge although their production caller is already Solid. The bridge adds a separate root and property-forwarding lifecycle around the existing cron owner.
User Impact
No intended behavior or visual change. The native host tag, classes, links, loading/error states, retained disclosure state, refresh coalescing, reconnect/session fencing, and retry focus behavior stay intact.
Why This Change Was Made
Render the existing host directly from Solid and use reactive props instead of forwarded custom-element properties. Keep request state with the synchronous cron owner. The initial settled callback starts loading once the native host connects and owns the existing visibility/focus listener cleanup. Convert the test harness to mount Solid and update reactive props while preserving all nine scenarios and 46 assertions.
Production LOC: 310 → 300 (−10). Test LOC: 357 → 378 (+21).
Evidence
pnpm tsgo:ui3f7f83a37f2epassed in 51.01 spnpm deadcode:knip3f7f83a37f2epassed in 4m 31.39sopenclaw/ci-gateCI compares merge revision
bcf42152against main base7758bb9cdd7122a4f17e63fa91f3fb4eabb42cc3on the same runner/toolchain. Chat boot JS is 1,761,834 → 1,761,885 B gzip (+51 B); New Session boot is 1,348,965 → 1,349,013 B (+48 B). Request counts and CSS are unchanged. No boot imports or lazy boundaries changed. The report does not print a separate base initial-startup JS measurement; the committed budget is not a measured baseline.No visible markup or CSS changed. Local builds and screenshots were omitted under the polish wave's nonvisual proof budget; CI supplies the production build and same-runner performance comparison.
Integration and earlier failures
The branch merges published main
35d4d8c0726bf; both authored files retain their reviewed blobs. Frozen dependency installation passed, and the tracked tree is clean. Main supplies two concrete fixture repairs:0d02ec18729ecorrects the New Session accepted-draft expectation, and2678c2b50c89waits for the Usage recreation receipt. Their corresponding cases now pass in full CI.The previous head failed three plugin-question cases with missing initial panels. The automation activation and cleanup do not execute in those fixtures, and all three UI unit shards now pass. This passing replay is not claimed as a fix for the earlier failures; #171652 owns the fixture migration. The queued baseline Testbox was stopped before any test ran and supplies no test result.