Skip to content

Commit 9a2794b

Browse files
committed
chore(ui): raise the eager ui-components ceiling by 8,000 bytes on maintainer ruling
Maintainer ruling 7063116595 (option B, 2026-11-21T13:12Z): raise PER_CHUNK_GZIP_CEILINGS['ui-components'] from 347,000 to 355,000 and move its PER_CHUNK_BASELINE row by the same +8,000 (265,937 -> 273,937), so the form line-item grid change can land. Rows from two console builds on one tree (main 78f7160 alone, and with that change's head fbbaaa9 merged) are in the comment on the key. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWSAwkSz6F3eit2Y9u
1 parent 78f7160 commit 9a2794b

1 file changed

Lines changed: 49 additions & 2 deletions

File tree

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

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2395,7 +2395,49 @@ export const PER_CHUNK_GZIP_CEILINGS = Object.freeze({
23952395
//
23962396
// ⚠️ RAISED ×1.20 by objectui#12653 (2026-10-16), the maintainer's 20%
23972397
// ruling, from 289,000 (the entry on MAX_EAGER_CLOSURE_GZIP_BYTES).
2398-
'ui-components': 347_000,
2398+
//
2399+
// ⚠️ RAISED (2026-11-21), from 347,000 by 8,000 bytes, ON EXPLICIT
2400+
// MAINTAINER RULING: objectstack#36023, comment 7063116595, option B on the
2401+
// seat's decision card, chosen 2026-11-21T13:12Z — 「放宽 8 KB 留余量」 (raise
2402+
// it by about 8 KB, with headroom). Its baseline below moved by the same
2403+
// amount in the same commit, which keeps the ceiling-minus-baseline gap this
2404+
// key carried (81,063), as objectstack#28124 did for `i18n-locale-en`.
2405+
// `main` sat 104 bytes under the old line, so S5 (objectstack#36039, the
2406+
// form's line-item grid) was ejected from the queue on it.
2407+
//
2408+
// WHAT THE BYTES ARE — one container, one instrument: `CI=true pnpm exec
2409+
// turbo run build --filter=@object-ui/console...`, reading
2410+
// `apps/console/dist/eager-closure.json`, twice on one tree: `main` at
2411+
// `78f7160e` alone, then the same `main` with objectstack#36039's head
2412+
// `fbbaaa99` merged in (`a31a993e`, local, not pushed). Gzipped bytes:
2413+
//
2414+
// | chunk | `78f7160e` | `a31a993e` | delta |
2415+
// |-----------------------|-----------:|-----------:|------:|
2416+
// | `vendor-objectstack` | 671,638 | 671,638 | 0 |
2417+
// | `i18n-locale-en` | 65,749 | 65,749 | 0 |
2418+
// | `framework` | 88,339 | 88,339 | 0 |
2419+
// | `ui-components` | 346,896 | 349,448 | +2,552 |
2420+
// | ⇒ aggregate | 2,028,610 | 2,031,144 | +2,534 |
2421+
//
2422+
// The same 104 eager chunks by name in both builds; besides this one, only
2423+
// `src` moved by more than 4 bytes (+19). Raw minified bytes of this chunk:
2424+
// 1,292,123 -> 1,299,070 (+6,947).
2425+
//
2426+
// WHAT THEY BUY: the +2,552 are the line-item grid's in-cell option and date
2427+
// panels (`GridSelectCell`, `GridDateCell`) and its pop-out text input
2428+
// (`GrowingCellInput`), so a form's line items edit in the cell the way a
2429+
// list grid does (objectstack#36023 S5). The other ~5.4 KB are SHARED
2430+
// headroom (355,000 − 349,448 = 5,552 once S5 lands) so the next form-field
2431+
// PR does not bounce at once, ⛔ not a budget for a new component group. They
2432+
// come back down when the follow-up card the ruling names takes GridField
2433+
// out of the eager chunk (it is `import()`ed but also statically exported,
2434+
// `packages/fields/src/index.tsx`): re-measure then and lower both numbers
2435+
// together. ⛔ Not moved: MAX_EAGER_CLOSURE_GZIP_BYTES (it passes on both
2436+
// builds), BASELINE, REGRESSION_THIS_GATE_MUST_CATCH_BYTES and the other
2437+
// per-chunk rows. No exemption was added and no import was made lazy. The
2438+
// headroom `pnpm check:eager-closure` prints on YOUR build is the figure in
2439+
// force, ⛔ not this one.
2440+
'ui-components': 355_000,
23992441
});
24002442

24012443
/**
@@ -2606,7 +2648,12 @@ export const PER_CHUNK_BASELINE = Object.freeze({
26062648
// objectui#10996 re-pinned the aggregate onto `main` — comparable with that
26072649
// retired reading, ⛔ not with the one above — and the same instrument and
26082650
// container as the control build it is subtracted from (objectui#9251).
2609-
'ui-components': 265_937,
2651+
//
2652+
// Moved with its ceiling (2026-11-21, ruling 7063116595 on objectstack#36023),
2653+
// from 265,937 by the same +8,000 bytes (the entry on that key of
2654+
// PER_CHUNK_GZIP_CEILINGS), which keeps the ceiling-minus-baseline gap this
2655+
// key carried. ⚠️ So this is no longer one build's reading.
2656+
'ui-components': 273_937,
26102657
});
26112658

26122659
/**

0 commit comments

Comments
 (0)