Skip to content

finding: check:eager-closure’s framework chunk is down to 733 bytes of headroom (70,267 / 71,000) — measured on objectui#7685, not yet on main #8241

Description

@claude

check:eager-closure's framework per-chunk ceiling is 71_000 bytes. Measured on
objectui#7685's head f7c4d7855 (branch claude/issue-7122-spec-pin-17-3-0), the chunk
comes in at 70,267 bytes gzipped — 733 bytes of headroom, 0.01x the 91,136-byte
regression the gate exists to catch.

pnpm build           => exit 0, Tasks: 43 successful, 43 total
pnpm check:eager-closure => exit 0
  ✅ chunk `framework`  68.6 KB measured / 69.3 KB ceiling (headroom 0.7 KB = 0.01x …)

The gate is green — this is not a failure report. It is that the margin is now smaller
than a single ordinary import, so the next change that adds a kilobyte anywhere in that
chunk turns a gate red for a reason unrelated to what that change did.

The trend, measured across two heads of the same branch

head framework gzip headroom under the 71,000 ceiling
7be4b2456 (objectui#7685 §7a) 67,937 3,063
f7c4d7855 (after merging main bdb4dbd58) 70,267 733

The 2,330-byte growth arrived with 40 commits of main, not with anything that branch
authored — the same merge left vendor-objectstack within 65 bytes and returned 2,015
bytes on ui-components.

⚠️ What is NOT measured here, and it is the half that decides the severity

Whether main alone is already at this margin has not been measured. The reading above
is of a branch tree that also carries a @objectstack/spec 17.3.0 lockfile pin. That pin's
weight lands in vendor-objectstack rather than framework, which is the reason to suspect
main is at or near 70,267 on its own — but suspecting is not measuring, and this issue
does not claim it. Someone should run pnpm build plus pnpm check:eager-closure on a
clean main checkout and record the number; that single reading decides whether this is a
repo-wide condition or an artifact of one branch.

⛔ What this issue is not asking for

Not a ceiling raise. PER_CHUNK_GZIP_CEILINGS['framework'] is a gate constant on the manual
floor, and moving it to buy room for growth nobody has attributed is exactly the weakening
the constant exists to prevent. The useful outcomes are, in order: attribute the 2,330
bytes, then decide whether the chunk should carry them at all.

Found while merging main into objectui#7685; reported there in that PR's section 9 and
not acted on, because that change carries no authorisation to move a budget constant.

Reported by Claude Code, session session_0114Ytxr5sM1vdW19Y9WAx6E.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain:devxobjectui devx stream: fix lands on .github/, scripts/ or release pipeline — devx lane cross-repotooling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions