You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1586dde
Browse filesBrowse the repository at this point in the historyBrowse files
chore(ui): raise the eager ui-components ceiling by 8,000 bytes on maintainer ruling (#36100)
<!-- claude-projects-attribution: {"github_login":"os-sales"} -->
_Requested by **Sales** · [project
thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuWrubarDyy1TAMVqK1ZWbAY)_
repo:objectstack#1 · os-sales · session_01L6bhgWSAwkSz6F3eit2Y9u
Refs #36023
Area: b1-L · budget-only, no card of its own. **Authorisation:
maintainer ruling 7063116595 on #36023** (option B on the seat's
decision card, chosen 2026-11-21T13:12Z: raise the eager `ui-components`
budget by about 8 KB, with headroom, in its own budget-only PR).
## What changes
One file, `ui/scripts/check-eager-closure-budget.mjs`, constants and
their comments only:
| constant | before | after |
|---|---:|---:|
| `PER_CHUNK_GZIP_CEILINGS['ui-components']` | 347,000 | 355,000 |
| `PER_CHUNK_BASELINE['ui-components']` | 265,937 | 273,937 |
The ceiling and its baseline move together by the same +8,000, which
keeps the ceiling-minus-baseline gap (81,063) the way objectstack#28124
did for `i18n-locale-en`. A dated "⚠️ RAISED ... ON EXPLICIT MAINTAINER
RULING" entry on the key carries the rows below and what the bytes buy.
No code change, #36039 is not touched, no exemption added, no import
made lazy. Not moved: `MAX_EAGER_CLOSURE_GZIP_BYTES`, `BASELINE`,
`REGRESSION_THIS_GATE_MUST_CATCH_BYTES`, the other three per-chunk rows.
## Why
`main` sits 104 bytes under the old line, so S5 #36039 (the form's
line-item grid cells) is ejected from the merge queue on it, and so
would the next form-field PR be.
### The rows (one container, one instrument)
`CI=true pnpm exec turbo run build --filter=@object-ui/console...`,
reading `apps/console/dist/eager-closure.json`, twice on one tree:
`main` at `78f7160e` alone, then that `main` with #36039's head
`fbbaaa99` merged in (`a31a993e`, local, not pushed). Gzipped bytes:
| chunk | `78f7160e` | `a31a993e` | delta |
|---|---:|---:|---:|
| `vendor-objectstack` | 671,638 | 671,638 | 0 |
| `i18n-locale-en` | 65,749 | 65,749 | 0 |
| `framework` | 88,339 | 88,339 | 0 |
| `ui-components` | 346,896 | 349,448 | **+2,552** |
| aggregate | 2,028,610 | 2,031,144 | +2,534 |
The same 104 eager chunks by name in both builds; besides
`ui-components` only `src` moved by more than 4 bytes (+19). Raw
minified `ui-components`: 1,292,123 -> 1,299,070 (+6,947). (The S5
thread measured +2,679 on an older main, `7ba22bb6`; `main` has since
drifted +5.4 KB in this chunk, which is why it now sits 104 bytes under
the line on its own.)
### What the bytes buy
- +2,552: the line-item grid's in-cell option and date panels
(`GridSelectCell`, `GridDateCell`) and its pop-out text input
(`GrowingCellInput`), so a form's line items edit in the cell as a list
grid does.
- About 5.4 KB of shared headroom once S5 lands (355,000 − 349,448 =
5,552), so the next form-field PR does not bounce at once. Not a budget
for a new component group. Per the ruling, a follow-up card takes
GridField out of the eager chunk (it is `import()`ed but also statically
exported from `packages/fields/src/index.tsx`), after which both numbers
come back down together.
## Verification
Clause-②: no
Metadata-protocol: none
- `pnpm --dir ui run check:eager-closure` on the merged tree (`a31a993e`
build, this branch's constants): exit 0; `ui-components` 341.3 KB /
346.7 KB ceiling, headroom 5.4 KB; aggregate, membership and sensitivity
halves all ✅.
- `pnpm --dir ui exec vitest run
scripts/__tests__/check-eager-closure-budget.test.ts`: 174/174 passed
(ceiling > baseline, gap < 695 KiB).
- `node scripts/pm/check-governed-merges.mjs --branch HEAD`: NOT
governed, ordinary queue landing.
- `dispatch-gates.mjs --commands` (16 commands for this file list), each
`:: exit 0`: check-closing-keyword-parity (+ `--self-test`),
check-comment-mask-corpus, `pnpm --dir ui exec vitest run scripts/`,
check:adr-anchors, check:driver-memory-census, check:gitlink-declared,
check:nul-bytes, check:pm-expected-skips, check:published-files,
check:refd-timer-probe, check:registry-log-declared,
check:rest-log-spy-declared, check:tier-file-adoption,
check:undeclared-dep-imports, check:watch-hint-literal.
- `skip-changeset`: the only file is under `ui/scripts/`, owned by the
private root package `object-ui-monorepo`, so the diff publishes nothing
from any released package (AGENTS.md Post-Task Checklist step 3).
Branch is the harness-assigned `claude/project-thread-usk9vf`, not
`claude/issue-<n>-…` (no card of its own).
## Human Minimum
- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(not touched)
- [x] 2. Every name I added uses the casing for its kind. (no names
added)
- [x] 3. No formatter ran; `pnpm lint` passes. (`eslint` on the one
file: exit 0; comment and constant edits only)
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset. (publishes
nothing: `skip-changeset`)
- [x] 6. `packages/spec` touched: its generated artifacts are
regenerated and committed. (not touched)
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English.
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01L6bhgWSAwkSz6F3eit2Y9u
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments