Skip to content

perf(control-ui): keep the session header steady during reload - #190096

Merged
steipete merged 1 commit into
mainfrom
steipete/coldload-header-identity-hydration
Nov 1, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/coldload-header-identity-hydration

Conversation

@steipete

@steipete steipete commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes a 32 px header movement when reloading a cached chat or dashboard deep link whose session descriptor falls outside the bounded sidebar cache. The campaign evidence originally recorded 14 visible states on a signed-in dashboard deep-link reload. After #189760 fixed admission of the cached breadcrumb and archived footer, the remaining movement comes from mounting the session-menu trigger when the session descriptor or connected pane actions become available.

User Impact

The cached desktop header keeps its final geometry while the live session menu becomes available. Mobile retains its existing presenter.

Why This Change Was Made

The transcript snapshot can be admitted before the live session descriptor or connected pane actions. chat-pane-header.ts supplies the row-based menu; chat-pane-mobile-composition.tsx also admits connected pane-local actions. There is no separate actions-list RPC. The menu's empty desktop container previously occupied no space; mounting its button later grew it by 32 px. Reserve the button's hit area using the same size token as the real trigger. Both dimensions matter: width alone still lets the empty container move vertically when the button arrives.

Menu contents and live authorization remain with their existing owners. No cache, configuration, protocol, server-state or snapshot fields change. Connect-first is preserved.

Evidence

Final head: dd0cd0fb7b77e9276447a3ff9ce72ce03f1f6026; baseline runtime: main c2bbb1059f85c3fe542e1f6620dea0e6bd4f18b2.

Quiet AWS lease cbx_6ebca0a903bf, fixed c7a.4xlarge, 16 observed CPUs, approximately 30.6 GiB RAM, Node 24.19.0 and repository Playwright Chromium. One box ran 11 interleaved A/A pairs and 11 interleaved baseline/candidate pairs per route, unprofiled, Team-scale fixture, live-fast latency. Synthetic settings match the reported shape: involving-me, category grouping, created sort, preview disabled, 97 groups, 102 section-order entries, five collapsed sections, empty groups always, pins and an archived selected session.

Primary passes: 11/11 stable candidates on each route, versus 0/11 baseline. Every candidate has zero trailing-region, menu-container, breadcrumb and archived-footer movement from the first app header sample through live updates. CLS improves in all 22 pairs. Snapshot sizes are exactly unchanged in every candidate pair: chat 52,234 B and dashboard 51,915 B. All 88 A/A and candidate reloads have one connect and zero non-connect requests before hello.

Runner: scripts/bench-control-ui-cold-load.ts with warm reload, archived session, pane-chrome probe and two bundle directories; dashboard adds --chat-dashboard-route.

Predeclared gate: movement at most 1 px in at least 10/11 candidates per route; no footer contraction or snapshot-size growth; secondaries judged against A/A and the campaign's paired regression rule. Available metrics show no regression. Chat native-row paired median is +4 ms (5 better, 6 worse), exactly the A/A paired median; dashboard sampled-row paired median is +1.2 ms (4 better, 7 worse), versus A/A +8.7 ms. Their IQRs overlap. These small changes are noise, not claimed improvements.

Instrumentation gap: dashboard cached text is visible but emits no native Element Timing in either arm. Its native first-text-paint time is unavailable; DOM/rAF visibility is shown separately and is not claimed as paint. Final rows below use the bench's first live transcript publication milestone.

Route Stable baseline / candidate Trailing + menu movement Breadcrumb movement Archived-footer movement Snapshot bytes baseline / candidate
chat 0/11 → 11/11 32 → 0 px; menu 32 → 0 px 0 → 0 px 0 → 0 px 52234 / 52234
dashboard 0/11 → 11/11 32 → 0 px; menu 32 → 0 px 0 → 0 px 0 → 0 px 51915 / 51915

All times below are ms; brackets contain Q1 and Q3. Hello handled is the microtask after connected publication; first live rows is the native live transcript publication. DOM/rAF visibility is reported separately from text paint. Dashboard cached text is visible but emits no native Element Timing on current main or candidate; its native paint time is unavailable.

Route Metric Baseline median [IQR] Candidate median [IQR] Paired median Δ Better / worse A/A paired median Δ [IQR]
chat Hello handled 524.2 [522.5, 531.0] 524.2 [522.6, 535.0] 0.2 5 / 6 -1.8 [-7.4, 2.0]
chat FCP 92.0 [92.0, 92.0] 92.0 [92.0, 92.0] 0.0 2 / 1 0.0 [-2.0, 0.0]
chat First painted rows (native Element Timing) 380.0 [374.0, 388.0] 380.0 [376.0, 384.0] 4.0 5 / 6 4.0 [-4.0, 8.0]
chat First sampled visible rows (DOM/rAF) 188.0 [186.4, 190.4] 189.7 [186.9, 190.6] 1.7 5 / 6 -3.4 [-8.1, 11.2]
chat First live rows 814.8 [798.2, 825.1] 808.3 [796.2, 827.5] 7.0 5 / 6 1.0 [-11.6, 9.5]
chat LoAF blocking 123.0 [119.0, 130.5] 122.0 [115.0, 127.5] -5.0 7 / 4 1.0 [-12.5, 6.0]
chat CLS 0.000699 [0.000699, 0.000699] 0.000265 [0.000265, 0.000265] -0.000434 11 / 0 0.000000 [0.000000, 0.000000]
dashboard Hello handled 555.2 [548.2, 565.3] 545.3 [542.8, 557.0] -4.4 7 / 4 -3.0 [-4.3, 6.4]
dashboard FCP 92.0 [88.0, 92.0] 88.0 [88.0, 92.0] 0.0 4 / 2 0.0 [-2.0, 4.0]
dashboard First painted rows (native Element Timing) unavailable unavailable — — —
dashboard First sampled visible rows (DOM/rAF) 354.7 [347.6, 358.6] 350.4 [346.6, 358.5] 1.2 4 / 7 8.7 [-1.6, 13.3]
dashboard First live rows 816.0 [804.5, 824.4] 797.2 [782.8, 815.4] -11.5 6 / 5 1.6 [-14.0, 18.4]
dashboard LoAF blocking 127.0 [122.5, 136.0] 125.0 [117.5, 141.0] -3.0 6 / 5 2.0 [-8.5, 23.5]
dashboard CLS 0.000515 [0.000515, 0.000515] 0.000265 [0.000265, 0.000265] -0.000250 11 / 0 0.000000 [0.000000, 0.000000]
Candidate minus baseline: all per-pair deltas

chat:

Pair Trailing movement Δ (px) Menu movement Δ (px) Hello FCP Native rows DOM/rAF rows Live rows LoAF CLS
1 -32 -32 9.0 0.0 8.0 2.7 -10.5 -13.0 -0.000434
2 -32 -32 12.4 0.0 4.0 6.7 17.5 1.0 -0.000434
3 -32 -32 -9.3 0.0 -8.0 3.5 -8.9 -24.0 -0.000434
4 -32 -32 -0.4 -4.0 4.0 -7.7 -43.5 8.0 -0.000434
5 -32 -32 -0.2 0.0 8.0 -0.8 7.0 -5.0 -0.000434
6 -32 -32 20.4 4.0 8.0 5.6 61.2 25.0 -0.000434
7 -32 -32 0.2 0.0 -4.0 -0.3 -32.0 6.0 -0.000434
8 -32 -32 -1.2 0.0 8.0 1.7 10.2 -5.0 -0.000434
9 -32 -32 5.3 0.0 -4.0 -4.2 8.0 -13.0 -0.000434
10 -32 -32 -39.5 -4.0 -72.0 -20.5 -79.6 -26.0 -0.000434
11 -32 -32 2.7 0.0 -8.0 2.8 79.8 -1.0 -0.000434

dashboard:

Pair Trailing movement Δ (px) Menu movement Δ (px) Hello FCP Native rows DOM/rAF rows Live rows LoAF CLS
1 -32 -32 11.9 0.0 — 1.2 15.5 19.0 -0.000250
2 -32 -32 -15.3 4.0 — 17.5 -42.0 43.0 -0.000250
3 -32 -32 -15.9 -4.0 — 2.4 -14.8 -22.0 -0.000250
4 -32 -32 -2.8 -4.0 — 7.5 7.3 -20.0 -0.000250
5 -32 -32 7.8 -8.0 — 7.0 12.9 49.0 -0.000250
6 -32 -32 3.9 0.0 — -29.8 -11.5 -35.0 -0.000250
7 -32 -32 -7.3 0.0 — -12.0 1.8 -20.0 -0.000250
8 -32 -32 29.7 4.0 — 12.6 29.4 66.0 -0.000250
9 -32 -32 -4.4 0.0 — 0.8 -26.4 -3.0 -0.000250
10 -32 -32 -6.2 0.0 — -7.8 -35.2 1.0 -0.000250
11 -32 -32 -39.2 -8.0 — -12.7 -50.1 -29.0 -0.000250
A/A second minus first: all per-pair deltas

chat:

Pair Trailing movement Δ (px) Menu movement Δ (px) Hello FCP Native rows DOM/rAF rows Live rows LoAF CLS
1 0 0 -8.0 8.0 8.0 11.2 6.7 5.0 0.000000
2 0 0 0.2 0.0 8.0 -7.6 -9.1 10.0 0.000000
3 0 0 39.5 0.0 -4.0 -8.8 119.4 -21.0 0.000000
4 0 0 -3.1 -4.0 8.0 -0.7 8.7 2.0 0.000000
5 0 0 -1.8 4.0 -4.0 14.2 0.4 7.0 0.000000
6 0 0 -6.7 0.0 8.0 -8.6 16.6 -7.0 0.000000
7 0 0 -15.6 0.0 -4.0 -17.8 10.2 -18.0 0.000000
8 0 0 -37.5 -8.0 -8.0 -3.4 -62.6 -91.0 0.000000
9 0 0 2.4 0.0 -4.0 11.1 -15.5 -4.0 0.000000
10 0 0 10.4 -8.0 16.0 -4.7 1.0 23.0 0.000000
11 0 0 1.6 0.0 4.0 13.2 -14.1 1.0 0.000000

dashboard:

Pair Trailing movement Δ (px) Menu movement Δ (px) Hello FCP Native rows DOM/rAF rows Live rows LoAF CLS
1 0 0 -0.4 8.0 — 12.6 -10.4 8.0 0.000000
2 0 0 13.2 -4.0 — 20.4 60.2 77.0 -0.007802
3 0 0 32.0 0.0 — -14.4 42.6 41.0 0.000000
4 0 0 -1.2 -8.0 — 0.4 -22.4 1.0 0.000000
5 0 0 -3.0 4.0 — 8.7 1.6 5.0 0.000000
6 0 0 -4.5 0.0 — 6.4 21.2 -2.0 0.000000
7 0 0 -11.5 4.0 — -17.1 -7.0 -17.0 0.000000
8 0 0 -29.4 4.0 — -3.5 -35.5 -87.0 -0.007802
9 0 0 -4.1 0.0 — 8.9 -17.5 -15.0 0.000000
10 0 0 -3.2 -4.0 — 22.4 9.1 39.0 0.000000
11 0 0 21.5 8.0 — 14.0 15.6 2.0 0.000000

Validation

The existing native two-route regression fails on the baseline for the expected 32 px shift and passes with this change. It asserts the real trigger is absent before hello, then waits for that trigger before comparing geometry. The 200 newer sessions keep the archived target descriptor outside the bounded boot roster, so a small fixture cannot mask the late-menu case.

  • pnpm test ui/src/e2e/chat-header-connection.e2e.test.ts --maxWorkers=1: 2 passed, 17.45 s wrapper wall time locally; final-head AWS replay also 2 passed.
  • Header owner unit suite: 36 passed; header browser suite: 17 passed (5.44 s Vitest duration after integrating fix(ui): prevent Node-only imports from breaking browser tests #190089's browser import fix).
  • Final-head full UI e2e, node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --maxWorkers=2: 880 files passed, 6 failed, 3 skipped; 3,356 tests passed, 2 failed, 17 skipped. Four failed suites could not launch because WebKit was missing. After installing the repository's WebKit, all four passed individually on the unchanged head: logs-scroll (3), tooltip-first-activation (2), chat-composer-picker-layout (4), workboard-native-bundle (4). No test was skipped or weakened to repair setup.
  • Three whole-file opt-ins stayed skipped: real desktop resize fixture, task-only steering custody proof, and live-provider search. No credentials were acquired.
  • Remote changed-file checks: format, guards, core-test typecheck, UI typecheck and dead-export scan passed. The 12-minute wrapper limit interrupted core lint; its completed replay returned existing full-scope lint findings. Stylelint passed. Exact-head CI script lint and script resource-safety lint passed. The single changed-check invocation is not reported as green.

Current-main controls used 627523800213cda34b1fb64d73eb64ff21382bac on AWS lease cbx_3aa041f87b9d (c7a.4xlarge). All six e2e control files and the composer-focus test are unchanged from the measured base. The original CI shard plan retained its inventory, Node/Bun partitioning, three workers and two-CPU affinity: 738 files / 8,281 tests passed.

Failure or setup gap Candidate result Current-main control Classification
chat-outbox-migration.e2e.test.ts:71 Offline reload times out waiting for initial roster; no shell/header mounted Same readiness error Confirmed inherited; migration assertions after that reload are not reached.
extensions/qa-lab/src/control-ui-automation-management.real-gateway.e2e.test.ts:315 Private mutation boundary rejected as writable by another POSIX principal Same rejection Confirmed inherited; guard preserved.
Four WebKit-dependent files listed above Initially missing browser; all 13 tests pass after installation All 13 tests pass Environment setup repaired.
Non-CI full-core lint Pinned Bun route returns warnings Same route fails on main; 78/79 emitted aggregate count/message rows match Baseline lint debt. The differing old max-lines and new main reactivity warnings are outside this patch. CI's scoped Oxlint checks pass.
Script lint Exact-head CI passes, including resource-safety checks Full script lint passes Passed.

AWS proof: final-head measurements and full suite, candidate lint and repaired WebKit files, main shard/outbox controls, remaining main controls. A host network interruption ended the first main-control transport after the completed shard/outbox results; its artifacts and signed terminal history were recovered, and only unfinished controls resumed at the same pinned main SHA. Both leases are released and verified to have no host. No local Gateway was started.

Review and CI

Autoreview of the complete lane diff is clean through P2. The patch is identical after the mechanical rebase. ClawSweeper found no actionable source defect and requested controlled comparison proof, supplied above. The exact-head code review completed with no findings.

Exact-head CI run 41277954346 remains red only for checks-ui (3/3) and its gate aggregation. All seven selected UI e2e shards and CI lint checks pass.

The failed case is chat-effort-picker.browser.test.tsx:186, keyboard reopening/focus: the assertion captures a null expected slider before lazy content exists. This is consistent with a fixture-readiness race. The unchanged standalone composer fixture has no header for the changed selectors to match. The original shard plan passes on current main (738 files), and the failed file passes on the exact head in isolation (7 tests, 1.72 s Vitest duration). This CI failure is unreproduced in those controls, not claimed as a confirmed main failure. CI was not rerun to chase green. Maintainer review should retain this qualification.

Production LOC

git diff --stat origin/main...HEAD -- ':!*.test.ts' ':!*test-support*' ':!docs/*': 9 insertions / 2 deletions = +7. Per file:

File Net LOC Contract requiring growth
ui/src/styles/chat/startup-layout.css +5 runtime Reserve both dimensions of the native hit area before metadata arrives; share its real size token instead of retaining duplicate width literals.
config/test-lines-allocations/header-session-menu-slot.txt +2 Exact 13-line allocation for the native behavior regression, with its reason.
ui/src/e2e/chat-header-connection.e2e.test.ts +13 test Extend the existing two-route test with an archived target outside the boot roster and require actual late trigger arrival.

No new store, component, test suite, production helper or config option. No changelog edit; release-note context is the cached-header stability fix described above.

Synthetic before and after

Baseline cached frame before menu arrival, and candidate after arrival with its reserved geometry. These are sanitized synthetic fixtures; no private captures are included.

Baseline chat cached frame before the session menu arrives

Candidate chat after the session menu arrives with unchanged header geometry

Baseline dashboard cached frame before the session menu arrives

Candidate dashboard after the session menu arrives with unchanged header geometry

@clawsweeper

clawsweeper Bot commented Nov 1, 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. P2 Normal backlog priority with limited blast radius. 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. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 1, 2026
@clawsweeper

clawsweeper Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Reserve the desktop session-menu button’s space before its session descriptor arrives.

Example: Reload the cached Observatory report dashboard with 200 newer sessions outside its archived descriptor.

  • Before: The empty menu container grows by 32 px when the session menu appears.
  • After: The container reserves 32 px before and after the menu appears.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, source-supported repair with useful visual and regression evidence, awaiting the experiment’s declared behavioral validation.
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 cached chat or dashboard header moves when its session menu becomes available after reload.
Reason: The maintainer-authored direction implements the documented layout-stability contract with a small CSS repair and no new configuration or persistence.

Merge readiness

✅ Ready for maintainer review

Keep this PR open as a useful, explicitly paused experiment. The focused patch addresses a remaining header shift on current main; no introduced correctness or security defect was found.

Priority: P2
Reviewed head: 645b7e409ab70253f31d2e42f94120dc6ce41b3d

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Complete the declared two-route controlled comparison and applicable real-Gateway layout-shift checks; the supplied screenshots and mocked-Gateway regression do not establish those results.
Agent review details

How this fits together

The Control UI header combines cached conversation identity with live session actions; its stylesheet determines geometry while existing session owners determine menu availability.

flowchart LR
  A[Cached conversation] --> B[Desktop header]
  C[Live session descriptor] --> D[Existing session menu]
  D --> B
  E[Shared button size] --> F[Reserved menu slot]
  F --> B
Loading

Technical review

Best possible solution:

Keep the existing header and menu owners, reserving the trigger’s dimensions entirely in their shared desktop stylesheet.

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

Source confirms that the desktop container has no reserved width before the live menu arrives, matching the supplied current-main measurements and reported baseline regression failures; no target code was executed during review.

Is this the best way to solve the issue?

The patch is the smallest complete repair: reserve the existing container, reuse the button size, and extend the existing two-route geometry regression without adding runtime state or changing menu authorization.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Pinned introduced patch: The production change adds minimum dimensions to the existing desktop identity-actions container and shares the existing 32 px button width through a CSS variable. (ui/src/styles/chat/startup-layout.css:428, 645b7e409ab7)
  • Current-main behavior: The affected stylesheet and reload test are unchanged between the merge base and fetched main, so main still lacks this reservation. (ui/src/styles/chat/startup-layout.css:425, c2bbb1059f85)
  • Focused regression: The existing chat/dashboard reload cases now exclude the archived descriptor from the cached roster, assert that the trigger arrives later, and compare header geometry across connection states; the body reports baseline failures and candidate passes. (ui/src/e2e/chat-header-connection.e2e.test.ts:110, 645b7e409ab7)
  • Inspected visual evidence: All four downloaded screenshots were inspected: baseline cached chat/dashboard frames omit the menu, and candidate connected frames show it with preserved surrounding layout; static images do not establish the complete reload trajectory or performance comparison. (645b7e409ab7)
  • Explicit experiment pause: The current body declares the controlled baseline/candidate comparison pending, calls the experiment unready to merge, and retains the draft and do-not-merge title. (645b7e409ab7)
  • Earlier repair leaves this work distinct: perf(control-ui): admit the cached chat pane with its first mount on warm reloads #189760 fixes cached breadcrumb and archived-footer admission but explicitly leaves the independent 32 px session-menu step. (f6ef3f8df005)

Likely related people:

  • Peter Steinberger: Raw commit f075c11 adds ui/src/styles/chat/startup-layout.css:418 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: f075c11a9fce; files: ui/src/styles/chat/startup-layout.css)
  • Vyctor H. Brzezowski: Raw commit fb0ad93 adds ui/src/styles/chat/startup-layout.css:397 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: fb0ad93d0143; files: ui/src/styles/chat/startup-layout.css)

PR surface

Source +5, Tests +13, Other +2. Total +20 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 7 2 +5
Tests 1 13 0 +13
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 3 22 2 +20

Labels

Label changes:

No label changes.

Label justifications:

  • P2: A bounded desktop reload-layout defect has a focused repair and does not block using the conversation.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

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 November 1, 2026, 1:28 AM ET / 05:28 UTC.

@steipete steipete changed the title experiment(control-ui): reserve the header menu slot [do not merge] perf(control-ui): keep the session header steady during reload Nov 1, 2026
@steipete
steipete marked this pull request as ready for review November 1, 2026 05:31
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 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-11-01T05:43:56.373798Z dd0cd0f 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
steipete force-pushed the steipete/coldload-header-identity-hydration branch from 645b7e4 to dd0cd0f Compare November 1, 2026 05:42
@steipete
steipete merged commit 514527e into main Nov 1, 2026
102 of 105 checks passed
@steipete
steipete deleted the steipete/coldload-header-identity-hydration branch November 1, 2026 09:24
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 2, 2026
…aw#190096)

The desktop chat header now reserves the session menu's 32 px hit area before the session descriptor and connection arrive. Previously the trigger was hidden while disconnected and inserted around 700-870 ms into a warm reload, pushing the header trailing controls sideways by 32 px; offline panes now keep the same header geometry as connected ones.

The header icon size is a single custom property shared by the icon buttons and the reserved slot. The native two-route reload regression now covers an archived descriptor outside the bounded cached roster.

Proof: 11 interleaved AWS pairs per route plus A/A: header movement 32 to 0 px, stable in 11/11 on chat and dashboard, snapshot bytes unchanged, CLS improved, other timings within A/A. Runtime +5 LOC (CSS). The one red PR check is an unrelated Bun-shard timing poll in chat-effort-picker.browser.test.tsx that passes in isolation on the exact head and on main's identical shard plan.
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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS 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