Repository navigation
chore(ui): account for route byte costs after paydown - #199256
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Chat and New Session have exceeded their absolute JavaScript caps on main. Scheduled main builds compare identical inputs and pass with a zero delta, but every later PR adding more than the 64 B variance allowance fails. The existing debt is blocking #199136's independently measured WebKit boot improvement.
User Impact
Account for the measured route-byte debt after paying down unnecessary boot copy. New work remains responsible for its own growth. This changes only two caps; it does not change runtime behavior.
Why This Change Was Made
The remainder is coordinator-accepted feature cost after paydown, not a claim of new approval from Peter. Keep the shipped features and set Chat and New Session to the exact current-main measurements with zero headroom, following the earlier total-CSS accounting in #196356.
Paydown #199196 keeps session-management English out of command boot, saving 3,934 B on Chat and 4,074 B on New Session after refresh to main
b7bc6c410210(original base: 4,882 B / 4,879 B). Startup requests and bytes stay unchanged within 1 B build variance. The 100 ms RTT cold-Chat guard passes ten rotated base/head/A/A triplets.Measured feature owners
Frozen-lockfile, clean, same-machine parent/commit builds; normalized gzip. The measurement owners and normalizer did not change in the inspected range. These are historical gross deltas, not allocations of today's compressed remainder.
The inline-mention and palette changes were candidates, not the initial cap crossings. The last cap-setting main commit
65c2e61b164ebuilds to 1,302,392 B / 803,942 B on this machine. The five listed feature deltas total +11,447 B / +13,992 B. Other intervening main changes net +1,119 B / +481 B; that residual was not individually decomposed or represented as previously approved. The coordinator's current accounting instruction accepts the measured remainder after the paydown.Complete telescoping accounting to the paydown base
Starting main + listed features + other net = paydown base 1,314,958 B / 818,415 B exactly. Subtracting #199196 gives 1,310,076 B / 813,536 B on that base. Fresh post-merge main is measured separately above; no older value is used as the final cap.
Evidence
Fresh post-paydown main
5328b2754d84472b6c6e05fe80c2fc4513fd7e2ewas built once with its frozen dependencies. The runtime bundle is unchanged by this PR.Only
scripts/check-control-ui-performance.mtschanges: +4/−7 lines, 863→860 total. No new tests or runtime code. No remote lease. Other inherited size warnings remain unchanged and visible. The checker grants no general growth allowance when a base equals its cap. #199136 already carries a coordinator-accepted +235 B adjustment; its owner must reapply that increment to these refreshed caps and reconcile the 1 B Linux difference (+236 B). All other caps, startup baseline, tolerances and checker behavior remain unchanged. No visual change; no screenshot comparison applies.