Repository navigation
fix(ui): restore startup budget after cloud worker settings growth - #138472
vincentkoc wants to merge 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Co-authored-by: Ayaan Zaidi <[email protected]>
8fd554d to
9a3c63f
Compare
|
@clawsweeper re-review The completed sweep review for exact head |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review The prior exact-review run deferred because the old same-head lease had eight seconds remaining. That lease expired at |
|
🦞👀 Re-review progress:
|
|
Closing as superseded by #138490, landed as Current This replacement preserved credit for Ayaan Zaidi ( |
Related: #121497
Supersedes #138461. GitHub reports that contributor branch as uneditable by maintainers, and its exact head fails
check-lintbecause one touched page is not formatted. This replacement preserves the contributor's behavior and credit, with only the required formatter correction.Additional instructions
This same-repository branch is available for maintainer edits.
What Problem This Solves
Resolves a problem where operators opening New Session or Chat download Cloud Workers settings copy even though that page has not been opened. The accumulated startup JavaScript exceeds the committed performance allowance and blocks unrelated changes.
Why This Change Was Made
Move the unchanged page-only English namespace into the existing lazy Settings catalog and register it synchronously when the Cloud Workers page loads. Keep the empty startup anchor so the complete translation catalog retains its source order.
No budget, baseline, dependency, configuration, schema, CSS, cloud provisioning, permission, credential, or persistence behavior changes.
User Impact
New Session and Chat download less startup JavaScript. Cloud Workers settings retain the same labels, localized translations, English fallback, validation messages, and behavior.
Evidence
control-ui-performancecheck passes.oxfmtoutput in the touched page.mainand verifies direct English registration plus localized fallback.Before:
After:
Contributor: @obviyus. The landed commit preserves co-author credit.