Repository navigation
Description
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
Filing gate: maintainer ruling on #37444 at 2026-11-26 13:43Z (「先做最小一刀,其余立卡排队」: slice C rides #37444, the other seams queue as their own cards) · Source: fleet (production re-measure on #37444, comment 7193730951)
What happens
Reading on a production build (objectstack 021524cd, brotli on, Lighthouse 13.6.0 desktop config, 5 runs per page; full method in #37444 comment 7193730951): the median LCP is Home 3626 ms, Object list 4611 ms, Record 4223 ms, against a 2500 ms threshold.
Bytes are about 2 s of every page. 2.2–2.7 MB is transferred before LCP, and 1,951 KB of it is the eager JS closure: the same 120 chunks on every page, the login page included. The largest eager chunks (gzip) are vendor-objectstack 684 KB (@objectstack/spec zod modules for view/dashboard/object/flow/action, plus formula and client), ui-components 351 KB, index 131 KB, framework 89 KB, vendor-react 80 KB, i18n-locale-en 71 KB and vendor-radix 58 KB. With bandwidth unlimited (RTT 40) the pages drop to 1.7 / 2.4 / 2.1 s.
A probe build that marked zod builder calls pure (treeshake.manualPureFunctions: ['z']) saved only 13 KB. The spec code in the eager closure is reached, not dead, so it shrinks only by changing what the shell imports eagerly.
Expected
- The console shell's eager closure no longer pulls the spec schema modules (and other route-only code) that the first screen doesn't need; they load with the route or feature that uses them.
- Lower the console eager-closure budget the build already checks (see console budget: raise the eager English catalogue ceiling (i18n-locale-en) by 30%, per the maintainer ruling #34927, console: eager-closure membership check is red on main, with one packages/core module grouped into vendor-objectstack instead of framework #26131) to the new size, so the closure can't grow back unseen.
- Re-measure the three pages with the Console first screen: home, object list and record page miss the 2.5 s LCP threshold (baseline 3.6 / 4.6 / 4.2 s); re-measure on a production build first #37444 method and record the new medians on that card.
Not this card: route-level lazy chunks before LCP (slice C, in progress as Part of #37444), the serial boot API rounds, render CPU (sibling cards).
Category ①: a user-visible experience defect with a named place and a repeatable reading (every console user waits 3.6–4.6 s on the first screen).
Priority: p2 — the grade of parent #37444; slow but working, on every first screen, not a wrong-data or security case.
Business reason: everyone who opens the console waits on the first screen every session; without this seam the pages can't reach the 2.5 s threshold #37444 sets.
Reader: seat 2 area s2-ux (repo:objectstack#2) picks it from the queue after slice C lands on #37444.
Dedupe: console eager chunk first screen 22 hits, vendor-objectstack chunk 41 hits; open overlap only #37444 (the parent; this card is its queued seam). Closed neighbours #25925 (spec subpath duplication, fixed) and #26131 / #34927 (budget check) are earlier, different seams.
Activity
objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Bug · priority:p2 ·
pm:queue· size L; rationale: the console's eager JS closure (1.95 MB, the same 120 chunks on every page) costs about 2 s of first-screen LCP. Queued as its own seam under the maintainer's 13:43Z ruling on #37444 (「先做最小一刀,其余立卡排队」). Slow but working, so p2, like the parent.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
Claim: PM loop round 1 · 2026-11-27T01:09Z
Session:
session_01L6bhgV6i8jfWwSXjpWJrjAThread session:
session_01L6bhgUFcdpjgtgSfn3qZuvAccount:
os-salesBranch:
claude/project-thread-575qr3Domain:
domain:uiSeat:
repo:objectstack#2Area:
s2-uxFile surface: the Console shell's eager import closure (
ui/apps/console,ui/packages/app-shelland the packages it pulls in at boot), lazy boundaries and their loaders, bundle-split config, pins on what the first screen loads, one changeset; exact files named in the thread's first report after the h2 baselineContainer & model:
L,mode:thread(card thread implements, no os-dev),model: default — no path-derived mandate,effort: highClause-②: no expected (load order only; what the Console shows does not change) — the PR states its own
Metadata-protocol: none
Responsibility:
objectui console (the first screen loads ~1.95 MB of eager JS, the same ~120 chunks on every page, about 2 s of LCP) | none | every Console user on first load; reachable todayThread-read: none
Premise: holds (#37444's production reading 7193730951 and the HTTP/2 reading under ruling 7205984444; the thread re-takes the h2 baseline on
mainfirst)Serial constraints cleared:
#37722 merged (sidebar cascade, Part of #37575); #37725 in the merge queue (docs and checklist only); the thread re-runs overlap-check before its first pushRelation: the PR says
Part of #37444(andFixes #37572only if the eager-closure card is delivered whole); this thread also holds #37444 and #37575 from the previous threadobjectstack-fleet commentedon Nov 28, 2026
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
Landed (part) and handed back · 2026-11-28T14:08Z
Answers the triage knock 7240430074 on this seat's mailbox. PR #37786 merged at 2026-11-27T05:16Z (
Part of #37572): the Console's eager first-load closure went from 1,996,960 to 1,899,348 bytes gzipped; #37826 back-filled the budget baseline. The list and record pages are still over the 2500 ms target of #37444. The next measured cut, exporting the narrow sub-schemas the first screen reads, is card #37805.Release: this seat's area:ux partition is closed (maintainer, 2026-11-27 15:43Z: 「ux 区 可以下班了」), so this card goes back to
pm:queuefor the area:ux seat with nothing in flight, and the claim 7207061751 (thread sessionsession_01L6bhgUFcdpjgtgSfn3qZuv) ends here. Branchclaude/project-thread-575qr3holds only merged work.