Skip to content

perf(control-ui): admit dashboard reloads through the early Gateway handoff - #189762

Merged
steipete merged 2 commits into
mainfrom
steipete/coldload-hello-main-thread-contention
Nov 1, 2026
Merged

steipete merged 2 commits into
mainfrom
steipete/coldload-hello-main-thread-contention

Conversation

@steipete

@steipete steipete commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Status: ready

A is accepted for landing, including its negligible dashboard CLS tradeoff. Dashboard hello improves in 11/11 pairs, 570.42→468.20 ms, paired median −96.88 ms [−182.18, −60.44]. The former maximum-absolute-A/A clearance requirement is withdrawn for this consistent effect.

Dashboard CLS increases by a paired median +0.000287 (8/11 worse), approximately 0.0003 and below 0.001; this is an accepted tradeoff. A/A paired CLS range was [−0.002341, +0.000267]. Chat is untouched by this change; its measured variation is A/A-like noise. Final-head CI is green; standalone validation findings are classified below. This PR stops at ready review and will not be merged by this lane.

What Problem This Solves

Literal dashboard deep links skip the early Gateway handoff and begin their connection after more application startup work. Chat links already overlap that handoff with startup. The campaign's original evidence counted 14 visible states during a signed-in reload of a dashboard deep link; this change addresses its delayed handshake admission.

Why This Change Was Made

Remove only the chat-namespace restriction. Literal chat and dashboard routes use the existing credential owner, full session key, chat.startup history parameters, bounded event handoff, and adoption checks. Short/main references still wait for their resolver; confirmation-required endpoints, native startup and non-workspace documents keep their existing startup owner. No identity/signer preload or runtime configuration, protocol, cache or storage change.

History: the restriction was introduced with the chat-scoped optimization in #185683 (4420648c4046). Its comment protects short references, native handoffs, confirmation and route replacement; those independent guards are retained. No dashboard-specific authority or scope invariant was found. The existing handoff rechecks URL and credentials at adoption.

B stays dropped: live connection/route confirmation enables the favicon fetcher, changing settled message linkFavicons from false to true and adding actual favicon placeholders. That is a legitimate markup input change. Suppressing the preparation as redundant would be incorrect; this PR does not change it.

User Impact

Dashboard reloads begin their Gateway handshake earlier while preserving cached views, authentication and route resolution. Chat continues through its existing early handoff and startup sequence; there is no change to chat rendering or requests. Cached page restoration keeps its existing ordering, including #185558's accepted earlier cached-row paint / later hello tradeoff. No application WebSocket request is sent before successful connect receipt.

Evidence

The accepted comparison uses a synthetic signed-in 3,000-session fixture matching the campaign's archived targets/sidebar preferences; one quiet AWS c7a.4xlarge; the same built Gateway for both UI arms; an 80 ms CDP network profile (not calibrated per-RPC wire RTT); 11 interleaved warm pairs on chat and dashboard plus an 11-pair A/A control. Unprofiled results only. No absolute historical hello budget applies.

Performance proof was recorded before the mechanical rebase: UI baseline 828b81ad1f94, candidate 02f405f70530, AWS Crabbox cbx_1d63caee9630, actual c7a.4xlarge (16 CPUs), Chromium 156.0.8078.4. The production patch and owner files remain unchanged on the final validation head. Both UI arms used the same built Gateway. Quiet-host CPU idle was 92.41% for A/A and 93.48% for A/B. No CPU profiler ran during comparisons.

Accepted performance result: dashboard hello 570.42→468.20 ms, better in 11/11 pairs; paired median −96.88 ms [−182.18, −60.44]. The earlier maximum-absolute-A/A clearance rule is withdrawn for this consistent effect. A/A hello paired range was [−105.03, +87.56] ms, median +5.18 ms, IQR [−44.62, +51.47] ms. Candidate paired IQR is separated from the control paired IQR.

Chat is untouched by this change: it keeps its existing early handoff and startup sequence. Chat hello paired delta −4.81 ms (6 better / 5 worse) and other chat results are A/A-like noise, not a claimed chat improvement.

Accepted CLS tradeoff: dashboard CLS paired median increases by 0.00028717 (8/11 worse), approximately 0.0003 and below 0.001. A/A paired CLS range is [-0.00234068, 0.00026723], with median -0.00011550. The increase is retained and explicitly accepted as negligible.

Dashboard FCP paired median −17.12 ms (9/11 better), first ElementTiming row paint −16.07 ms (9/11 better), and LoAF −19.20 ms (6 better / 5 worse) accompany the handshake gain.

All values are milliseconds except CLS; brackets are [Q1,Q3]. Paired delta is candidate minus its paired baseline, which differs from subtracting the independent arm medians. Lower is better. Better/worse counts omit ties. No pairs were removed. ElementTiming and DOM readiness do not establish complete-page pixel-firstness.

chat

Metric Baseline median [Q1,Q3] Candidate median [Q1,Q3] Paired delta median [Q1,Q3] Better/worse
Hello handled 414.72 [396.99, 473.72] 405.32 [396.56, 458.04] -4.81 [-45.01, 36.32] 6/5
FCP 857.66 [835.78, 881.31] 846.55 [827.47, 888.02] 0.72 [-52.62, 35.05] 5/6
First ElementTiming row paint 859.52 [837.49, 883.45] 847.51 [829.44, 891.41] 3.89 [-53.98, 35.93] 5/6
Final rows DOM (not paint) 422.91 [408.07, 433.59] 416.33 [404.59, 428.30] -16.11 [-24.01, 7.76] 7/4
LoAF blocking 163.10 [155.10, 179.60] 157.30 [143.05, 170.30] -21.50 [-38.25, 16.25] 6/5
CLS 0.003499 [0.003499, 0.003948] 0.003499 [0.003499, 0.003948] 0.000000 [-0.000282, 0.000224] 4/3
Pair Hello FCP First row paint Final rows DOM LoAF CLS
1 4.36 33.53 35.96 5.86 -37.30 0.000000
2 -40.61 0.72 3.89 -43.21 -21.50 0.000000
3 84.49 -30.77 -31.91 -16.61 11.60 0.000449
4 -135.23 -104.71 -107.93 -18.63 -53.00 -0.000449
5 99.35 18.96 19.95 -7.75 46.20 0.000449
6 -4.81 -7.42 -7.81 -16.11 -39.20 -0.000115
7 -49.40 36.58 35.90 54.60 14.70 -0.000449
8 -101.24 47.15 48.06 9.66 -25.30 -0.000564
9 22.88 88.36 87.98 22.78 21.50 0.000000
10 -19.39 -100.11 -99.89 -29.39 -52.00 0.000000
11 49.76 -74.47 -76.04 -40.44 17.80 0.000449

A/A control: identical baseline assets, same box/rig, 11 interleaved pairs.

Metric First arm median [Q1,Q3] Second arm median [Q1,Q3] Paired delta median Full paired range
Hello handled 411.40 [399.54, 423.36] 406.01 [403.05, 435.56] 7.87 [-49.17, 67.14]
FCP 1152.61 [1136.58, 1187.19] 1151.60 [1094.59, 1163.15] -25.40 [-108.66, 34.71]
First ElementTiming row paint 1155.53 [1139.55, 1189.45] 1155.46 [1097.39, 1163.53] -28.03 [-107.99, 32.01]
Final rows DOM (not paint) 546.32 [531.96, 565.22] 539.56 [526.49, 543.70] -15.43 [-68.69, 84.51]
LoAF blocking 151.60 [124.65, 160.35] 151.30 [147.80, 159.45] 8.50 [-36.10, 44.80]
CLS 0.000115 [0.000115, 0.000115] 0.000115 [0.000115, 0.001807] 0.000000 [-0.003384, 0.003384]
All A/A per-pair deltas
Pair Hello FCP First row paint Final rows DOM LoAF CLS
1 19.05 -33.04 -31.95 -46.35 -13.20 0.003384
2 17.55 -23.64 -24.15 -44.65 -10.10 0.003384
3 -49.17 -40.49 -43.97 2.73 44.80 -0.003268
4 -16.09 29.00 32.01 84.51 8.50 -0.003384
5 7.87 -25.40 -28.03 -15.43 33.20 0.000000
6 67.14 -84.99 -83.96 -31.46 -20.10 0.003384
7 6.39 34.71 31.89 -5.61 30.90 0.000000
8 -24.21 -14.77 -16.01 3.49 -21.90 0.000000
9 28.76 15.50 15.96 -47.04 32.80 0.000000
10 -17.98 -74.37 -71.88 20.32 -36.10 0.000000
11 24.61 -108.66 -107.99 -68.69 29.30 0.000000

dashboard

Metric Baseline median [Q1,Q3] Candidate median [Q1,Q3] Paired delta median [Q1,Q3] Better/worse
Hello handled 570.42 [557.93, 604.57] 468.20 [422.38, 500.85] -96.88 [-182.18, -60.44] 11/0
FCP 809.54 [787.83, 817.27] 792.95 [775.61, 806.12] -17.12 [-40.47, -5.04] 9/2
First ElementTiming row paint 811.56 [789.44, 819.39] 795.51 [777.41, 809.45] -16.07 [-41.85, -6.05] 9/2
Final rows DOM (not paint) 409.70 [386.78, 429.43] 400.61 [390.07, 418.20] -14.52 [-19.49, 8.36] 6/5
LoAF blocking 194.40 [163.50, 205.70] 175.50 [166.20, 179.75] -19.20 [-39.70, 16.05] 6/5
CLS 0.001902 [0.001902, 0.002121] 0.002456 [0.002131, 0.002456] 0.000287 [0.000086, 0.000554] 1/8
Pair Hello FCP First row paint Final rows DOM LoAF CLS
1 -17.32 -38.44 -39.82 -14.52 -19.20 -0.000439
2 -96.88 60.85 60.02 54.02 -57.10 0.000000
3 -89.41 1.41 3.89 -29.81 2.60 0.000554
4 -149.26 -0.62 -0.06 -15.66 -46.90 0.000000
5 -103.24 -22.38 -23.94 -39.54 15.30 0.000554
6 -255.87 -17.12 -16.07 5.53 -28.40 0.000287
7 -64.44 -9.46 -12.04 -22.84 20.50 0.000439
8 -215.11 -45.06 -47.91 11.19 -46.50 0.000172
9 -56.45 -16.59 -16.05 -16.15 34.40 0.000554
10 -225.47 -42.51 -43.87 3.73 -32.90 0.000172
11 -56.25 -93.01 -92.05 19.65 16.80 0.000554

A/A control: identical baseline assets, same box/rig, 11 interleaved pairs.

Metric First arm median [Q1,Q3] Second arm median [Q1,Q3] Paired delta median Full paired range
Hello handled 531.82 [521.33, 544.68] 524.71 [496.96, 572.30] 5.18 [-105.03, 87.56]
FCP 1098.81 [1032.41, 1103.00] 1091.35 [1070.76, 1106.73] -3.17 [-91.61, 142.46]
First ElementTiming row paint 1099.56 [1035.38, 1105.48] 1091.64 [1071.51, 1109.41] -4.07 [-92.14, 140.13]
Final rows DOM (not paint) 558.06 [535.68, 561.88] 529.04 [499.60, 561.25] -5.88 [-64.54, 108.13]
LoAF blocking 178.20 [166.40, 193.05] 190.40 [158.55, 197.25] -7.30 [-61.60, 80.20]
CLS 0.002073 [0.002073, 0.002189] 0.002073 [0.001786, 0.002189] -0.000115 [-0.002341, 0.000267]
All A/A per-pair deltas
Pair Hello FCP First row paint Final rows DOM LoAF CLS
1 5.18 77.06 76.08 22.58 -10.50 -0.000115
2 -33.18 -9.37 -7.88 -2.78 -11.60 0.000115
3 61.38 56.66 56.08 -60.02 5.10 -0.000287
4 -56.07 -3.17 -4.07 -56.97 -55.80 0.000000
5 41.55 -30.58 -28.05 -62.15 36.00 -0.000287
6 -78.07 142.46 140.13 108.13 -32.80 -0.002341
7 87.56 -91.61 -92.14 -64.54 30.60 0.000267
8 -105.03 68.96 68.17 18.67 -61.60 -0.000383
9 78.16 -44.79 -48.04 -52.94 40.00 -0.000287
10 -7.88 -30.60 -31.98 -5.88 -7.30 0.000115
11 33.99 38.95 39.99 34.39 80.20 0.000000

Connection phases

Native open-event delivery and renderer send/receipt timestamps include event-loop scheduling. These intervals locate the wait; they are not function-level CPU attribution. B is unchanged.

Route / phase Baseline median [Q1,Q3] Candidate median [Q1,Q3] Paired delta Better/worse
chat / firstSocketCreatedMs 37.33 [36.18, 38.10] 37.13 [36.09, 37.89] 0.39 [-1.94, 1.26] 5/6
chat / firstSocketOpenEventMs 129.31 [121.74, 131.55] 127.43 [124.86, 131.70] 2.29 [-3.10, 5.84] 4/7
chat / firstConnectRendererSendMs 232.53 [211.72, 244.70] 245.61 [214.49, 310.46] 16.98 [-17.22, 70.70] 3/8
chat / firstConnectRendererReceiptMs 383.12 [361.49, 434.57] 372.72 [361.46, 424.04] -8.31 [-40.61, 38.77] 6/5
chat / socketCreatedToOpenEventMs 92.30 [84.55, 93.60] 90.30 [89.20, 93.00] 3.90 [-3.65, 6.25] 4/7
chat / openEventToConnectSendMs 102.10 [89.75, 112.55] 112.00 [89.05, 164.90] 12.50 [-14.50, 64.80] 4/7
chat / connectSendToReceiptMs 153.30 [149.10, 198.00] 157.60 [106.75, 183.40] -44.10 [-89.60, 20.85] 7/4
chat / connectReceiptToHelloHandledMs 37.10 [35.15, 39.15] 34.00 [32.85, 36.00] -0.50 [-6.00, 0.70] 7/4
chat / helloHandledMs 414.72 [396.99, 473.72] 405.32 [396.56, 458.04] -4.81 [-45.01, 36.32] 6/5
dashboard / firstSocketCreatedMs 107.16 [104.93, 109.53] 29.99 [29.26, 31.25] -76.76 [-79.96, -74.35] 11/0
dashboard / firstSocketOpenEventMs 314.86 [311.78, 357.70] 148.50 [141.52, 156.45] -164.01 [-213.92, -153.85] 11/0
dashboard / firstConnectRendererSendMs 488.64 [477.65, 538.50] 346.20 [313.78, 368.51] -130.91 [-232.74, -109.14] 10/1
dashboard / firstConnectRendererReceiptMs 529.62 [515.35, 566.60] 430.80 [385.38, 463.15] -97.28 [-182.18, -58.15] 11/0
dashboard / socketCreatedToOpenEventMs 212.60 [207.35, 248.95] 119.30 [111.95, 126.25] -90.40 [-134.50, -82.90] 10/1
dashboard / openEventToConnectSendMs 170.30 [163.95, 180.50] 197.70 [171.55, 210.75] 33.10 [-10.85, 55.15] 4/7
dashboard / connectSendToReceiptMs 31.80 [27.45, 35.90] 87.40 [64.20, 122.45] 51.60 [32.15, 94.25] 1/10
dashboard / connectReceiptToHelloHandledMs 39.60 [38.10, 41.05] 37.40 [36.25, 38.65] -2.30 [-5.05, -2.00] 9/2
dashboard / helloHandledMs 570.42 [557.93, 604.57] 468.20 [422.38, 500.85] -96.88 [-182.18, -60.44] 11/0

The phase decomposition shows where event-loop waits change as the handshake overlaps startup. The accepted cached-render ordering is retained.

Transport audit: 96/96 loads (including cold setup/control loads) have one socket, one successful connect receipt, and zero application sends before that receipt, checked at both the page send boundary and native wire timestamps. No missing required final regions or browser-error loads. One candidate dashboard capture (warm pair 9) changed visually within the final second of its eight-second observation window; it is marked visually censored and retained in all tables. No complete visual-settling claim is made.

Retained raw-report SHA256:

  • AA: 1fa4c53be6274bfe23dce4e51dc0c6d68e3b28d8afbe1e56f251c933856b8cdd
  • AB: 158229559b7ba509cfaef3bc8277004e6feff9fa16ee6c0362eae07efde544c6

Proof

Final validation head: c23d0ae518fefed39c5701f5dfa39aa5f02cb6de, rebased onto 79ef1c6d17e04545a3d39eee300e086c4ae2ab8b. The production patch remains byte-identical to the accepted measurement patch.

  • Regression was red before the fix at missing dashboard early transport. On this head, the retained suite passes 12/12 locally. It checks literal dashboard transport and correct initial history after hello, short/main references, confirmation, native startup, non-workspace startup, and URL/auth adoption boundaries.
  • Fresh autoreview with full owner context: clean through P2. git diff --check passes.
  • AWS cbx_0ad5ab15f152: corepack pnpm test ui/src/app/early-gateway.test.ts --maxWorkers=1 passes 12/12, command wall 8.44 seconds. Focused gateway-boot, gateway-preconnect and connection-bootstrap consumers pass 3 files / 26 tests.
  • node scripts/check-changed.mjs --base 79ef1c6d17e04545a3d39eee300e086c4ae2ab8b: formatting, all ratchets, core-test/UI typechecks, core lint and script lint pass. The command exits 1 solely for the untouched MAX_DATABASE_SNAPSHOT_EXTRACT_BYTES export in src/commands/backup-verify-spool.ts; the same export fails on the main control below. No skip flag was used.
  • Full UI e2e on the final head: node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts completed 886 files: 877 passed, 6 failed, 3 skipped; 3,335 tests passed, 2 failed, 17 skipped (4,823.38 seconds). Route coverage passed, including boot/module boundaries (18), warm boot (10), initial-connect splash (19), shell routing (1), snapshot admission (10), dashboard cold load (2), session-dashboard (5) and dashboards-list-demand (4).
  • Four failed files required WebKit, which was missing from my initial Chromium-only setup. After installing WebKit, serial replays on the unchanged head pass 4 files / 13 tests: composer-picker layout (4), logs-scroll (3), tooltip-first-activation (2), workboard-native-bundle (4). Replays used the same frozen source; the initial failed attempt is retained.
  • The other two failed files were replayed one at a time on main e515a095c5b588fb5d2e708cec5b47cfab7b79a2, on the same AWS lease. Both reproduce the matching failure below. The full-suite attempt remains recorded as failed; all its findings are accounted for.
  • Exact-head CI is green for c23d0ae518fefed39c5701f5dfa39aa5f02cb6de. There are no CI reds to classify.
Standalone finding Main control result
Dead-export scan: MAX_DATABASE_SNAPSHOT_EXTRACT_BYTES Same untouched export fails on main (alongside other main exports).
chat-outbox-migration.e2e.test.ts Same initial-roster readiness timeout on main. Chat admission code is unchanged by this PR.
control-ui-automation-management.real-gateway.e2e.test.ts Same private-mutation POSIX-boundary rejection on main.

Validation receipts are retained locally; candidate and control tracked source remained clean. No owned Gateway listener remained in ports 19600–19699 after validation. Validation lease cbx_0ad5ab15f152 is released with cleanup complete; the measurement lease was released earlier.

Warm-cache records confirm 97 groups / 102 section-order entries, category grouping, created sorting and five collapsed sections for both arms/routes. Both targets are archived; involving-me, empty groups always, previews disabled and pinned rows use the same fixture. All 96 measurement loads satisfy the successful connect-first transport invariant. One candidate dashboard capture changed visually within the last second of the observation window; it remains included in all tables. No complete-page settling claim is made.

Runtime LOC delta: 0 net (one condition simplified). The requested non-test diff is +2 net, entirely the exact regression-budget allocation record. Test delta is +42 LF; the allocation grants exactly 42 for distinct route/history/ordering regressions, with no shared scalar increase or slack. No runtime growth, new owner or superseded machinery retained.

Files: ui/src/app/early-gateway.ts, ui/src/app/early-gateway.test.ts, config/test-lines-allocations/control-ui-early-dashboard.txt.

Visual Before / After

Inspected synthetic-only benchmark captures from the recorded pre-rebase comparison, after the fixed observation window. These show retained layout/content; they do not establish first-frame completeness. Timing evidence and the visually censored capture are described above.

Route Baseline Candidate
Dashboard Synthetic dashboard before Synthetic dashboard after
Chat Synthetic chat before Synthetic chat after

@clawsweeper

clawsweeper Bot commented Oct 31, 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 clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 31, 2026
@clawsweeper

clawsweeper Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR lets literal dashboard links use the existing early Gateway connection and subscription handoff.

Example: Reload /dashboard/main/dashboard/proof.

  • Before: The dashboard waits for ordinary application startup to establish its Gateway connection.
  • After: The existing early transport connects for agent:main:dashboard:proof while the application loads.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The patch is focused and source review found no defect, but the changed performance behavior has no completed applicable runtime proof.
Proof confidence 🧂 unranked krab (1/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: Performance · Worth it: Yes · Fix scope: Complete
User problem: Dashboard deep-link reloads serialize Gateway connection behind additional application startup work.
Reason: The maintainer-authored direction targets a concrete startup delay with one existing owner and no new configuration, protocol, or persisted format.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored draft open: current main still excludes dashboard routes, and the focused change preserves the existing startup owners with no actionable code defect found.

Priority: P2
Reviewed head: db9f643559e8430a0bcad8991ca4517bdd0bde2c

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The isolated dashboard benchmark still needs production-browser results and transport traces meeting the declared dashboard/chat timing, rendering, and one-connection gates.
Agent review details

How this fits together

The browser entry point resolves connection settings and the route, starts an eligible Gateway transport, and hands its authenticated connection and buffered subscription to the application.

flowchart LR
  A[Browser entry point] --> B[Startup settings and route]
  B --> C[Existing credential owner]
  C --> D[Early Gateway transport]
  D --> E[Gateway authentication]
  E --> F[Bounded subscription handoff]
  F --> G[Application and dashboard]
Loading

Technical review

Best possible solution:

Retain the single-condition change and existing handoff owners if the declared isolated performance gates pass.

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

Current-main source deterministically excludes literal dashboard routes from early startup; no target code was executed during this read-only review.

Is this the best way to solve the issue?

Removing the namespace restriction is the smallest complete implementation: both route namespaces share parsing, credential preparation, transport adoption, and subscription ownership.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Literal-route admission changes intended behavior with a stated reason (4420648: The original optimization targeted chat startup while preserving route resolution and existing authentication ownership; the later New Session optimization retained that scope.)
  • Existing startup boundary tests keeps the original intent (8c69e8b: Protect native, confirmation, document, and relay startup ownership while preconnecting New Session.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 4420648 adds ui/src/app/early-gateway.ts:19 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4420648c4046; files: ui/src/app/early-gateway.ts)

PR surface

Source 0, Tests +42, Other +2. Total +44 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 1 1 0
Tests 1 56 14 +42
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 3 59 15 +44

Review metrics

Metric Value Why it matters
Production versus test change Production +1/-1 lines; tests +56/-14 lines The production edit reuses existing machinery; the net 42 test lines cover distinct dashboard admission, history ordering, confirmation, and reference-resolution boundaries.

Labels

Label changes:

  • add P2: This is a focused dashboard startup improvement without an established outage or urgent regression.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: This is a focused dashboard startup improvement without an established outage or urgent regression.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

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

  • Publish the isolated benchmark results and transport traces against the declared acceptance gates.

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.

Reviewed October 31, 2026, 5:16 PM ET / 21:16 UTC.

@steipete
steipete force-pushed the steipete/coldload-hello-main-thread-contention branch from db9f643 to 02f405f Compare October 31, 2026 22:04
@steipete
steipete force-pushed the steipete/coldload-hello-main-thread-contention branch from 02f405f to c23d0ae Compare October 31, 2026 23:02
@steipete
steipete marked this pull request as ready for review October 31, 2026 23:11
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 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-31T23:12:54.127931Z c23d0ae Draft marked ready
ℹ️ 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
steipete merged commit 9c22cf8 into main Nov 1, 2026
147 checks passed
@steipete
steipete deleted the steipete/coldload-hello-main-thread-contention branch November 1, 2026 01:01
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 1, 2026
…andoff (openclaw#189762)

Literal dashboard routes now use the existing early Gateway connection and subscription handoff instead of waiting for ordinary application startup. The native, pending-confirmation, document-ownership and relay guards are unchanged, and non-literal dashboard routes stay with their resolver.

Dashboard warm reload hello 570.4 -> 468.2 ms (paired -96.9 ms, 11/11 better); chat untouched; accepted dashboard CLS +0.000287. Runtime LOC 0.
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 P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: S 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