Skip to content

Commit 10e7823

Browse files
committed
chore(console): the eager en catalogue's ceiling moves by the checklist's measured 203 bytes (#30206)
Build & E2E UI went red on cda63e7: i18n-locale-en measured 60,138 gzipped bytes against a 60,000 ceiling. A control build of the PR base (main 48b3ae6, with ui/apps/console, ui/packages/i18n and ui/e2e restored to it) measures 59,935, so this branch adds 203 bytes: the first-run checklist copy and the invalid_format sentences, net of the retired prompt keys. Trimming the new copy saves at most 122 bytes, less than the 138 over, so the ceiling and PER_CHUNK_BASELINE both move by exactly 203. Headroom stays at the 65 bytes main had. The aggregate ceiling and every other key are unchanged. Claude-Session: https://claude.ai/code/session_01L6bhgVwQZbHRRM9CaXeKif Co-authored-by: Claude <noreply@anthropic.com>
1 parent cda63e7 commit 10e7823

1 file changed

Lines changed: 46 additions & 2 deletions

File tree

‎ui/scripts/check-eager-closure-budget.mjs‎

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2226,7 +2226,45 @@ export const PER_CHUNK_GZIP_CEILINGS = Object.freeze({
22262226
//
22272227
// ⚠️ RAISED ×1.20 by objectui#12653 (2026-10-16), the maintainer's 20%
22282228
// ruling, from 50,000 (the entry on MAX_EAGER_CLOSURE_GZIP_BYTES).
2229-
'i18n-locale-en': 60_000,
2229+
//
2230+
// ⚠️ RAISED by objectstack#30206 (2026-11-05), the administrator's first-run
2231+
// checklist on Home, from 60,000 by exactly the measured +203 bytes, at the
2232+
// claim seat's direction once trimming the new copy was measured short of
2233+
// the overage.
2234+
//
2235+
// WHAT THE BYTES ARE: one container, one instrument, `CI=true pnpm exec
2236+
// vite build` in `apps/console`, reading `apps/console/dist/eager-closure.json`.
2237+
// The control is the PR's base, `main` at `48b3ae6e`: the same tree with
2238+
// `ui/apps/console`, `ui/packages/i18n` and `ui/e2e` restored to that commit,
2239+
// every other package identical. The branch is `cda63e74`. Gzipped bytes:
2240+
//
2241+
// | chunk | `48b3ae6e` | `cda63e74` | delta |
2242+
// |-----------------------|-----------:|-----------:|-------:|
2243+
// | `vendor-objectstack` | 601,485 | 601,485 | 0 |
2244+
// | `ui-components` | 319,512 | 319,508 | -4 |
2245+
// | `framework` | 83,794 | 83,794 | 0 |
2246+
// | `i18n-locale-en` | 59,935 | 60,138 | +203 |
2247+
// | ⇒ aggregate | 2,202,867 | 2,205,356 | +2,489 |
2248+
//
2249+
// Both builds have 104 eager chunks with the same names, except that the
2250+
// settings field module moved from a `SettingsField` chunk (4,009) to a
2251+
// `settingsFieldRefusals` one (4,549). Most of the aggregate's other bytes
2252+
// are the checklist itself, in `index` (+1,737).
2253+
//
2254+
// WHAT THEY BUY: the `console.firstRunChecklist.*` copy (six rows, their
2255+
// actions and saved lines) and the three `console.settingsView.invalidFormat*`
2256+
// sentences, net of the 14 retired `console.workspaceTimezonePrompt.*` keys.
2257+
// The checklist draws on Home for an administrator, so its copy belongs to
2258+
// the eager catalogue. Measured alternative: dropping the description, the
2259+
// timezone line's explanation, the saved lines and the shared button labels
2260+
// saves 122 bytes, short of the 138 over, and leaves the rows unexplained.
2261+
//
2262+
// Headroom stays at the 65 bytes `main` had over its own reading (60,000 -
2263+
// 59,935), and this ceiling minus the baseline below stays at 19,585, both
2264+
// moved by the same amount. ⛔ Not moved: the aggregate
2265+
// MAX_EAGER_CLOSURE_GZIP_BYTES (the branch passes it), BASELINE,
2266+
// REGRESSION_THIS_GATE_MUST_CATCH_BYTES and every other key.
2267+
'i18n-locale-en': 60_203,
22302268
// Raised by the maintainer ruling of 2026-09-08, ⛔ not by a measurement here:
22312269
// `main` had been red on this line since `f76f43628`. The bytes that put it
22322270
// there were UNATTRIBUTED when this moved and have since been measured to
@@ -2470,7 +2508,13 @@ export const PER_CHUNK_BASELINE = Object.freeze({
24702508
// BASELINE above, so the two are directly comparable, and the same instrument
24712509
// and container as the control build it is subtracted from. It supersedes
24722510
// objectui#8816's `ba20b0bc0` reading of the retired `i18n-locales` key.
2473-
'i18n-locale-en': 40_415,
2511+
//
2512+
// Moved with its ceiling by objectstack#30206 (2026-11-05), from 40,415 by
2513+
// the same measured +203 bytes (the table on that key of
2514+
// PER_CHUNK_GZIP_CEILINGS). ⚠️ So this is no longer one build's reading: it
2515+
// is the `755d34a5f` reading plus the checklist's measured delta, which keeps
2516+
// the ceiling-minus-baseline gap this key carried.
2517+
'i18n-locale-en': 40_618,
24742518
// `3f775eeb8`, its OWN console build — ⛔ not the one above it and not
24752519
// BASELINE's. Moved with the ceiling in the same commit, per the maintainer
24762520
// ruling of 2026-09-08 and the rule stated under "Raising one".

0 commit comments

Comments
 (0)