Skip to content

experiment(control-ui): bounded snapshot mount wait [do not merge] - #177759

Closed
steipete wants to merge 5 commits into
mainfrom
steipete/coldload-snapshot-mount-starves-connect
Closed

steipete wants to merge 5 commits into
mainfrom
steipete/coldload-snapshot-mount-starves-connect

Conversation

@steipete

@steipete steipete commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Outcome: H is rejected by the predeclared gate. Use the R fallback in #177760; this experiment must not merge.

What Problem This Solves

A signed-in reload of a full-UUID chat or dashboard deep link can mount the cached pane just as the Gateway handshake reply is due. The synchronous mount delays hello and all post-connect requests. This follows #177153.

Observed warm reloads before and after #177153:

Metric Before After
Connect sent → reply handled 297–334 → 386–425 ms 320–334 → 619–632 ms
New mount frame — 157–190 ms, starting at 417–439 ms
First transcript rows 655–778 ms 586 / 710 / 608 ms
chat.startup sent → reply 673–753 → 741–931 ms 757–806 → 891–1,108 ms
Final rows 822–998 ms 976–1,161 ms
LoAF blocking 82–131 ms 185–227 ms
FCP 399–423 ms 433–463 ms

These are timing observations only. Private captures and conversation content are not included.

Change

H: the existing snapshot-admission owner lets an in-flight handshake finish before it mounts the cached pane. The wait is capped at 200 ms, covering the observed roughly 90 ms handshake tail with margin. After the cap, cached content can mount even on a slow or offline connection. A handshake still pending after 200 ms can therefore collide with that mount; this is the bounded tradeoff for retaining offline cached rows. Route cancellation releases the timer/listener; the original identity, scope, connection revision, authoritative revalidation, deleted/moved route replacement, and held-send rules remain in place. Short IDs and slug routes keep their existing behavior.

This changes scheduling, not render ownership. It reuses Gateway readiness and the shared snapshot read. No schema, persistent shape, configuration option, or dependency changes.

Evidence and decision

Final measured head: 8b34f8e1b449c2ec0791e59b3ceb5490e519ca52, main base 08d04a9d7b97e50849ba089c3837d2e1c3c4f7fd.

H improves painted transcript timing, but chat final rows regress by a paired median 44.6 ms, worse in 9/11 pairs. That exceeds max(10 ms, 3% of R), so H fails the predeclared secondary gate. Dashboard passing cannot rescue it. No other small variant qualified; S was not expanded because the dominant synchronous work is Solid/DOM mounting, not snapshot decode. The declared fallback is R, already prepared in #177760. The campaign lead owns its rebase, validation, and merge.

The fixture reproduces delayed hello handling, but does not reproduce every live direction: immediate admission still has lower total LoAF blocking than R. On this final base, immediate admission's final-row changes are mixed rather than a statistically established regression. The full live-direction reproduction requirement remains unmet; no waiver or complete live equivalence is claimed.

Method

Quiet AWS c7a.4xlarge, 16 CPUs, AMD EPYC 9R14, 30 GiB RAM; repository Chromium; Team-scale benchmark; 820 synthetic messages, 80 persisted messages; full-UUID off-roster route with visual sidebar retained; valid warm cursor and a 2,071-byte startup delta with session metadata. Connect delay 90 ms; ordinary replies 20 ms. 11 interleaved R/I/H triplets per face: 66 successful untraced reloads. Both commands exited successfully before results were accepted. R reverses #177153 admission while keeping the benchmark and surviving upstream callers; I is immediate admission; H is the bounded wait on this branch.

Earlier runs with missing fixture metadata or a stale R bundle are excluded. The fixture correction is exercised through the production snapshot reader; the benchmark rejects visible chat/history errors and browser errors. Prior-head favorable results are not the qualification decision.

Values are median [Q1, Q3] in milliseconds; paired deltas are H−R. The declared regression rule is worse non-overlapping IQRs, or ≥9/11 worse pairs with median rise greater than max(10 ms, 3%).

Chat

Metric R I H H−R paired median
Transcript paint (element timing) 796 [786, 798] 460 [444, 472] 640 [626, 646] -152
Final rows 944.6 [922.3, 986.9] 939.5 [929.7, 967.1] 990.8 [974.2, 1019.1] +44.6
LoAF blocking 222 [218, 229.5] 163 [156, 177.5] 233 [229.5, 236] +9
Hello handled 342.1 [339.5, 346.6] 435 [427.3, 464.2] 343.5 [339.4, 350] +1.6
FCP 356 [352, 358] 460 [444, 472] 364 [350, 368] +8

Paint improves at least 100 ms in 11/11 pairs. Final rows fail the gate: 9/11 worse, +44.6 ms paired median.

All per-pair deltas versus R, milliseconds

I: immediate admission

  • Transcript paint (element timing): [-344, -284, -288, -356, -336, -344, -340, -352, -336, -324, -344]; median -340.
  • Final rows: [+46.5, -60.3, -5, -98.5, -170.9, +27.2, -1, +67.8, -16.6, -11.3, +15.1]; median -5.
  • LoAF blocking: [-53, -38, -66, -66, -67, -55, -70, -147, -67, -22, -55]; median -66.
  • Hello handled: [+89.4, +170.3, +85, +86.3, +140.8, +77.2, +94.3, +85.9, +93.4, +151.7, +88.6]; median +89.4.
  • FCP: [+84, +144, +120, +88, +108, +84, +84, +92, +108, +120, +100]; median +100.
  • Connect reply due: [+0.6, +17.4, +0.4, +1.8, -6.8, -10.8, +3.2, -5.1, -2.3, -3.3, -2]; median -2.
  • Connect due → delivered: [+88.7, +152.8, +84.7, +84.4, +147.7, +88, +91.1, +91, +95.7, +155, +90.5]; median +91.

H: bounded hello wait

  • Transcript paint (element timing): [-160, -160, -140, -148, -168, -140, -156, -168, -152, -152, -144]; median -152.
  • Final rows: [+94.7, -166.2, +41, +14, -112.8, +66.7, +44.6, +51.7, +124.4, +28, +70.8]; median +44.6.
  • LoAF blocking: [+2, +17, +40, +9, +0, +8, +17, -99, +12, +23, +4]; median +9.
  • Hello handled: [-4.2, +6.2, +0.8, +4.2, -1, +1.6, -2.7, -3.9, +10.8, +7.2, +8.6]; median +1.6.
  • FCP: [-8, +8, -12, +16, +0, +12, -8, +0, +12, +16, +8]; median +8.
  • Connect reply due: [+1.6, +4.8, +1.6, +3.1, -1.9, -7.4, -4, -2.2, +10, +6.3, +3.4]; median +1.6.
  • Connect due → delivered: [-6, +1.4, -0.9, +1.1, +0.9, +9, +1.3, -1.7, +0.9, +0.9, +5.3]; median +0.9.

Dashboard

Metric R I H H−R paired median
Transcript paint (element timing) 776 [772, 790] 424 [422, 438] 624 [616, 636] -152
Final rows 1005.6 [987.4, 1036.2] 1031.2 [979, 1072.7] 1018.4 [991, 1034.5] -3.4
LoAF blocking 238 [231, 258] 166 [157, 180] 243 [236, 261] +6
Hello handled 343.4 [340.8, 348.2] 436.8 [430.6, 447.9] 345.4 [340.4, 351.6] +0.2
FCP 364 [352, 368] 424 [422, 438] 364 [348, 364] -4

Paint improves at least 100 ms in 11/11 pairs. This face has no declared secondary regression.

All per-pair deltas versus R, milliseconds

I: immediate admission

  • Transcript paint (element timing): [-360, -388, -348, -364, -332, -352, -352, -344, -348, -352, -380]; median -352.
  • Final rows: [-77.8, -41.6, -41.4, -1.9, +64.9, +218.1, -25.4, +43.8, +32.3, +70.5, +37]; median +32.3.
  • LoAF blocking: [-76, -71, -81, -93, -65, +15, -79, -85, -76, -60, -174]; median -76.
  • Hello handled: [+83.5, +84.9, +95.6, +96.4, +103.4, +98.3, +90.9, +103.2, +97.3, +112.5, +96.9]; median +96.9.
  • FCP: [+48, +68, +76, +60, +80, +56, +56, +84, +76, +72, +60]; median +68.
  • Connect reply due: [-13.6, -2.7, -2, +2.4, +4.8, -0.8, -6.1, +1.9, -0.9, +3.8, +2.7]; median -0.8.
  • Connect due → delivered: [+97, +87.5, +97.6, +93.8, +98.5, +99.1, +97, +101.3, +98.2, +108.6, +94.3]; median +97.6.

H: bounded hello wait

  • Transcript paint (element timing): [-152, -204, -164, -180, -132, -152, -140, -144, -164, -152, -172]; median -152.
  • Final rows: [-4.6, -88.3, -7.4, -12, +52.1, +7.1, +34.3, +42, -3.4, +21.3, -25.7]; median -3.4.
  • LoAF blocking: [+44, +12, -18, -17, +6, +30, +7, +19, -21, -6, -90]; median +6.
  • Hello handled: [-5.7, -2.4, +1.8, +4.2, +12, -3.4, +7.8, +8.7, +0.2, +0, -3.3]; median +0.2.
  • FCP: [-20, -8, +0, +0, +20, -4, -4, +8, +0, -4, -8]; median -4.
  • Connect reply due: [-11.6, -7.2, -1.2, +6.1, +10.8, -4.8, +0.5, +2.7, +0.4, -1.9, -3]; median -1.2.
  • Connect due → delivered: [+6, +4.7, +3.1, -1.9, +1.1, +1.5, +7.4, +6, -0.1, +1.9, -0.2]; median +1.9.

Mount-task attribution

Separate source-mapped CPU profiles are diagnostic and excluded from the performance statistics. I's mount frame spans 413–651 ms: 238 ms duration, 187 ms blocking, a 212 ms import continuation, and 33 ms forced style/layout. Hello is handled at 708.9 ms. The sampled frame includes 184.0 ms inclusive Solid work, with 61.4 ms self time in DOM creation, plus virtualizer/layout and markdown work. Inclusive categories overlap; they must not be added together. No large snapshot-decode block dominates this task.

H's profile handles hello at 462.3 ms, near the beginning of its 462–720 ms mount frame. It changes scheduling, not the main render cost. A yield after decode would leave the dominant atomic Solid/DOM mount intact; splitting row rendering is a larger owner change, so S was not pursued as a small variant.

Validation and handoff

AWS lease cbx_f5a6d78394eb, run_7bd170801ff105d8f2853f01f4ac0c29.

  • All touched script and UI files pass lint on this head. The two earlier lint findings (redundant default type argument; local-name shadowing) are fixed and reviewed.
  • Snapshot admission (18), fixture (7), probe (4), and consumer (141) tests pass. Timed pnpm test <file> --maxWorkers=1: snapshot 3.88 s, fixture 3.10 s, probes 3.08 s. The regressions were previously verified red on immediate admission / missing metadata and green with the proposed change / correction.
  • Final-head targeted native reload tests passed: 3 files, 11 tests, 67.66 s. No full-UI pass is claimed for this rejected candidate; broad landing proof belongs to the selected R PR.
  • The exact main tree at 08d04a9d7b97 reproduces the unrelated dead-export failures, including the historical database fixture exports, ChatRunPublication, and resolveDraftModelUnavailableReason.
  • Independent autoreview is clean through P2. H is rejected for measured performance, not an unresolved code review finding. Its remaining CI was cancelled after the performance gate rejected H. The full UI suite was intentionally stopped at the same point; no full-suite pass is claimed.

When rebasing the existing R PR, preserve the resumeStoredChatOutboxes import: current main's startup subscription now calls it independently of #177153's admission hold. The measured R baseline retains that surviving caller and import. Benchmark tools and probes remain intact in R.

Size

The required production/tooling command reports +107/−15, net +92 across seven files (including benchmark Markdown outside docs/). Runtime admission is +20 net lines for the bounded wait and cancellation/invalidation contract; the rest extends the existing benchmark/probe/fixture owners. These are the evaluated H changes, not a shipped change.

Synthetic before/after

These inspected synthetic-only settled screenshots have the same layout and content. They document the evaluated UI; they are not timing evidence.

Before, immediate admission:

Before: synthetic chat with immediate snapshot admission

After, evaluated bounded hello wait:

After: synthetic chat with bounded hello wait

@clawsweeper

clawsweeper Bot commented Oct 19, 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.

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 19, 2026
@clawsweeper

clawsweeper Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR delays cached full-UUID conversation mounting until Gateway readiness or a 200 ms deadline and extends the reload benchmark.

Example: Reload an off-roster full-UUID conversation with 80 cached messages and a 90 ms handshake delay.

  • Before: In the supplied synthetic comparisons, immediate mounting adds about 106 ms to chat hello handling and 120 ms on dashboard.
  • After: The bounded wait removes that collision while retaining earlier transcript paint than authoritative-resolution-only loading.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and source-consistent, with distinct lifecycle regressions and useful measured evidence; the explicitly declared live qualification remains incomplete.
Proof confidence 🦐 gold shrimp (3/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A warm conversation reload can delay Gateway readiness and final transcript rows when cached pane rendering overlaps the handshake reply.
Reason: The maintainer-authored direction preserves useful cached loading while addressing an observed scheduling regression without new product settings or storage contracts.

Regression provenance

Regression provenance — verified: source commit 0d955281f9f3 by Peter Steinberger; canonical PR #177153 (blame-to-merge-commit).

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: this maintainer-authored PR provides a focused fix-forward for handshake starvation, with no actionable code findings; the campaign’s explicit pause remains.

Priority: P2
Reviewed head: a29cafcaeae78bc65d21fbc66576cb08102e1555
Owner decision: Required. See Decision needed.

Decision needed

  • Question: Should the campaign continue this fix-forward candidate or choose the safety-net revert at revert(control-ui): render cached full-UUID chat routes before sessions.resolve (#177153) #177760?
  • Recommendation: Continue fix-forward qualification: Keep this candidate paused while completing its declared qualification, preserving cached transcript admission.
  • Why: Both maintainer-authored candidates explicitly reserve selection for the campaign lead; neither records that selection.

Before merge

  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.

Findings

None.

Tests

  • Missing end-to-end proof: The declared live chat/dashboard blocking-direction qualification remains unproven; supplied regressions are reported red/green, but were not rerun during this read-only review.
Agent review details

How this fits together

The Control UI route loader matches a URL to a scoped prewarmed transcript, admits its pane, and leaves session validation and send authorization with existing Gateway-backed owners.

flowchart TD
  A[Full UUID conversation URL] --> B[Existing snapshot admission owner]
  C[Scoped prewarmed transcript] --> B
  B --> D[Gateway readiness or 200 ms deadline]
  D --> E[Recheck scope revision and invalidation]
  E --> F[Mount cached conversation]
  F --> G[Authoritative route revalidation]
Loading

Technical review

Best possible solution:

Retain scoped cached transcript loading and authoritative revalidation, using the existing admission owner’s bounded wait if the campaign selects fix-forward.

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

Current-main source admits the cached pane immediately, and the supplied browser comparisons isolate delayed hello delivery; this review did not independently execute the reproduction.

Is this the best way to solve the issue?

The bounded wait is a small scheduling repair using existing owners; mount attribution supports avoiding a wider rendering refactor, and no unnecessary parallel machinery was found.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Full-UUID snapshot admission changes intended behavior with a stated reason (0d95528: Show an exact, scoped cached conversation before sessions.resolve while preserving authoritative route validation and held sends.)
  • Warm reload persistence and Team-scale fixture keeps the original intent (d91ee6e: Replay realistic boot queries and persisted warm state without clearing the HTTP cache; the additions extend those existing owners to model off-roster admission and unchanged history.)
  • Cold-load reply instrumentation keeps the original intent (0e85fcf: Measure delivered RPC work and frame costs; the added timestamps distinguish configured delivery time from main-thread dispatch delay.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source +20, Tests +135, Docs +17, Other +36. Total +208 across 11 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 2 21 1 +20
Tests 5 147 12 +135
Docs 2 19 2 +17
Config 0 0 0 0
Generated 0 0 0 0
Other 2 38 2 +36
Total 11 225 17 +208

Review metrics

Metric Value Why it matters
Benchmark options 2 new benchmark flags --off-roster-route and --warm-history-delta exercise the affected reload path; neither changes product configuration.

Labels

Label changes:

  • add P2: Handshake and transcript readiness regress on a specific warm deep-link path, while the application remains usable.
  • remove P3: Current review triage priority is P2, so this older priority label is no longer current.
  • remove status: 👀 ready for maintainer look: Current PR status no longer selects a status label.

Label justifications:

  • P2: Handshake and transcript readiness regress on a specific warm deep-link path, while the application remains usable.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Complete the declared live warm-reload qualification for chat and dashboard, recording hello handling, final rows, and total blocking.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-19T21:56:29.683Z sha 776184551a1a9bbfb34f99a312ec5b60b97479ea :: needs maintainer review before merge. :: none

Reviewed October 19, 2026, 6:42 PM ET / 22:42 UTC (Revision 2).

@steipete
steipete force-pushed the steipete/coldload-snapshot-mount-starves-connect branch from 7761845 to abf2c93 Compare October 19, 2026 22:05
@steipete steipete changed the title experiment(control-ui): snapshot mount and handshake collision [do not merge] fix(control-ui): keep warm reloads from delaying the Gateway handshake Oct 19, 2026
@steipete
steipete marked this pull request as ready for review October 19, 2026 22:06
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: M and removed size: XS labels Oct 19, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T23:08:55.859998Z 8b34f8e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The branch now includes the bounded hello wait and corrected warm-delta fixture. The body contains the valid 11-pair results for both faces, the source-mapped mount profile, and inspected synthetic screenshots. It explicitly records the missing live blocking-direction reproduction. Focused and targeted reload e2e tests pass; the remaining changed-file/full-UI validation is running on the exact head.

@clawsweeper

clawsweeper Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 19, 2026
@steipete
steipete force-pushed the steipete/coldload-snapshot-mount-starves-connect branch from 7a51108 to a29cafc Compare October 19, 2026 22:37
Keep snapshot admission and authoritative route revalidation, but defer mounting the cached pane until hello or a 200 ms deadline. Preserve cancellation, scope, connection revision, and snapshot invalidation across the wait. Extend the cold-load benchmark with explicit off-roster and unchanged-history workloads and scheduled-versus-handled reply timing.
@steipete
steipete force-pushed the steipete/coldload-snapshot-mount-starves-connect branch from a29cafc to 8b34f8e Compare October 19, 2026 23:05
@steipete steipete changed the title fix(control-ui): keep warm reloads from delaying the Gateway handshake experiment(control-ui): bounded snapshot mount wait [do not merge] Oct 19, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Closing H as an unsuccessful experiment under the predeclared gate. On the final head, chat paints 152 ms earlier by paired median, but final rows are 44.6 ms later and worse in 9/11 pairs. This is a declared regression. Dashboard's earlier paint does not rescue the candidate.

All 66 paired-comparison reloads completed successfully; full per-pair results and the source-mapped mount profile are in the body. The selected fallback is R in #177760. Preserve the current startup subscription's resumeStoredChatOutboxes import when rebasing R; that caller survives the admission revert.

Focused tests, all touched-file lint, and 11 native reload e2e tests pass. H's remaining full-suite/CI work was stopped because the variant failed qualification. No merge was attempted.

@steipete steipete closed this Oct 19, 2026
steipete added a commit that referenced this pull request Oct 19, 2026
…ns.resolve (#177760)

Revert the runtime part of #177153 (0d95528). It rendered a cached full-UUID chat route from the prewarmed snapshot before sessions.resolve, which won on the bench but regressed live: on Team r170 (Peter's 820-message session, 3 warm reloads) the snapshot-admitted pane mounted in one 157-190 ms task right as the WebSocket connect response arrived, so connect was handled at 619-632 ms instead of 386-425 ms (9 runs on r164-r167) and every post-hello RPC shifted ~230 ms. First rows moved slightly earlier (586-710 vs 655-778 ms), but final rows went 822-998 -> 976-1,161 ms and LoAF blocking 96-131 -> 185-227 ms. Board connect RTT was unchanged, so the cost was client-side. The bench had missed it because its handshake finished before the mount.

The fix-forward attempt (mount after hello with a bounded wait, #177759) kept a 152 ms painted-transcript gain but regressed chat final rows +44.6 ms in 9/11 pairs and was rejected by its pre-declared gate, so the pre-declared fallback lands.

Benchmark tooling and probes added by #177153 (paint/element timing, per-method latency, short URLs) are kept. Runtime -127 LOC. 286 focused tests, typecheck/lint, 8 warm-boot tests, full UI 831 files (remaining Crabline permission failure reproduces on main); exact-head CI green.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 20, 2026
…ns.resolve (openclaw#177760)

Revert the runtime part of openclaw#177153 (6d343c3). It rendered a cached full-UUID chat route from the prewarmed snapshot before sessions.resolve, which won on the bench but regressed live: on Team r170 (Peter's 820-message session, 3 warm reloads) the snapshot-admitted pane mounted in one 157-190 ms task right as the WebSocket connect response arrived, so connect was handled at 619-632 ms instead of 386-425 ms (9 runs on r164-r167) and every post-hello RPC shifted ~230 ms. First rows moved slightly earlier (586-710 vs 655-778 ms), but final rows went 822-998 -> 976-1,161 ms and LoAF blocking 96-131 -> 185-227 ms. Board connect RTT was unchanged, so the cost was client-side. The bench had missed it because its handshake finished before the mount.

The fix-forward attempt (mount after hello with a bounded wait, openclaw#177759) kept a 152 ms painted-transcript gain but regressed chat final rows +44.6 ms in 9/11 pairs and was rejected by its pre-declared gate, so the pre-declared fallback lands.

Benchmark tooling and probes added by openclaw#177153 (paint/element timing, per-method latency, short URLs) are kept. Runtime -127 LOC. 286 focused tests, typecheck/lint, 8 warm-boot tests, full UI 831 files (remaining Crabline permission failure reproduces on main); exact-head CI green.
@RomneyDa
RomneyDa deleted the steipete/coldload-snapshot-mount-starves-connect branch October 22, 2026 05:52
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 clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. docs Improvements or additions to documentation P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: M 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