Skip to content

fix(update): avoid slow preparation and clarify progress - #156227

Merged
vincentkoc merged 15 commits into
mainfrom
fix/dev-update-preflight-ux-20260923
Sep 23, 2026
Merged

vincentkoc merged 15 commits into
mainfrom
fix/dev-update-preflight-ux-20260923

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Updates can spend many minutes copying their running updater when the temporary directory is on another filesystem. Settings meanwhile appears stuck on an opaque, already-completed diagnostic. Details are awkward to navigate, and the final report can overwhelm the page.

User Impact

  • Preparation can reuse hardlinks safely and reports a named active step.
  • Details open and close independently of scrolling, follow output while the reader is at the bottom, and preserve manual scrollback. Completed diagnostics remain accessible under their owning step.
  • The final report uses a six-line scrolling paragraph box.

This complements #155977: placing retention on another filesystem defeats that earlier hardlink optimization. The installed updater still controls the first hop that installs this fix. No live deployment or measured production speedup is claimed.

Why This Change Was Made

The retained updater owns scratch placement outside every installation boundary activation replaces, preferably on the source filesystem. npm, pnpm, Bun, Git, and package-to-Git conversion paths carry the actual installation owner through preparation. The native package-owner resolver is shared with activation; unwritable source siblings retain the existing temporary-directory fallback. Mixed hardlink/copy trees use canonical entry validation with the expected hardlink-induced inode change, preserving identity, mode, size and modification-time safeguards.

The UI renders the real retention step after diagnostics complete, groups diagnostic details, and presents readable labels. Display-only labels and retention help stay behind the existing lazy update-view boundary. Its English registrar runs synchronously for Settings-first and dialog-first entry.

One ancillary editor correction remains in the final diff:

  • File-editor dirty ownership: raw saved text was compared with CodeMirror's normalized document, creating phantom retained drafts and blocking reload. The editor now owns semantic equality through its configured separator. Programmatic synchronization, edit/undo and save/reload baselines reuse it. Main's canonical captureFileEditorDraft remains the sole draft/hash writer, with its read-only guard; its caller passes the prepared semantic dirty fact. Serialized LF/CRLF/CR saves and real newer edits remain protected.
    Main independently adopted admission-owner completion and a same-socket history barrier for the dispatch-error test in test: finish Gateway cleanup and repair CI fixtures #156136. This integration retains that exact canonical test and removes the redundant PR test delta. No gateway production change or timeout increase is introduced.

Production delta: +259 net lines for retention placement/ownership and the requested UI capabilities, including +5 for the editor invariant. Tests: +593 net lines. Existing preflight cases move intact to a focused helper. Canonical main fixes for route types, lifecycle tests and the SwiftLint declaration are retained without redundant PR deltas.

Evidence

Current qualification

Head: d3388f1494d1fa660f1150f789f574ce54d043a4, integrating frozen main 0dd7810da88d7edb44977d9e7f2945381e9680a0 after a concrete test conflict. Independent full-owner integration review found no issues. Fresh scoped autoreview reported no findings; its limited hunk context is supplemented by direct and independent complete owner/caller/dependency inspection. Exact-head ClawSweeper review is READY with no findings or remaining rank-up moves. Native preparation is complete; hosted exact-head gates are being reconciled for landing. Current CI ran at merge d1299a1e27381c58a09112cd58f2a3a75fb5a62c (main bab3136d3c6074faf0c91c409619969749885b7e plus this head): every executed test job passed, including UI6 and both previously affected gateway shards. One large30 job was cancelled before any runner or step; GitHub reports that no self-hosted runner acquired it. The single targeted infrastructure retry passed at 12:06:24 UTC, and attempt 2 including its required aggregate completed SUCCESS at 12:07:01 UTC. Prior successful jobs were carried forward, not rerun. No test failure or human cancellation was observed for this job. The PR remains open and unmerged; no gate bypass or replacement merge dispatch has occurred.

The previous head d9f9fcbc33011f74e3c58de2036e0e24ca94bf32 completed CI run 35851693030, including its required aggregate, and ClawSweeper review was READY with no findings or rank-up moves. These results cover that historical head, not this integration. Its single focused UI 6 retry passed 78 files / 360 tests in 702.65 s; both gateway shards, all core type stripes, dependencies and Control UI performance also passed.

Unresolved follow-up: identify the extra sessions.list request owner if the session-ownership E2E failure recurs. Attempt 1 expected one request after 4,999 virtual milliseconds and observed two, with 359 other tests passing. Exact checkout was 5fa275eeb849289b9d0f9dfd7548f0b0196e4eb3. One observational full-file run on that merge passed 14/14 (37.32 s Vitest; 38.74 s command): traces showed one request through 4,999 ms and the coordinator issuing the second at exactly 5,000 ms. Temporary instrumentation was restored and byte-verified. The failure was not reproduced; the successful single-job retry is qualification, not a source fix or a proven flaky-test diagnosis. No session-refresh or clock patch was made.

Updater and UI proof

  • 515 CLI tests, 144 focused backend tests, and 23 retained-runtime/tree tests pass. Original-code regressions reproduce missing progress, seven placement cases losing inode reuse, and both mixed-inode ctime integrity failures; corrected code passes.
  • 74 UI tests and Chromium update/restart/reconnect flows pass. Twelve sibling lifecycle/coalesced cases preserve active state and identity assertions while targeting the visible detail panel. Screenshots below use a mock Gateway and synthetic data.
  • Full canonical package build/checks pass. Published 2026.9.5 upgraded in-process to candidate 9e0b7f1ec3a0f0360bd69bdca8523b4fcdea9ee2, then that candidate completed a second in-process update with legacy compatibility chunks absent. Both hops exited 0, preserved active service intent, changed the running PID, and left zero transaction residue: 303.9 s for the Docker cell. Later task updater changes remove a type-only import cycle. The final integration also inherits canonical main destination-storage and pre-canary schema checks; the earlier package artifact does not prove those inherited changes. Editor corrections have separate proof below. No missing-chunk negative control was recorded.
  • Lazy-copy proof: 125/125 focused view/sidebar/Settings/dialog tests, source i18n verification, formatting and owning UI types pass. Canonical candidate/base builds measured 371,310 B startup JS gzip against the unchanged 371,332 B limit, seven JS requests, and 51,144 B CSS gzip unchanged from base. Previous-head hosted performance also passes; final integration hosted performance passes. No budget or baseline was raised.
  • All 28 remaining task-file added/deleted lines are unchanged relative to their respective main bases. Three updater files additionally inherit main storage-root/schema handoffs. Direct and independent full-owner review confirms stationary artifact storage, exact installation-owner handoff, unchanged retention progress and activation fences. Final exact-head CI owning lanes pass. Completed logs directly confirm shared command-runner 29 cases, mutable candidate validation 19, retained runtime 17, mixed tree 6, Git admission cases and the canonical dispatch-error test; the broad core plan includes the CLI suite.

Ancillary owner proof

The phantom-draft failure was exposed by #156208. Original ordered Chromium fixtures produced 28 passed / 4 failed; new regressions against original production code produced 25 passed / 10 failed. Corrected original-order fixtures (chat-sidebar-file-view → chat-html-file → chat-file-drafts) pass 35/35, including the final integrated owner interface (11.6 s). Coverage includes read-only/editable mixed-line previews, actual edit/undo, conflict reloads, HTML previews without an editor, uniform save bytes and newer edits during save. Exact installed CodeMirror state 6.7.4 / view 6.43.11 source was inspected directly. Main's draft owner from 5f55b2a9858 and both regression sets are preserved.

Historical gateway-test investigation used a temporary 2.2 s lifecycle persistence hold: the old test failed at 2.000 s before the actual error arrived at 2.805 s; the branch synchronization passed 253/253 in the same ordered 22-file group. This injected-latency proof motivated the completion-owner invariant but does not qualify the now-inherited canonical main test bytes. The final PR has no remaining gateway test delta; fresh CI qualifies that main implementation.

A local scoped lint run reported the panel's 701 counted lines against 700, identical to integrated main; canonical Actions policy treats that size limit as advisory. No rule, environment or assertion was weakened. Main's canonical footer-fixture type fix is included, and all previous-head core type stripes passed; final integration checks pass.

Test cost

Single-worker Linux measurements use the repository wrapper; E2E uses its canonical bundled configuration. These are focused proof measurements, not production timings.

Changed test file Cases Command wall Vitest duration
src/cli/update-cli.test.ts 515 Not separately retained 234.68 s
src/infra/update-retained-runtime.test.ts 17 25.65 s 23.19 s
src/infra/update-retained-runtime-tree.test.ts 6 2.15 s 0.872 s
ui/src/components/update-run-view.test.ts 23 2.64 s 1.41 s
ui/src/e2e/update-run.e2e.test.ts 1 19.68 s 18.29 s
ui/src/e2e/update-lifecycle.e2e.test.ts 4 26.99 s 25.59 s
ui/src/e2e/update-coalesced.e2e.test.ts 8 29.52 s 28.15 s

The CLI figure covers the existing suite, including relocated preflight cases. Runtime worker/import checks exercise replacement of an installed runtime; an in-memory mock cannot prove that boundary. No sleep, retry, larger timeout or permanent worker pin was added.

Progress details

Before:

Update progress before

After:

Expandable update details after

Final report

Before:

Update report before

After:

Six-line update report after

All four public images were verified rendering with nonzero natural dimensions.

@vincentkoc vincentkoc self-assigned this Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@vincentkoc
vincentkoc marked this pull request as ready for review September 23, 2026 05:40
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review current head fb9f27c33823768bf85a976956139e31367473e1. The previous head was superseded by a type-only dependency-cycle correction; the affected formatting, core types, Madge, and runtime import checks pass. Packaged first-hop and next-hop compatibility evidence is now in the PR body.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 23, 2026, 7:51 AM ET / 11:51 UTC (Revision 11).

ClawSweeper review

What this changes

The PR improves updater scratch placement and progress displays, and prevents normalized file-editor text from creating phantom unsaved drafts.

Merge readiness

✅ Ready for maintainer review

This remains useful work that current main does not fully provide. No blocking introduced defect was found, and the supplied evidence supports normal merge review.

Priority: P2
Reviewed head: d3388f1494d1fa660f1150f789f574ce54d043a4

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful, coherent repair with strong scoped evidence and no blocking findings.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after UI screenshots directly demonstrate the changed presentation; supplied two-hop Docker observations exercise retained updater execution through replacement, and ordered Chromium evidence covers editor dirty-state recovery. Historical proof does not qualify inherited main changes or pending current-head CI. No stored-data format changes require migration.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected before/after UI screenshots directly demonstrate the changed presentation; supplied two-hop Docker observations exercise retained updater execution through replacement, and ordered Chromium evidence covers editor dirty-state recovery. Historical proof does not qualify inherited main changes or pending current-head CI. No stored-data format changes require migration.
Evidence reviewed 11 items Pinned introduction reviewed: Reviewed the introduced backend, UI, editor, and test changes between the pinned base and original head. The head is an integration commit; inherited main changes were not treated as PR-introduced work.
Current main still needs the central fix: Fetched main still allocates retained runtime under os.tmpdir(), allowing cross-filesystem copying. Its editor still compares incoming text with serialized document text, and its progress projection selects an older diagnostic when an active operation has no output.
Retention and integrity boundaries: Retention resolves source and replacement boundaries, prefers a same-device sibling, and falls back for unavailable sibling storage. Native activation shares the package-project resolver. Mixed hardlink/copy validation records post-link ctime while retaining identity, mode, size, and modification-time checks.
Findings None None.
Security None None.

How this fits together

The updater preserves its running code while replacing an installation and publishes progress to the CLI and Control UI. The file editor separately tracks unsaved changes so interface reloads cannot discard edits.

flowchart TD
  A[CLI or Settings update] --> B[Inspect installation owner]
  B --> C[Retain running updater outside replacement]
  C --> D[Validate and replace installation]
  C --> E[Recorded progress]
  D --> E
  E --> F[CLI and Control UI details]
  G[File editor changes] --> H[Draft and reload protection]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +259, Tests +593. Total +852 across 28 files.

View PR surface stats
Area Files Added Removed Net
Source 17 351 92 +259
Tests 11 767 174 +593
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 28 1118 266 +852

Review metrics

Metric Value Why it matters
Production versus test growth Production +259 net lines; tests and test support +593 Production growth has a stated purpose in retention ownership and progress presentation; existing preflight cases are relocated rather than discarded.

Technical review

Best possible solution:

Keep retention outside every replacement boundary, preserve fallback and integrity checks, and derive progress and dirty state from their existing owners.

Do we have a high-confidence way to reproduce the issue?

Yes, source establishes the cross-filesystem retention fallback and stale progress selection, with focused regressions supplied for both. This read-only review did not execute a current-main reproduction.

Is this the best way to solve the issue?

Yes. Sharing the installation-owner calculation and using editor-owned equality repair the existing boundaries without adding competing state or configuration.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against bab3136d3c60.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This repairs bounded updater preparation and progress problems, with an ancillary editor-state correction.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Inspected before/after UI screenshots directly demonstrate the changed presentation; supplied two-hop Docker observations exercise retained updater execution through replacement, and ordered Chromium evidence covers editor dirty-state recovery. Historical proof does not qualify inherited main changes or pending current-head CI. No stored-data format changes require migration.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected before/after UI screenshots directly demonstrate the changed presentation; supplied two-hop Docker observations exercise retained updater execution through replacement, and ordered Chromium evidence covers editor dirty-state recovery. Historical proof does not qualify inherited main changes or pending current-head CI. No stored-data format changes require migration.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected before/after UI screenshots directly demonstrate the changed presentation; supplied two-hop Docker observations exercise retained updater execution through replacement, and ordered Chromium evidence covers editor dirty-state recovery. Historical proof does not qualify inherited main changes or pending current-head CI. No stored-data format changes require migration.

Evidence

What I checked:

  • Pinned introduction reviewed: Reviewed the introduced backend, UI, editor, and test changes between the pinned base and original head. The head is an integration commit; inherited main changes were not treated as PR-introduced work. (d3388f1494d1)
  • Current main still needs the central fix: Fetched main still allocates retained runtime under os.tmpdir(), allowing cross-filesystem copying. Its editor still compares incoming text with serialized document text, and its progress projection selects an older diagnostic when an active operation has no output. (src/infra/update-retained-runtime.ts:51, bab3136d3c60)
  • Retention and integrity boundaries: Retention resolves source and replacement boundaries, prefers a same-device sibling, and falls back for unavailable sibling storage. Native activation shares the package-project resolver. Mixed hardlink/copy validation records post-link ctime while retaining identity, mode, size, and modification-time checks. (src/infra/update-retained-runtime.ts:55, d3388f1494d1)
  • Supplied runtime and upgrade evidence: The captured PR body reports published 2026.9.5 updating in-process to candidate 9e0b7f1, followed by a second update without legacy compatibility chunks. Both exited successfully, preserved service intent, changed the running PID, and left no transaction residue. This is historical candidate evidence, not execution by this reviewer or proof of subsequently inherited main changes. No production speedup or missing-chunk negative control is claimed. (9e0b7f1ec3a0)
  • Visual proof inspected: Inspected all four prepared GitHub attachment images. The before/after pairs demonstrate readable step labels, independently accessible disclosures, grouped diagnostic details, and the bounded report presentation. These use synthetic data and a mock Gateway; they do not establish backend performance. (ui/src/components/update-run-view.ts:124, d3388f1494d1)
  • Editor owner and regression coverage: The panel passes editor-computed semantic dirty state into the existing draft owner, preserving its read-only guard and save-hash handling. The supplied ordered Chromium evidence reports 35 passing cases covering mixed endings, edit/undo, conflict reload, HTML previews, and newer edits during saves. (ui/src/pages/chat/components/chat-detail-panel.ts:290, d3388f1494d1)

Likely related people:

  • Peter Steinberger: Raw commit eeb450c adds src/infra/update-retained-runtime-tree.ts:112 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: eeb450c9cf2d; files: src/infra/update-retained-runtime-tree.ts)
  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-23T06:48:11.946Z sha 8ff77e0 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-23T06:56:06.930Z sha 8ff77e0 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-23T07:19:26.049Z sha 1166f3a :: needs maintainer review before merge. :: none
  • reviewed 2026-09-23T07:27:04.270Z sha bea39cc :: needs maintainer review before merge. :: none
  • reviewed 2026-09-23T07:51:27.440Z sha fcf72e0 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-23T10:03:50.218Z sha fcf72e0 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-23T10:25:11.284Z sha c9e6d0c :: needs maintainer review before merge. :: none
  • reviewed 2026-09-23T11:04:46.812Z sha d9f9fcb :: needs maintainer review before merge. :: none

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui cli CLI command changes size: XL labels Sep 23, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review current head 57c5e4a7102de7229121dd0a2e3c127a9d19f7d5. The previous exact-head review found no code/security issues; its sole test-cost request is addressed in the PR Evidence section. The new commit only scopes two existing E2E assertions to active details after historical disclosures introduced duplicate text. Both affected suites pass all 12 cases with measured single-worker timings. Runtime code is unchanged.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head 070a0a9. The only change since the completed 57c5e4a review synchronizes a lifecycle test with its real persistence promise; the PR body records the original-order red/green proof and the separate unresolved main-side chat fixture failure.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added the gateway Gateway runtime label Sep 23, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head 8ff77e0. Native main integration retains main commit 897b8e9 unchanged for the sole lifecycle-test conflict, removing our redundant test delta. The updater/UI patch has identical stable patch ID to reviewed 57c5e4a. The body credits main-owned proof and labels the superseded intermediate test measurements explicitly.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot removed the gateway Gateway runtime label Sep 23, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head 593710d1dbc65478ae5adb97a322b323e9228e2e. The two ancillary main-side blockers are repaired with explicit ownership predicates and editor-owned document equality. Exact CI type stripe, 66 route tests, ordered Chromium red-to-green (10 failures to 35/35 passing), UI chat types, formatting, and independent reviews are recorded in the PR body. The updater delta and its existing package/visual proof remain unchanged.

@vincentkoc
vincentkoc disabled auto-merge September 23, 2026 10:13
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head c9e6d0c. The sole change since the reviewed fcf head replaces a gateway test wall-clock race with authoritative admission completion and existing same-socket response barriers. Exact terminal and replay assertions remain; no production or timeout changes. The PR body records injected-latency red/green proof, final-byte focused/type/format results, and independent review.

@openclaw-barnacle openclaw-barnacle Bot added the gateway Gateway runtime label Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head 344281e. Since completed c9e review, the sole change declares separately installed SwiftLint in the existing root Knip external-binary list. Canonical deadcode:full passes both standalone source and the exact failed hosted merge, with scoped and independent reviews clean. The body also records the remaining predecessor session CI failures without claiming their root cause or final-head outcome.

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head bcdbc18. Signed integration resolves the concrete editor-owner conflict against frozen main 5ebe0d4: retain main's captureFileEditorDraft/read-only guard, pass canonical editor semantic dirty state, preserve both regression sets. Main's identical SwiftLint declaration removes our redundant config delta. Updater changes are unchanged. Fresh original-order Chromium35/35 and formatting pass; independent and scoped reviews are clean. The body explicitly discloses main-identical transcript type errors and local701-line policy result; final CI remains authoritative.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

* commit '91ee6aa3de1072401b2ff6eb2dd724c276061dbc':
  fix(test): supply pane identity to footer scroll fixture
  fix(test): include limit helper in packaging harness
  revert: gateway session fixture settlement (cb13cf8, fc574da)
  test(talk): scope readiness deadline to backend registration (#156376)
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head d9f9fcb. The only change after bcdb is signed integration of already-landed canonical main91ee6aa3de1072401b2ff6eb2dd724c276061dbc, required after the exact hosted merge reproduced its missing pane-id callback. All29 PR-delta files are byte-identical to the reviewed and browser-tested bcdb candidate. Main's session-fixture revert is also inherited. No new repair code, timeout, or weakened assertion. The PR body distinguishes main-owned proof, retained updater/editor proof and pending final-head CI. The preceding Claw worker is terminal.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Sep 23, 2026
steipete added a commit that referenced this pull request Sep 23, 2026
Compare content through CodeMirror's configured line separator for view
synchronization and dirty tracking. Unchanged mixed-line-ending previews no
longer block document reload, while serialized saves and actual edits remain
protected.

Reuse the reviewed editor repair from #156227, limited to the file viewer
and its existing regression coverage.

Co-authored-by: Vincent Koc <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot removed the gateway Gateway runtime label Sep 23, 2026
steipete added a commit that referenced this pull request Sep 23, 2026
* perf(ui): reduce redundant layout and shell updates

Reuse unchanged sidebar inputs and lazily owned outbox projections. Avoid textarea resets at proven size bounds while retaining classic-scrollbar shrink, native editing, and scroll anchoring. Remove unused floating-card update bindings and approval forwarders.

* fix(ui): avoid phantom drafts from file preview synchronization

Compare content through CodeMirror's configured line separator for view
synchronization and dirty tracking. Unchanged mixed-line-ending previews no
longer block document reload, while serialized saves and actual edits remain
protected.

Reuse the reviewed editor repair from #156227, limited to the file viewer
and its existing regression coverage.

Co-authored-by: Vincent Koc <[email protected]>

* fix(ui): invalidate draft indicators after Incognito retirement

---------

Co-authored-by: Vincent Koc <[email protected]>
@vincentkoc
vincentkoc merged commit 317054d into main Sep 23, 2026
401 of 404 checks passed
@vincentkoc
vincentkoc deleted the fix/dev-update-preflight-ux-20260923 branch September 23, 2026 12:12
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 24, 2026
* perf(ui): reduce redundant layout and shell updates

Reuse unchanged sidebar inputs and lazily owned outbox projections. Avoid textarea resets at proven size bounds while retaining classic-scrollbar shrink, native editing, and scroll anchoring. Remove unused floating-card update bindings and approval forwarders.

* fix(ui): avoid phantom drafts from file preview synchronization

Compare content through CodeMirror's configured line separator for view
synchronization and dirty tracking. Unchanged mixed-line-ending previews no
longer block document reload, while serialized saves and actual edits remain
protected.

Reuse the reviewed editor repair from openclaw#156227, limited to the file viewer
and its existing regression coverage.

Co-authored-by: Vincent Koc <[email protected]>

* fix(ui): invalidate draft indicators after Incognito retirement

---------

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 24, 2026
…6227)

* fix(update): avoid slow preparation and clarify progress

* fix(update): keep native owner types independent

* test(ui): scope update assertions to active details

* test(gateway): await complete lifecycle persistence

* fix(ui): retain typed chat route ownership predicates

* fix(ui): compare file drafts using editor line endings

* refactor(ui): simplify saved editor content comparison

* perf(ui): keep update detail copy behind its lazy view

* test(gateway): await dispatch error admission completion

* fix(ci): declare the external SwiftLint binary
@roboclaw-bot roboclaw-bot mentioned this pull request Sep 24, 2026
2 of 8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui cli CLI command changes P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant