fix(ui): restore startup JS budget headroom for sandbox diagnostics#111928
Merged
Conversation
steipete
marked this pull request as ready for review
July 20, 2026 17:45
Contributor
Author
|
Merged via squash.
|
This was referenced Jul 20, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 21, 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
Source builds of current main fail deterministically on machines whose zlib packs slightly worse than CI's:
pnpm buildreports "startup JS gzip: 312.1 KiB exceeds 312.0 KiB" (reproduced twice on the team.openclaw.ai deployment host after #111909 landed). Main sat within ~0.1 KiB of the ceiling, so the budget passes or fails on compression variance rather than on an intentional loading decision.Why This Change Was Made
The startup catalog grew by the widget sandbox-origin diagnostic strings (#111909), consuming the last of the previous ratchet's headroom. Per the file's own convention, budget changes accompany an intentional decision: 313 KiB restores explicit headroom for that feature and is documented in place, following the same pattern as the prior live-narration bump.
User Impact
pnpm buildsucceeds again on source checkouts regardless of local zlib packing; no runtime behavior changes.Evidence
pnpm buildruns on the deployment host at bf6961d failed with the identical 312.1 vs 312.0 violation; CI's build lane passed the same commits, demonstrating environment-dependent gzip variance at the cliff.