Skip to content

Commit 0e7c5b7

Browse files
committed
chore(ui): raise the eager ui-components ceiling x1.30 to 451,100 on maintainer ruling
Ruling 7063869131 (2026-11-21T14:01Z, amends point 2 of 7063116595): PER_CHUNK_GZIP_CEILINGS['ui-components'] 355,000 -> 451,100 (347,000 x 1.30), and its PER_CHUNK_BASELINE row back to its measurement, 265,937, as the 30% and 20% rulings left theirs. Rows from two console builds on one tree are in the comment on the key. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWSAwkSz6F3eit2Y9u
1 parent 1586dde commit 0e7c5b7

1 file changed

Lines changed: 59 additions & 2 deletions

File tree

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

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2437,7 +2437,59 @@ export const PER_CHUNK_GZIP_CEILINGS = Object.freeze({
24372437
// per-chunk rows. No exemption was added and no import was made lazy. The
24382438
// headroom `pnpm check:eager-closure` prints on YOUR build is the figure in
24392439
// force, ⛔ not this one.
2440-
'ui-components': 355_000,
2440+
//
2441+
// ⚠️ RAISED ×1.30 (2026-11-21), from 347,000 to 451,100, ON EXPLICIT
2442+
// MAINTAINER RULING, ⛔ not by a measurement here. It replaces the +8,000
2443+
// above (objectstack#36100) within the hour: the maintainer, verbatim,
2444+
// 2026-11-21T14:01Z, on that change's thread: 「这个可以大幅放宽」 (this can be
2445+
// raised by a lot), then the 30% option on the decision card that followed,
2446+
// recorded on objectstack#36023 as comment 7063869131. The factor applies to
2447+
// the ceiling that ruling 7063116595 started from, 347,000. ⛔ Rounded
2448+
// nowhere: 347,000 × 1.30 is 451,100 exactly.
2449+
//
2450+
// HEADROOM — one container, one instrument: `CI=true pnpm exec turbo run
2451+
// build --filter=@object-ui/console...`, reading
2452+
// `apps/console/dist/eager-closure.json`, twice on one tree: `main` at
2453+
// `1586ddec` (objectstack#36100 landed) alone, then the same `main` with
2454+
// objectstack#36039's head `fbbaaa99` merged in (`034f0628`, local, not
2455+
// pushed). This file is not a console build input, so the branch builds the
2456+
// same bytes as `main`. Gzipped bytes:
2457+
//
2458+
// | chunk | `1586ddec` | `034f0628` | delta |
2459+
// |-----------------------|-----------:|-----------:|-------:|
2460+
// | `vendor-objectstack` | 671,638 | 671,638 | 0 |
2461+
// | `i18n-locale-en` | 65,900 | 65,900 | 0 |
2462+
// | `framework` | 88,341 | 88,341 | 0 |
2463+
// | `ui-components` | 347,621 | 350,177 | +2,556 |
2464+
// | ⇒ aggregate | 2,030,013 | 2,032,544 | +2,531 |
2465+
//
2466+
// The same 104 eager chunks by name in both builds; besides this one, none
2467+
// moved by more than 21 bytes. Under 451,100 this chunk has 103,479 bytes
2468+
// of headroom on `main` and 100,923 once S5 lands (0.14x
2469+
// REGRESSION_THIS_GATE_MUST_CATCH_BYTES); under 355,000 it had 7,379 and
2470+
// 4,823. The headroom `pnpm check:eager-closure` prints on YOUR build is the
2471+
// figure in force, ⛔ not this one.
2472+
//
2473+
// WHAT THE BYTES BUY: SHARED headroom, so form and field PRs stop being
2474+
// ejected from the queue on this line one at a time, ⛔ not a budget for a
2475+
// new component group: a whole group still belongs behind a lazy boundary.
2476+
// ⭐ PAYBACK: objectstack#36102 takes GridField out of the eager chunk (it is
2477+
// `import()`ed but also statically exported, `packages/fields/src/index.tsx`);
2478+
// re-measure when it lands.
2479+
//
2480+
// WHAT MOVED WITH IT, read from "Raising one" above and the two constraints
2481+
// it names as checked: this ceiling passes on its baseline below, and
2482+
// 451,100 − 265,937 = 185,163 bytes stays under
2483+
// REGRESSION_THIS_GATE_MUST_CATCH_BYTES (695 × 1024 = 711,680). Both hold
2484+
// with the baseline at its measurement, so the baseline below goes BACK to
2485+
// 265,937: the +8,000 objectstack#36100 gave it only kept the
2486+
// ceiling-minus-baseline gap, which a ruled raise deliberately widens, as
2487+
// the 30% ruling on `i18n-locale-en` (2026-11-17) and the 20% ruling
2488+
// (objectui#12653) left their PER_CHUNK_BASELINE rows alone. ⛔ Not moved
2489+
// either: MAX_EAGER_CLOSURE_GZIP_BYTES (it passes on both builds), BASELINE,
2490+
// REGRESSION_THIS_GATE_MUST_CATCH_BYTES and the other per-chunk rows. No
2491+
// exemption was added and no import was made lazy.
2492+
'ui-components': 451_100,
24412493
});
24422494

24432495
/**
@@ -2653,7 +2705,12 @@ export const PER_CHUNK_BASELINE = Object.freeze({
26532705
// from 265,937 by the same +8,000 bytes (the entry on that key of
26542706
// PER_CHUNK_GZIP_CEILINGS), which keeps the ceiling-minus-baseline gap this
26552707
// key carried. ⚠️ So this is no longer one build's reading.
2656-
'ui-components': 273_937,
2708+
//
2709+
// ⭐ Moved BACK to that reading, 265,937, by the ×1.30 raise on its ceiling
2710+
// (2026-11-21, ruling 7063869131 on objectstack#36023): a ruled raise widens
2711+
// the gap rather than keeping it (the entry on that key of
2712+
// PER_CHUNK_GZIP_CEILINGS), so this is again `bbf6b02d9`'s reading.
2713+
'ui-components': 265_937,
26572714
});
26582715

26592716
/**

0 commit comments

Comments
 (0)