Repository navigation
fix(ui): preserve config and session editor drafts during updates - #173115
Conversation
Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: f108b380-cbbd-470e-8716-a75e8fa7c169
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR preserves raw-config editor focus and unsaved session-label drafts across unrelated UI updates. Example: Change a session label from Original to Originalx while background session metadata refreshes.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR repairs concrete editor regressions still present on main, with no introduced correctness or security defect found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherControl UI config and session views consume authoritative controller snapshots, retain native editing state, and send committed changes through existing mutation callbacks. flowchart LR
A[Controller snapshots] --> B[Solid view props]
B --> C[Retained editor components]
C --> D[Native value binding]
D --> E[Browser draft and selection]
E --> F[Existing mutation callbacks]
Technical reviewBest possible solution: Retain this focused repair using stable editor ownership and the existing native-value binding. Do we have a high-confidence way to reproduce the issue? Source inspection supports both reported update paths, and the supplied Chromium regressions target them directly; this read-only review did not execute tests or reproduce the behavior. Is this the best way to solve the issue? The patch fixes rendering ownership and native value assignment at the affected views, reuses the shared binding, and preserves existing redaction, context-reset, and mutation contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 8bc4915e29bc. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +7, Tests +128. Total +135 across 4 files. Added test files: 2. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 15, 2026, 8:31 AM ET / 12:31 UTC. |
Co-authored-by: vincentkoc <[email protected]>
Integrate canonical main repair 9e3514a for the observed Talk and video CI failures. The five editor/theme product and regression blobs remain byte-identical to the reviewed head. Co-authored-by: vincentkoc <[email protected]>
Preserve the already-landed seeded-hover palette regression by Peter Steinberger exactly. Remove only the redundant palette delta; all four reviewed editor source and regression blobs remain unchanged. Co-authored-by: vincentkoc <[email protected]>
Integrate main for the observed packaged Workboard failure. The landed fixture binds its Gateway identity to the actual built distribution. The four reviewed editor-fix blobs remain unchanged. Co-authored-by: vincentkoc <[email protected]>
Integrate the landed fixture readiness repair for the observed favicon assertion, alongside the already-proven packaged Workboard repair. All four independently reviewed editor-fix blobs remain unchanged. Co-authored-by: vincentkoc <[email protected]>
Integrate the landed six-case fixture correction for observed CI failures. Existing view retention and terminal regression source stays unchanged. Co-authored-by: vincentkoc <[email protected]>
Integrate the landed selector-scoping fix for the observed 390px palette label failure. Retain all reviewed editor/list/terminal owner changes. Co-authored-by: vincentkoc <[email protected]>
Integrate the reviewed capture-boundary repair for the named CI failure. All four editor source and regression blobs stay unchanged. The original CI incident remains unattributed; current-head CI is still required. Co-authored-by: vincentkoc <[email protected]>
Integrate canonical fixes for the named current-head CI failures. Preserve original responsiveness repair scope and require fresh exact-head CI. Co-authored-by: vincentkoc <[email protected]>
Resolve the actual raw editor subtree conflict while retaining main callback and scroll ownership changes. Both native regressions fail on the integrated baseline; 17 current editor and sensitive-context scenarios, UI/test types, scoped lint and format pass. Independent P0-P2 review found no actionable defects. Co-authored-by: vincentkoc <[email protected]>
Integrate canonical main ecb279c for the named failed chat-boot gate. Preserve all four independently reviewed editor blobs unchanged. Native17 editor/context cases and UI types pass. Local Node26 comparison still exceeds the chat cap by49B; the attempted wrapper simplification did not improve that gate and was reverted. Retain that gap and require fresh exact-head CI rather than changing any budget or claiming prior-green qualification. Co-authored-by: vincentkoc <[email protected]>
Claim the existing non-ephemeral Gateway, sandbox and proxy block through suite teardown instead of taking two unreserved port-zero probes. Move the actual proxy setup into its fixture owner and avoid scanning/watching a repository that this reverse proxy never serves. The native proxy regression fails the previous repeated-port allocation with EADDRINUSE and passes the fix; all15 fixture cases, focused types, lint and format pass. Independent P0-P2 review is clean. Original CI bind-contention evidence does not identify the competing listener; retain that uncertainty and require fresh full node/SSH desktop CI. No startup timeout, assertion, budget or production Gateway behavior changes. Co-authored-by: vincentkoc <[email protected]>
Final text and decoded images can precede the terminal session recap. Observed recap footprint adds24.59375px beside the unchanged bubble, matching the exact failed ancestor-height delta. Await that semantic state before01-live; fresh reload has no watched-run recap and stays unchanged. Preserve every strict screenshot and ordering assertion, with no retry or timeout change. Real Gateway live/persisted/reloaded ordering proof, focused types/lint/format and independent P0-P2 review pass. Earlier image handles were sampled before preparation and are not evidence of a mid-capture image renderer defect. Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
Resolve actual conflicts against main69a7f23fc5ea. Keep the canonical compressed transcript reader and current media diagnostics alongside terminal recap readiness. Co-authored-by: vincentkoc <[email protected]>
Integrate canonical main ab975 model-menu boot repair for the failed performance gate. Remove only the retired load injection from the inherited subscription regression; current owner rejects preparation before loading. Preserve editor and media/desktop fixture repairs. Co-authored-by: vincentkoc <[email protected]>
Extend the existing synthetic capture diagnostics with bounded DOM identity, sanitized removal stacks, and capture/inspection stages. Preserve all assertions and timeouts. This is evidence collection, not a claim to repair the prior intermittent image retirement. Co-authored-by: vincentkoc <[email protected]>
|
Merged via squash.
|
19ac02a (#173115) moved Vite proxy creation into createDesktopResizeProxy. The suite remains in its existing serial private-server project, but discovery missed the extracted helper and reported 68 private-server files against the declared 69. Recognize that specific factory only within a suite's startServer scope. Keep all inventories, assertions, scheduling and timeouts unchanged. A temporary private-server suite outside the owner list still fails the unchanged inventory guard. Proof: full ci-workflow-guards suite 159 passed with 8 existing conditional skips; explicit 69-file/single-owner check and unowned-factory negative control; targeted tooling types, typed source-backed lint, boundary lint, format and independent P2 review pass.
…enclaw#173115) * fix(ui): preserve config and session editor drafts during updates Co-authored-by: vincentkoc <[email protected]> * fix(ui): preserve config and session editor drafts during updates Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: f108b380-cbbd-470e-8716-a75e8fa7c169 * test(ui): reset pointer state before palette assertions Co-authored-by: vincentkoc <[email protected]> * fix(test): keep desktop Gateway and proxy ports distinct Claim the existing non-ephemeral Gateway, sandbox and proxy block through suite teardown instead of taking two unreserved port-zero probes. Move the actual proxy setup into its fixture owner and avoid scanning/watching a repository that this reverse proxy never serves. The native proxy regression fails the previous repeated-port allocation with EADDRINUSE and passes the fix; all15 fixture cases, focused types, lint and format pass. Independent P0-P2 review is clean. Original CI bind-contention evidence does not identify the competing listener; retain that uncertainty and require fresh full node/SSH desktop CI. No startup timeout, assertion, budget or production Gateway behavior changes. Co-authored-by: vincentkoc <[email protected]> * test(ui): await terminal recap before live media capture Final text and decoded images can precede the terminal session recap. Observed recap footprint adds24.59375px beside the unchanged bubble, matching the exact failed ancestor-height delta. Await that semantic state before01-live; fresh reload has no watched-run recap and stays unchanged. Preserve every strict screenshot and ordering assertion, with no retry or timeout change. Real Gateway live/persisted/reloaded ordering proof, focused types/lint/format and independent P0-P2 review pass. Earlier image handles were sampled before preparation and are not evidence of a mid-capture image renderer defect. Co-authored-by: vincentkoc <[email protected]> * test(ui): read compressed media transcripts through SDK Co-authored-by: vincentkoc <[email protected]> * test(ui): trace managed image retirement during capture Extend the existing synthetic capture diagnostics with bounded DOM identity, sanitized removal stacks, and capture/inspection stages. Preserve all assertions and timeouts. This is evidence collection, not a claim to repair the prior intermittent image retirement. Co-authored-by: vincentkoc <[email protected]> --------- Co-authored-by: vincentkoc <[email protected]>
12408a8 (openclaw#173115) moved Vite proxy creation into createDesktopResizeProxy. The suite remains in its existing serial private-server project, but discovery missed the extracted helper and reported 68 private-server files against the declared 69. Recognize that specific factory only within a suite's startServer scope. Keep all inventories, assertions, scheduling and timeouts unchanged. A temporary private-server suite outside the owner list still fails the unchanged inventory guard. Proof: full ci-workflow-guards suite 159 passed with 8 existing conditional skips; explicit 69-file/single-owner check and unowned-factory negative control; targeted tooling types, typed source-backed lint, boundary lint, format and independent P2 review pass.
What Problem This Solves
Fixes: raw configuration typing loses focus, and unsaved session labels revert when background updates arrive.
User Impact
Typing, selection and native Undo survive unrelated editor refreshes. Authoritative replacements, edit locks, redaction and context resets still apply.
Why This Change Was Made
Retain the raw editor's content owner and use the existing native value binding for both fields. No public configuration, permission, dependency or visual-style changes. The original four-file editor repair is retained while incorporating current main changes.
Evidence
Native Chromium regressions fail on original source and pass fixed: mounted-node identity, zero redundant value setters, selection, Undo, live Save callbacks, loading locks and authoritative replacement.
Raw redaction/context and session-view siblings pass; current UI/test types, scoped lint/format and production build/performance budgets pass. Canonical P0–P2 review is reused for unchanged editor blobs.
Named prior-head CI failures are addressed by existing canonical main repairs: packaged Workboard fixture identity fc42b2d, favicon readiness 27febc7, lazy-menu fixture admission 3b2ba1c, and mobile palette selector scoping 93f2e42. Actual diffs and main containment were verified; no duplicate fixes added. Peter's canonical palette fixture354f067a is retained unchanged.
Focused integration proof: packaged Workboard752ms, exact favicon lifecycle pass, nine lazy-menu/picker cases plus both native editor regressions pass. All three palette alignment/keyboard cases (1280 dark,390 dark/light) pass on this candidate with a fresh production bundle. Current-head CI remains required; old failures are not relabeled green.
Earlier bootstrap module-delivery stall remains unreproduced and unresolved: exact executed-merge cold four-CPU replay and later CI passed, which is coverage, not a repair claim.
Synthetic state and native Linux Chromium; no external credential/provider/device authorization writes or physical mobile/IME/iOS proof. Behavior-only editor repair, not a visual redesign.
Integrated the existing canonical screenshot helper repair36638f7a for the failed capture boundary: readiness retains one element identity across intersection, visibility and bounds; strict post-capture identity/visibility/geometry/scroll rejection remains intact. On this candidate, all seven focused native capture-boundary cases pass, including hidden/clipped/removed/moved/replaced negative cases. The unchanged real-Gateway managed-image ordering test passes live and after reload (10.353s test,61.02s runner);42 native editor/sibling cases and current types/lint/format/build/performance checks pass. Original CI incident attribution remains unproven: this is coverage of the canonical repair, not a passing-replay or inheritance waiver. New-head CI remains mandatory.
Current corrective batch incorporates canonical main8958e91f: ordinary catalog reads now start discovery from a pending connect snapshot while prepared-only reads stay passive; the cron persistence fixture no longer clicks a retired community-banner dismissal. Both defects were reproduced. Canonical proof:16 cache cases,13 production-bundled progressive Models-route cases and6 real-Gateway cron flows pass; build, scoped types/lint/format and independent P0-P2 review pass. Integration preserves the original PR delta; focused native interaction proof and UI types pass. Prior CI screenshot cases passed, but the completed prior-head run failed cron dismissal and quota Ready status. Native quota reproduction is locally blocked before the UI by workspace-routing discovery, so exact-head hosted CI remains mandatory; no passing-replay or inherited-failure waiver.
Current conflict resolution
Canonical boot repair integration
Desktop fixture CI correction
Live media capture readiness
Compressed transcript fixture correction
Current-main conflict reconciliation
Current exact-head gate repair
Current CI result and remaining blocker
Bounded diagnostic follow-through
Worked on by
Work sessions
Original discussion with @vincentkoc
Implementation and verification
Conflict resolution and current-main verification
View the OpenClaw team session
Verified final landing