Skip to content

perf(ui): avoid Chat downloads for New Session plugins - #179367

Merged
steipete merged 4 commits into
mainfrom
solid2/w-coldload-waterfall
Oct 21, 2026
Merged

steipete merged 4 commits into
mainfrom
solid2/w-coldload-waterfall

Conversation

@steipete

@steipete steipete commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Gateway-advertised plugin contributions on New Session can download the Chat renderer and its styles, even though that route does not show a transcript. Their shared action helper was assigned to the Chat boot group.

User Impact

The build now assigns that helper to the existing shared boot group. Plugin initialization can use it without pulling in Chat or adding a separate request. Host tags, selectors, plugin behavior, and lazy feature boundaries stay intact. No configuration or migration is required.

Why This Change Was Made

The helper's only runtime dependency is already shared; its other imports are type-only. Reusing that group is smaller than adding another runtime chunk. The accepted cost is a small amount of helper code in New Session's existing shared request even when no plugin is advertised.

The existing cold-load benchmark now supports /new, records request initiators and RPC timings, and separates enabled-composer readiness from automatic focus. Its regression fixture verifies the emitted plugin import closure stays outside Chat and startup. Setting the fixture's chunk-size floor to zero makes its small virtual modules exercise grouping.

Evidence

Baseline: 390d7993abd2878426b159b8016b4fef34700b62. Final head: 5f20b27dc3cdc1858fc26c21a8f965167d483edb. The previous dedicated-chunk revision crossed Chat's cap in run 39592031196: 1,499,876 → 1,500,213 gzip bytes and 25 → 26 requests. This revision removes that extra chunk; no budget is raised.

Gzip metric Baseline Revised candidate
Startup JavaScript 331,062 B 331,027 B
Startup CSS 40,439 B 40,439 B
Startup JS / CSS requests 8 / 1 8 / 1
Chat boot JavaScript 1,499,880 B 1,499,860 B
Chat boot JS requests 25 25
New Session boot JavaScript 1,017,524 B 1,017,887 B
New Session boot JS requests 20 20

Startup total drops from 371,501 to 371,466 gzip bytes, within the migration's 374,285-byte budget with one CSS request. The strict check reports only the existing tighter startup-JS ceiling (325,476 B) on both sides. Chat fits its 1,500,000-byte cap. Both builds use identical release metadata and the same source baseline. Build cache use differs only in artifact reuse/publication; no build-time comparison is claimed.

Proof Current result
pnpm ui:build, both sides Pass
Strict performance check, both sides Existing startup-JS ceiling only; candidate is 35 B smaller
pnpm tsgo:ui; pnpm tsgo:scripts Pass
pnpm test ui/src/app/control-ui-chunking.test.ts --maxWorkers=1 6 passed
Independent Codex review No actionable P0–P2 findings
pnpm deadcode:knip Pass
Fresh timing campaign 40 completed untraced navigations; ten alternating-order pairs per route, no discarded/repeated sample
Full PR CI 39599760544: success; 47 jobs passed, 23 skipped; all UI unit, nine UI E2E and both real-Gateway shards passed

Timing protocol: real Gateway HTTP documents/assets, synthetic bootstrap/WebSocket replies/media, warmed Gateway caches, fresh Chromium and disabled browser HTTP cache, 35 ms network latency, 10 Mbps downstream, 4× CPU slowdown, fixed fixture time, 1719×1179 viewport. Four separate source-mapped profiled captures are excluded from timing distributions. DOM visibility is not compositor paint. p95 is nearest-rank (the maximum at n=10). The one-minute host load ranged 149.3–192.6. All four diagnostic captures contain inspected synthetic data; no remote compute lease was used.

Measured distributions

The stable win is removing New Session's late Chat download. Its last asset finishes 602 ms earlier at the median (paired median −650 ms). Its composer median is 50 ms slower and p95 438 ms slower (+16.4%); automatic-focus p95 is 452 ms slower. These regressions are retained and accepted for the measured download reduction; no New Session readiness improvement is claimed. Plugin loading begins around 2.72 s, after the composer is enabled around 2.4 s. The small shared helper adds 363 gzip bytes to the existing New Session boot payload even without advertised plugins.

Chat makes the same 50 asset requests, transferring 80 fewer Brotli bytes. Its timing distributions improve, with lower median host load on candidate samples. The loaded behavior and request count are unchanged, so no causal Chat latency win is claimed. Chat does not automatically focus its composer in either variant. Document size is identical per route and this PR changes no Gateway serving code; TTFB differences are observations, not a compression improvement claim.

Route Asset requests Brotli body bytes
New Session 42 → 29 1,628,682 → 1,047,331 (−581,351 / 35.7%)
Chat 50 → 50 1,559,425 → 1,559,345
Route / metric (ms) Base median / p95 (range) Candidate median / p95 (range) Paired median Δ
New: document TTFB 146.8 / 469.9 (9.9–469.9) 35.1 / 260.9 (13.0–260.9) -72.3
New: request → response 26.8 / 309.2 (5.3–309.2) 13.9 / 49.7 (4.7–49.7) -9.0
New: enabled composer 2,402.9 / 2,676.5 (2,121.9–2,676.5) 2,452.5 / 3,114.9 (1,972.4–3,114.9) +100.5
New: automatic focus 2,383.5 / 2,653.7 (2,101.4–2,653.7) 2,445.1 / 3,105.2 (1,954.0–3,105.2) +105.7
New: last asset 3,501.9 / 4,041.9 (2,869.5–4,041.9) 2,900.2 / 3,793.5 (2,404.1–3,793.5) -650.5
Chat: document TTFB 86.3 / 304.1 (17.1–304.1) 43.3 / 280.9 (8.4–280.9) -14.1
Chat: request → response 10.6 / 298.9 (4.6–298.9) 6.1 / 31.7 (4.6–31.7) -2.6
Chat: enabled composer 3,232.4 / 4,013.7 (2,645.4–4,013.7) 2,980.3 / 3,581.0 (2,651.4–3,581.0) -46.9
Chat: transcript DOM visibility 6,410.7 / 7,630.7 (5,418.1–7,630.7) 5,910.1 / 6,720.6 (5,395.6–6,720.6) -392.5
Chat: last asset 6,421.5 / 7,637.2 (5,435.6–7,637.2) 5,927.3 / 6,727.8 (5,411.5–6,727.8) -379.6

Representative command (one fresh-browser sample; alternate base/head order for each pair and use new/chat separately):

NODE_DISABLE_COMPILE_CACHE=1 node --import ./scripts/tsx.mjs scripts/bench-control-ui-cold-load.ts \
  --bundle-dir <bundle> --gateway-url http://127.0.0.1:<isolated-port> \
  --first-load --runs 1 --boot-route new --cold-http-cache --face chat \
  --fixture-now-ms 1792560000000 --network-latency-ms 35 --download-kbps 10000 \
  --cpu-throttle 4 --capture-ms 10000 --untraced --output <proof-dir>

Request-chain map

The Gateway activates only the requested route's emitted hints. HTML discovery starts initial and explicit-route preload requests together. Boot execution starts configuration retrieval and route warmup alongside connection startup. The sampled median stages below come from the actual emitted preload paths, request waterfall and RPC marks; a row's median is independent of adjacent rows.

Stage (ms from navigation) New base New candidate Chat base Chat candidate
Document response 147 35 86 43
First asset request 219 203 220 152
Preloaded graph complete 1,536 1,543 2,144 1,999
Connect request 1,833 1,980 1,890 1,715
Connect response 1,883 2,030 1,939 1,776
Subscription acknowledgment — — 3,472 3,667
chat.startup request — — 4,856 4,667
chat.startup response — — 5,355 5,048
Advertised plugin loader starts 2,717 2,719 2,589 2,592
Plugin loader closure complete 2,962 2,900 2,855 2,827
Last font-load event 2,573 2,697 3,268 3,247

Chat's subscription/cursor admission before chat.startup protects event consistency. New Session's plain route has no unconditional loader RPC. The defect was the later plugin descriptor response → plugin loader → Chat boot closure edge; it now reaches the existing shared helper without importing Chat. Conditional libraries and plugin descriptors remain lazy.

Separate source-mapped profiled filmstrips bound the inspected transition: New base skeleton 7,180.3 → composer visible 7,358.7 ms; candidate 5,394.3 → 5,523.0 ms. Chat base skeleton 6,529.2 → transcript visible 6,746.8 ms; candidate 7,823.8 → 8,033.2 ms. These are diagnostic frame bounds, not comparative timing samples or physical-display timestamps. The four CPU profiles map 97.3–98.8% of sampled asset frames; their render/sidebar stacks remain with the UI owners.

Critical path and compression decisions

The document already starts the initial graph and unconditional route module/CSS preloads in parallel. Application boot starts configuration retrieval and explicit route warmup before connecting. Chat's connect → subscription acknowledgment → retained-snapshot admission → chat.startup → history publication/layout chain preserves event/cursor correctness; raw speculative boot RPCs would bypass that owner. Plain New Session has no unconditional data-loader RPC. JSON5, detail panels, Canvas, and advertised plugin assets remain conditional.

There is one initial stylesheet. A selected nondefault palette deliberately blocks to avoid a wrong-theme flash. Fonts use font-display: swap. A separate early-font experiment did not consistently improve tails, so it is not shipped.

Keep build-time compression plus the existing cache. Immutable assets already ship Brotli q9 and canonical gzip9 sidecars. Rewritten HTML uses q4/gzip6 and a bounded four-entry promise cache. Twelve interleaved representative compression rounds measured HTML q4 at 6,609 B and 0.776/3.087 ms median/p95, versus q9 at 6,145 B and 2.302/31.905 ms. Saving 464 B does not justify the tail. Sampled core JS q9 saves 11,891 B versus q4, with CPU paid at build time. Static index.html.br cannot represent route/base/bootstrap/CSP-specific rewriting. These are representative compression diagnostics, not final-head HTTP timings.

The unsupported --boot-route new --first-load --overlay-probe combination is rejected during argument validation, before browser artifacts. The earlier late failure was reproduced through the real benchmark entry point; supported Chat overlay probes are unaffected.

LOC across the four changed files: 2,788 → 2,889. Production chunk policy adds four lines; the remaining growth extends the requested benchmark, documentation, and existing regression fixture. No ui/src feature implementation changes.

The fresh before/after images below were inspected in full and contain synthetic fixture data only.

Before: New Session, synthetic fixture

After: New Session, synthetic fixture

Before: Chat, synthetic fixture

After: Chat, synthetic fixture

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 21, 2026
@clawsweeper

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 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-21T12:37:03.023050Z 5f20b27 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui scripts Repository scripts size: S labels Oct 21, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7a8f9c25ef

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/bench-control-ui-cold-load.ts Resolved
@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. clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 21, 2026
@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR separates plugin-action helpers from Chat bundles and extends the cold-load benchmark to measure New Session.

Example: Open New Session with seven advertised plugins in the synthetic team-scale workload.

  • Before: The reported capture loads 42 assets totaling 1,629,729 Brotli body bytes.
  • After: The reported capture loads 30 assets totaling 1,048,405 Brotli body bytes with the same page controls.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Strong supplied production-path evidence supports a useful minimal loading change, but two concrete benchmark defects require correction.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The supplied paired production-build runs exercise real Gateway HTTP and fresh Chromium on New Session and Chat with synthetic bootstrap/RPC fixtures; inspected before/after captures preserve both pages, and the follow-up changes only benchmark argument validation.
Patch quality 🦪 silver shellfish (2/6) 2 actionable review findings remain.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Opening an empty New Session downloads Chat rendering assets that the page does not use.
Reason: The maintainer-authored direction removes substantial unnecessary transfer with three chunk-policy lines and explicitly accepts the measured Chat cost.

Merge readiness

⛔ Needs changes before merge - 2 items remain

Keep this PR open: the loading improvement is useful and maintainer-directed, but two benchmark defects remain after the earlier overlay-validation fix.

Priority: P2
Reviewed head: 1e3eb5f40dac258f7e3ef9179344bbf20136aa72

Before merge

  • Wait for plugin activation before recording New Session totals (P2) - With --boot-route new --first-load --runs 1 and a slow supported --download-kbps value, the composer can be enabled and RPCs quiet for 750 ms while control-ui-loader or its plugin assets are still downloading. __coldLoad.pending and queued track WebSocket activity, not those HTTP requests. This return bypasses Chat's plugin-navigation wait, and the immediately collected Resource Timing waterfall omits unfinished resources, understating bytes and last-asset completion. Wait for all seven fixture plugin registrations or the completed activation report before collecting metrics. This concern was equally visible in the unchanged settlement block at the earlier reviewed head 7a8f9c2 and was missed in that review.
  • Reject dashboard paint probes for New Session (P2) - The invocation --boot-route new --first-load --runs 1 --dashboard-paint-marker passes this validation with the default traced dashboard settings. New Session never renders the fixture board containing the marker, so the later filmstrip check always throws "Filmstrip never captured the synthetic dashboard paint marker" after measurement and artifact creation. Reject dashboard-paint-marker here alongside the other unsupported Chat phases so this invocation fails before starting the browser.

Findings

  • [P2] Wait for plugin activation before recording New Session totals — scripts/bench-control-ui-cold-load.ts:880-885
  • [P2] Reject dashboard paint probes for New Session — scripts/bench-control-ui-cold-load.ts:336-341

Tests

  • Missing end-to-end proof: The added chunk regression is reported green, but an explicit failing run on the base is not supplied.
Agent review details

How this fits together

The Control UI build assigns modules to chunks that the Gateway serves to browsers; plugin initialization and route imports determine which chunks a navigation downloads.

flowchart TD
  A[UI source modules] --> B[Chunk policy]
  B --> C[Production assets]
  C --> D[Gateway HTTP]
  D --> E[New Session browser]
  E --> F[Plugin initialization]
  F --> G[Plugin action helper]
Loading

Technical review

Best possible solution:

Keep the existing chunk-owner fix, wait for plugin activation before recording New Session totals, and reject its unsupported dashboard paint probe.

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

Source inspection establishes both benchmark failure paths, and the supplied browser measurements establish the original overfetch; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The production change is the smallest fix using the existing chunk owner, and the emitted dependency-closure regression protects the intended loading boundary.

Full review comments:

  • [P2] Wait for plugin activation before recording New Session totals — scripts/bench-control-ui-cold-load.ts:880-885
    With --boot-route new --first-load --runs 1 and a slow supported --download-kbps value, the composer can be enabled and RPCs quiet for 750 ms while control-ui-loader or its plugin assets are still downloading. __coldLoad.pending and queued track WebSocket activity, not those HTTP requests. This return bypasses Chat's plugin-navigation wait, and the immediately collected Resource Timing waterfall omits unfinished resources, understating bytes and last-asset completion. Wait for all seven fixture plugin registrations or the completed activation report before collecting metrics. This concern was equally visible in the unchanged settlement block at the earlier reviewed head 7a8f9c2 and was missed in that review.
    Confidence: 0.98
    Late finding: first raised on code an earlier review cycle already covered.
  • [P2] Reject dashboard paint probes for New Session — scripts/bench-control-ui-cold-load.ts:336-341
    The invocation --boot-route new --first-load --runs 1 --dashboard-paint-marker passes this validation with the default traced dashboard settings. New Session never renders the fixture board containing the marker, so the later filmstrip check always throws "Filmstrip never captured the synthetic dashboard paint marker" after measurement and artifact creation. Reject dashboard-paint-marker here alongside the other unsupported Chat phases so this invocation fails before starting the browser.
    Confidence: 1

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm tsgo:scripts
  • Verify --boot-route new --first-load --runs 1 --dashboard-paint-marker exits during validation before browser artifact creation.
  • Run the benchmark with --boot-route new --first-load --runs 1 --download-kbps 1000 and confirm all seven plugins finish activation before resource totals are captured.
  • Verify the existing New Session overlay-probe rejection and ordinary Chat benchmark path still hold.
  • git diff --check

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 85082d9 adds ui/config/control-ui-chunking.ts:60 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 85082d969005; files: ui/config/control-ui-chunking.ts)
  • Vincent Koc: Raw commit 8bf4f7d adds ui/build/chunking.ts:2 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 8bf4f7d4a88d; files: ui/build/chunking.ts)

PR surface

Source +3, Tests +10, Docs +5, Other +77. Total +95 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 3 0 +3
Tests 1 12 2 +10
Docs 1 12 7 +5
Config 0 0 0 0
Generated 0 0 0 0
Other 1 93 16 +77
Total 4 120 25 +95

Review metrics

Metric Value Why it matters
Benchmark option 1 new flag: --boot-route chat|new Extends the existing measurement tool without adding a persisted product setting.

Labels

Label changes:

  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦞 diamond lobster and patch quality is 🦪 silver shellfish.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🦪 silver shellfish, so this older rating label is no longer current.

Label justifications:

  • P2: The PR reduces unnecessary New Session downloads; remaining defects affect benchmark completeness and argument handling.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦞 diamond lobster and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.

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-21T11:06:20.150Z sha 7a8f9c2 :: needs changes before merge. :: [P2] Reject overlay probes when benchmarking New Session

Reviewed October 21, 2026, 7:40 AM ET / 11:40 UTC (Revision 2).

@steipete
steipete marked this pull request as draft October 21, 2026 11:08
@steipete
steipete marked this pull request as ready for review October 21, 2026 11:26
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The sole actionable review finding is fixed in 1e3eb5f, with before/after benchmark-entry validation and a clean independent review. The PR body records the correction, unchanged 40-run performance inputs, and corrected full-CI trigger with ci:full already present.

@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Oct 21, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1e3eb5f40d

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +880 to +885
!state.pending &&
!state.queued &&
state.idleMs > 750
);
});
return;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wait for plugin activation before ending New Session runs

When --boot-route new --first-load is combined with a sufficiently low supported --download-kbps, this branch can finish after 750 ms of RPC quiet while the seven advertised plugins' JS/CSS assets are still loading. Those fetches are not represented by __coldLoad.pending, and unlike the Chat branch this path never waits for the final plugin navigation registration, so the immediately collected resource waterfall can omit in-flight assets and understate transfer size and last-asset timing—the measurements this route was added to capture. Wait for plugin activation/readiness before returning.

Useful? React with 👍 / 👎.

Comment on lines +336 to +341
bootRoute === "new" &&
(!firstLoad ||
values["live-events"] ||
values["session-switch"] ||
values["streaming-reply"] ||
values["overlay-probe"])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject dashboard paint probes on New Session

With --boot-route new --first-load --dashboard-paint-marker under the default traced, dashboard-face settings, validation accepts the invocation even though /new never renders the fixture board containing the marker. The later filmstrip check therefore always throws Filmstrip never captured the synthetic dashboard paint marker after completing the run; include this Chat/dashboard-only phase in the New Session rejection so the unsupported combination fails before producing artifacts.

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 21, 2026
@steipete steipete changed the title improve: load less code when opening New Session perf(ui): avoid Chat downloads for New Session plugins Oct 21, 2026
@steipete
steipete merged commit 690e0dd into main Oct 21, 2026
122 checks passed
@steipete
steipete deleted the solid2/w-coldload-waterfall branch October 21, 2026 13:30
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

roboclaw-bot added a commit that referenced this pull request Oct 21, 2026
Move Session English into its canonical lazy catalog and register it at
all translating consumers without changing copy or primary behavior.
Keep pending widget presentation lazy and use the canonical shared
plugin-actions grouping; regenerate the branch-specific boot manifest.

Adapt the source repair by Peter Steinberger from #179227 and #179367,
retaining the existing Details geometry and dashboard menu lifecycle.
Preserve startup and route budgets without changing their policies.

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 22, 2026
* perf(ui): avoid loading chat assets on New Session

* fix(scripts): reject New Session overlay cold-load probes

* perf(ui): share plugin actions without an extra boot request
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 ci:full Keep ordinary native-locale CI selection on the next PR run. docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: S status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant