Repository navigation
refactor(ui): render approval rows and countdowns directly in Solid - #172008
Merged
Merged
Conversation
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. |
Pin the fixture clock before synchronous Solid rendering samples it. This preserves the existing expiry assertion after removing the deferred countdown bridge.
Contributor
Author
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 15, 2026
…penclaw#172008) * refactor(ui): render approval rows and countdowns directly in Solid * test(ui): set approval clock before rendering footer Pin the fixture clock before synchronous Solid rendering samples it. This preserves the existing expiry assertion after removing the deferred countdown bridge.
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
Sidebar approval rows and approval countdowns still created separate custom-element bridge roots even though every production caller renders with Solid.
User Impact
No intended user-visible change. Existing host tags, selectors, timer accessibility attributes, expiry behavior, modal-description updates, and lazy loading remain intact.
Why This Change Was Made
Render the sidebar row and countdown directly under their Solid callers, remove the nested props wrapper, and let the existing Solid owner dispose their clocks. Preserve the main approval-card bridge and the outer dialog's imperative
show()/dialogOpenAPI.The chat-footer fixture installs its clock mock before rendering. Direct Solid rendering samples time synchronously; the retired custom-element countdown waited for a microtask. This preserves the existing expiry assertion without depending on that retired scheduling behavior.
Production LOC across the three production files: 1,174 → 1,163 (−11). Test LOC across the three coupled files: 830 → 826 (−4).
Evidence
Signed head
c6c563407f362a75e56e026c36c172a2ffe411ddmerges pinned main7367b5b07f109fd56f7bf070688e40b5c295e354to incorporate the shared jsdom tracker repair5e4a1bed3a86187d42997946f62d5c2518be89d5. There was no active merge request to cancel. The source change remains exactly six files, with every reviewed file and the full authored patch byte-identical to independently reviewedf7610dc. Production LOC remains 1,174 → 1,163 (−11) and test LOC 830 → 826 (−4).The direct approval owners/imports, rendering and mounting helpers, projections, translations, Solid compiler/configuration, and dependency inputs are unchanged. The separately inspected gateway-page-controller update changes only its host/controller types. The existing owned frozen install and source-only review are reusable; broad runtime proof remains tied to the new head.
c6c5634withci:full. All three UI unit shards, all nine browser shards, Gateway shard 2, type/lint and strict performance passed. Gateway shard 1 failed the managed-image ordering case, so the aggregate gate is failed. The sole case and decode signature match newest scheduled main run38648053570. Native inherited-failure admission is being prepared; failed CI is not relabeled green.8499012in 107 seconds; reused after inspection of unchanged authored and determining UI/compiler inputs.c6c5634, tree93662a34e22043f4480b0b7047da9e88e3898c06: exit 0 in 15m22s. All 10 captured scan/wrapper PIDs are absent; head/tree remained unchanged and the checkout is clean. Heavy slot released. Existing frozen dependencies were reused; no repeated install or new lease.scoped-cleanthrough P2, with no findings. Current six-file/full-patch equivalence was verified before the signed merge commit. Full-index binary patch SHA-256:416f36987e01fb3be1ac6acb5b7398d86ca68a2b518f90a9cbf068bcba5bf80a.git diff --checkpassed.116134073571in run38646016884. The same runner built tested mergeddc255c3fa06790b95c76528cd2f02dc0285207dand baseb00ea8bab3529ccc7120795d06637bec64e21bbb: startup JS 349,476 B gzip / 8 requests; CSS 45,993 B gzip / 1 request. Chat boot 1,763,357 → 1,763,409 B (+52 B); new-session boot 1,349,668 → 1,349,709 B (+41 B). Request counts and CSS bytes are unchanged; no new eager import or lazy-boundary change. No separate base startup-JS total is printed. No extra local build.Current Gateway Failure
Managed image ordering through real chat.send and history > keeps headings, managed images and trailing prose ordered live and after reload without duplicatesis the only failing case in real-Gateway shard 1 (116134073524). The supported classifier initially marked the job pre-existing by job name only; the exact-test comparison is now complete.Newest scheduled main run 38648053570, job
116140126251, atf62dd8e0c29fc8acd3836e604da97a280e4fa053fails that same sole case withlocator.evaluateAll: EncodingError: The source image cannot be decoded, atassertDecoded:325:64and the initial live decode at348:15, before ordering assertions. Both jobs report 1 failed / 19 passed files and 1 failed / 24 passed tests. Earlier scheduled main38640790586has the same failure.The current failed job's retained log records checkout
ddc255c3fa06790b95c76528cd2f02dc0285207d, whose ordered parents are baselineb00ea8bab3529ccc7120795d06637bec64e21bbband exact PR headc6c5634. Its tree reconstructs exactly from those parents, and its actual baseline-to-merge diff is only the six authored files. All 27 inspected test/media input files or trees are identical between that baseline and tested merge, and also match earlier failing maineaa6938. Newest main differs within those inputs only in an unrelated models-list annotation and unit-test expectations; its image test, rendering/media owners, helpers, workflow and dependencies are unchanged.All 64 current-attempt jobs are terminal; only Gateway shard 1 and the downstream aggregate failed. Security passed independently. This evidence qualifies the scoped, native inherited-failure route; CI remains failed and no product, review or security gate is waived.
Investigated CI Failure and Repair
Run 38640069953 on previous head
561bcbb6passed all nine browser E2E shards, both real-Gateway shards, both other UI unit shards, type/lint, and strict performance. UI unit shard 3 failed in 29 suite teardowns with an invalid nativeEventTargetreceiver attest/jsdom-resources.ts:102. Its one failing assertion wasUsagePage detail requests > releases a loaded overview when its Gateway identity is replaced, where the disposed overview payload remained reachable. All 25 directly changed tests passed.The shared tracker used mutable global
windowduring cleanup and retained document-listener callbacks after their owner explicitly removed them. The landed repair captures the original window, forgets explicitly removed prototype and window registrations, and retires a snapshot. The repair owner reproduced both mechanisms on the exact CI base and passed 55 focused Bun tests with unchanged assertions. That owner proof explains the integration; this PR's new CI still supplies final-head evidence.The latest scheduled main comparison had 13 matching failure identities and 17 PR-only identities. A shared exception signature was insufficient for the campaign's same-test rule, so no inherited-failure/admin waiver was used. The new head includes the repair through an ordinary main merge, without a duplicate fix, rebase, or rerun-for-green.
Earlier Uncertainty
The earlier widget-sandbox failure on
65e5652remains unattributed: collapse timed out in the trusted-pointer helper after expansion. Subsequent complete browser passes do not establish a causal repair; the integrated widget change supplied diagnostics only. The exact-base diagnostic attempt reached its allocation limit without running a test. The local approval-card attempt likewise produced no assertion result before its authorized drain. These historical conditions are retained without being relabeled passes. All prior diagnostic leases are stopped and settled; this refresh uses local Knip and PR CI.