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
console first load: a dashboard route waits on a 2.29 MB (gzip) eager closure that carries grid, form and Studio code it does not draw — 17.9 s blank on a cold cache at 1.5 Mbps #33293
Filing gate: ① a user-visible slowness with a named producer, measured by the #33034 measurement (record 6880118403, os-dev-report 6880126393, out_of_scope_findings[0], class a).
Reader: domain:ui (ui/apps/console). Grade p3, self-graded by the seat under the maintainer's 「定级你可以自己决定」: the first visit per browser per release, on a slow link; warm loads are 2.3–3.7 s.
Dedupe: is:issue "eager closure" 67 hits, none open about the closure's dashboard-route contents (nearest closed: #25925 spec subpath duplication, #30588 / #32225 language-pack ceiling); is:issue is:open "first load" console 10 hits, none on this.
Measured (#33034, 2026-11-14, HotCRM 18.4.0 and showcase at origin/maind4fbb4db)
The Console's dist/eager-closure.json: 105 chunks, 2,286,732 B gzip (7,710,567 B raw), loaded before the second boot API call goes out.
On a dashboard route that closure still carries code the route does not draw: plugin-grid (159 KB gz), plugin-form (44 KB), PackageFormDialog (44 KB), RecordDetailView (27 KB), i18n-ns-studio-en (64 KB), beside vendor-objectstack (634 KB) and ui-components (327 KB). The dashboard's own code and the chart chunks are already lazy.
Last chart drawn, browser cold → warm: 1.5 Mbps / 300 ms 17.9 s → 3.2 s; 1 Mbps / 400 ms 25.6 s → 3.7 s; 20 Mbps / 40 ms 3.6 s → 2.9 s. The dataset batch itself is 40–160 ms of server time in every run.
Asset names are content-hashed, so every release makes every browser cold again.
Producer
ui/apps/console/vite.config.ts: the advancedChunks groups and the entry's static imports decide what is eager. The existing eager-closure size gate is a ceiling against growth, not a target, so it does not cover this.
Acceptance
A dashboard route's eager closure no longer carries plugin-grid, plugin-form, PackageFormDialog, RecordDetailView or the Studio i18n namespace, or the card records, per chunk, why one must stay eager.
The new eager-closure.json totals are recorded on the PR against the 2,286,732 B baseline above.
No route regresses: a list, a record and a Studio route still load (a lazy chunk fetched on demand, no blank page).
Observations from the same measurement, not filed: the dashboard's data request is the fifth serial wave of boot API calls (a five-RTT floor, about 2.0 s at 400 ms even warm); GET /api/v1/packages answers about 410 KiB to the dev admin on every Console load and is not HTTP-cached (off the dashboard's critical path).
Triage: audit of a pre-labeled card · p3 confirmed · 2026-11-14T16:52Z
⛔ Not a claim.
Area: none (domain:ui)
Row: a cold-cache first load waits on a 2.29 MB eager bundle, taking 17.9 s at 1.5 Mbps and 3.6 s at 20 Mbps (3.2 s warm). It hits the first visit per browser per release, on a slow link: p3, as the seat graded it. A measured release on a common link above 10 s would make it p2.
Claim: PM loop round 1 · 2026-11-15T00:23Z
Session: session_01FEkQ5mmCUzPNeT1C9cHRtT (card thread, dev) · seat session_01FEkQ5oF8GgTHN2jBZoDwz8
Account: os-project-manager
Branch: claude/project-thread-7cazv8
Worktree: objectstack-issue-33293
Domain: domain:ui
Seat: domain:ui#2
File surface: ui/apps/console/vite.config.ts and the console/app-shell entry and route modules whose static imports make plugin-grid, plugin-form, PackageFormDialog, RecordDetailView and the Studio i18n namespace eager on a dashboard route (turned into lazy imports), their tests, root .changeset/. The dev declares the exact files at first hand-back. ⛔ No packages/spec or server edit; ⛔ not plugin-grid objectGridLinkCell/RowContextMenu or the console auth pages (ui seat 1).
Container & model: M, mode:thread, model: default tier, effort: default
Clause-②: no
Metadata-protocol: none
Responsibility: the console's eager closure carries grid, form and Studio code a dashboard route does not draw, so a cold first load on a slow link waits ~18 s | none | every user's first Console visit per browser per release
Thread-read: 6881004992
Premise: measured at filing by #33034 (record 6880118403, d4fbb4db); not re-measured by the seat; the dev rebuilds and re-measures eager-closure.json on origin/main first
Serial constraints cleared: no other pm:dispatcheddomain:ui card claims a file in this surface (live label read; ui seat 1's live files #33317#33063#33061#33103#33377 are disjoint); no other ui seat holds a Claim: on these files
Scope: the card's one defect, one PR, Fixes #33293. p3. Taken by ui seat 2 with ui seat 1's agreement. Order: /mnt/project-files/pm-orders/ui/order-33293.md. Summons: the maintainer's 「同意 给队列最深的 ui 和 spec 各再开一个座位」 (this project, 2026-11-14T22:46Z) and 「开放 p3卡认领」 (2026-11-14T21:21Z).
os-dev-report
{
"issue": 33293,
"status": "done",
"branch": "claude/project-thread-7cazv8",
"pr": "#33580",
"session": "session_01FEkQ5mmCUzPNeT1C9cHRtT",
"premise_still_valid": true,
"summary": "Measured on origin/main e3f0cfd: eager closure 105 chunks of 2427, 2,293,387 B gz; each named chunk's import edge read from the build's module graph. Cut two edges with lazy() + Suspense: builtinComponents.tsx registered eight Setup/metadata pages by value (PackagesPage -> PackageFormDialog among them), and ObjectView.tsx imported ViewConfigPanel statically (holding ViewVariantInspector, SchemaForm and the Studio form widgets). Head 30cbab2: 107 chunks of 2487, 2,163,689 B gz (-129,698, -5.7%); PackageFormDialog left the closure. plugin-grid, plugin-form, RecordDetailView and i18n-ns-studio-en stay eager: each needs a cut past this card's bounds (ObjectView lazy boundary + registerLazy for five plugins + side-effect-free plugin-form/plugin-view subpaths, a shared-package API change; and a ~400-line split of studio-canvas-preview.tsx plus four lazy edges and an i18n-ns-studio chunk group). Per the order's split clause the PR says Part of #33293 and the PR body tables the edges and the two proposed split cards. Exact files: ui/packages/app-shell/src/services/builtinComponents.tsx, ui/packages/app-shell/src/views/ObjectView.tsx, .changeset/33293-console-eager-closure-setup-pages.md (vite.config.ts not edited). The PR carries no assignee (order); the seat assigns at hand-over.",
"tests": "From ui/ under the lock: every packages/app-shell/src/views/ObjectView*.test.tsx plus the four Setup *.navContribution tests, ResourceListPage.positionGrants-25333, PermissionMatrixEditor.saveSurface-12725, PackagesPage.installedApps-13356: 85 files, 662 tests passed (rendered ObjectView pins open and save the now-lazy panel). Ablation via scripts/ablation-replace.mjs on builtinComponents.tsx (PackagesPage re-imported statically), console rebuilt: closure 2,223,296 B / 112 chunks, PackageFormDialog eager again, pnpm check:eager-closure exit 0 (no pin or gate catches it; sensitivity 695 KiB by ruling); restored, blob == HEAD ec73e832, git diff HEAD empty. Live browser on a showcase built at this tree (fresh context per route): dashboard draws and requests none of ViewConfigPanel/PackagesPage/PermissionMatrixEditor/PackageFormDialog/SchemaForm; list draws 10 rows and requests ViewConfigPanel on mount; record, Studio home, Setup Packages, Setup Position holders and the member_default permission matrix draw, their chunks fetched on demand; no page error, console error or failed request. Screenshots and probe in pm-orders/ui/33293-probe/.",
"gates": "dispatch-gates --commands on 30cbab2: 30 families, all exit 0; --ran: 30 derived, 30 run, 0 NOT-MEASURED, 0 UNRUN (pm-orders/ui/33293-gates-ran.txt). pnpm --dir ui exec vitest run scripts/ read on its rerun alone under the lock (--maxWorkers=2: 171 files passed, 2 skipped, 5062 tests, exit 0); its first run beside the showcase build had 4 files fail on unresolvable workspace imports mid-rebuild. Also: pnpm check:eager-closure exit 0 (2113.0 KB / 2431.6 KB, headroom 0.46x the 695 KB regression, so no re-pin is owed and the ceiling is unchanged), check:side-effects-array, check:sdui-registration-pins, check:eager-locale-catalogues, check:new-line-citations (0 new) exit 0; app-shell type-check exit 0; eslint --no-inline-config on both source files 0 errors. CI check-runs: in_progress at report time.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "3 — mcp__github__issue_read x3 (get, get_comments x2), all reads",
"api_writes": "2 — relay pr_create (#33580), relay issue comment (this os-dev-report on #33293); git push is not a REST write",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: #33293 (seat split) · plugin-grid + plugin-form + RecordDetailView (~287 KB gz upper bound): lazy ObjectView in AppContent (also EAGER_WALK_CONTROL of vite-declared-lazy-views), register-plugins.ts five eager plugins to registerLazy per tag, side-effect-free subpaths for resolveInlineMode / filterSystemFields / isAutoGeneratedFieldType / useInitialFieldFocus (plugin-form) and deriveRecordSurface / deriveRecordFlowSurface (plugin-view), lazy ModalForm in AppContent and useActionModal, App.tsx dev routes; edges tabled in the PR body",
"carrier: #33293 (seat split) · i18n-ns-studio-en (64.3 KB gz): split the default object canvas out of studio-canvas-preview.tsx and register it lazily, DatasourceResourcePage and PositionGrantCells registered lazily, CreateViewDialog lazy in ObjectView, an i18n-ns-studio chunk group like i18n-ns-marketplace; the synchronous en fallback stays",
"noted, not filed: putting one 60 KB edge back passes check:eager-closure (headroom 260 KB, sensitivity 695 KiB per the objectui#12653 ruling); a ruled trade, not a defect"
]
}
Seat review: PR #33580 ACCEPT on head bbd32c42 (2026-11-15T02:44Z). K = 19, base-synced through the relay and CI green on the synced head; ready + auto-merge set in the same stroke. Contract record not owed (Clause-② no). Eager closure −129,698 B gz; the remaining cuts are #33581 and #33582.
MERGED as 2a86e513 on main (closes this card via Fixes #33293)
State: pm:dispatched removed, assignee cleared; card closed by the merge. Eager closure −129,698 B gzipped; the remaining cuts are #33581 (grid / form / RecordDetailView) and #33582 (Studio en strings).
Activity
objectstack-fleet commentedon Nov 14, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: audit of a pre-labeled card · p3 confirmed · 2026-11-14T16:52Z
⛔ Not a claim.
Area: none (
domain:ui)objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Claim: PM loop round 1 · 2026-11-15T00:23Z
Session:
session_01FEkQ5mmCUzPNeT1C9cHRtT(card thread, dev) · seatsession_01FEkQ5oF8GgTHN2jBZoDwz8Account:
os-project-managerBranch:
claude/project-thread-7cazv8Worktree:
objectstack-issue-33293Domain:
domain:uiSeat:
domain:ui#2File surface:
ui/apps/console/vite.config.tsand the console/app-shell entry and route modules whose static imports makeplugin-grid,plugin-form,PackageFormDialog,RecordDetailViewand the Studio i18n namespace eager on a dashboard route (turned into lazy imports), their tests, root.changeset/. The dev declares the exact files at first hand-back. ⛔ Nopackages/specor server edit; ⛔ not plugin-gridobjectGridLinkCell/RowContextMenuor the console auth pages (ui seat 1).Container & model: M,
mode:thread,model: default tier,effort: defaultClause-②: no
Metadata-protocol: none
Responsibility: the console's eager closure carries grid, form and Studio code a dashboard route does not draw, so a cold first load on a slow link waits ~18 s | none | every user's first Console visit per browser per release
Thread-read: 6881004992
Premise: measured at filing by #33034 (record 6880118403,
d4fbb4db); not re-measured by the seat; the dev rebuilds and re-measureseager-closure.jsononorigin/mainfirstSerial constraints cleared: no other
pm:dispatcheddomain:uicard claims a file in this surface (live label read; ui seat 1's live files #33317 #33063 #33061 #33103 #33377 are disjoint); no other ui seat holds aClaim:on these filesScope: the card's one defect, one PR,
Fixes #33293. p3. Taken by ui seat 2 with ui seat 1's agreement. Order:/mnt/project-files/pm-orders/ui/order-33293.md. Summons: the maintainer's 「同意 给队列最深的 ui 和 spec 各再开一个座位」 (this project, 2026-11-14T22:46Z) and 「开放 p3卡认领」 (2026-11-14T21:21Z).objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5mmCUzPNeT1C9cHRtT
os-dev-report
{
"issue": 33293,
"status": "done",
"branch": "claude/project-thread-7cazv8",
"pr": "#33580",
"session": "session_01FEkQ5mmCUzPNeT1C9cHRtT",
"premise_still_valid": true,
"summary": "Measured on origin/main e3f0cfd: eager closure 105 chunks of 2427, 2,293,387 B gz; each named chunk's import edge read from the build's module graph. Cut two edges with lazy() + Suspense: builtinComponents.tsx registered eight Setup/metadata pages by value (PackagesPage -> PackageFormDialog among them), and ObjectView.tsx imported ViewConfigPanel statically (holding ViewVariantInspector, SchemaForm and the Studio form widgets). Head 30cbab2: 107 chunks of 2487, 2,163,689 B gz (-129,698, -5.7%); PackageFormDialog left the closure. plugin-grid, plugin-form, RecordDetailView and i18n-ns-studio-en stay eager: each needs a cut past this card's bounds (ObjectView lazy boundary + registerLazy for five plugins + side-effect-free plugin-form/plugin-view subpaths, a shared-package API change; and a ~400-line split of studio-canvas-preview.tsx plus four lazy edges and an i18n-ns-studio chunk group). Per the order's split clause the PR says Part of #33293 and the PR body tables the edges and the two proposed split cards. Exact files: ui/packages/app-shell/src/services/builtinComponents.tsx, ui/packages/app-shell/src/views/ObjectView.tsx, .changeset/33293-console-eager-closure-setup-pages.md (vite.config.ts not edited). The PR carries no assignee (order); the seat assigns at hand-over.",
"tests": "From ui/ under the lock: every packages/app-shell/src/views/ObjectView*.test.tsx plus the four Setup *.navContribution tests, ResourceListPage.positionGrants-25333, PermissionMatrixEditor.saveSurface-12725, PackagesPage.installedApps-13356: 85 files, 662 tests passed (rendered ObjectView pins open and save the now-lazy panel). Ablation via scripts/ablation-replace.mjs on builtinComponents.tsx (PackagesPage re-imported statically), console rebuilt: closure 2,223,296 B / 112 chunks, PackageFormDialog eager again, pnpm check:eager-closure exit 0 (no pin or gate catches it; sensitivity 695 KiB by ruling); restored, blob == HEAD ec73e832, git diff HEAD empty. Live browser on a showcase built at this tree (fresh context per route): dashboard draws and requests none of ViewConfigPanel/PackagesPage/PermissionMatrixEditor/PackageFormDialog/SchemaForm; list draws 10 rows and requests ViewConfigPanel on mount; record, Studio home, Setup Packages, Setup Position holders and the member_default permission matrix draw, their chunks fetched on demand; no page error, console error or failed request. Screenshots and probe in pm-orders/ui/33293-probe/.",
"gates": "dispatch-gates --commands on 30cbab2: 30 families, all exit 0; --ran: 30 derived, 30 run, 0 NOT-MEASURED, 0 UNRUN (pm-orders/ui/33293-gates-ran.txt). pnpm --dir ui exec vitest run scripts/ read on its rerun alone under the lock (--maxWorkers=2: 171 files passed, 2 skipped, 5062 tests, exit 0); its first run beside the showcase build had 4 files fail on unresolvable workspace imports mid-rebuild. Also: pnpm check:eager-closure exit 0 (2113.0 KB / 2431.6 KB, headroom 0.46x the 695 KB regression, so no re-pin is owed and the ceiling is unchanged), check:side-effects-array, check:sdui-registration-pins, check:eager-locale-catalogues, check:new-line-citations (0 new) exit 0; app-shell type-check exit 0; eslint --no-inline-config on both source files 0 errors. CI check-runs: in_progress at report time.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "3 — mcp__github__issue_read x3 (get, get_comments x2), all reads",
"api_writes": "2 — relay pr_create (#33580), relay issue comment (this os-dev-report on #33293); git push is not a REST write",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: #33293 (seat split) · plugin-grid + plugin-form + RecordDetailView (~287 KB gz upper bound): lazy ObjectView in AppContent (also EAGER_WALK_CONTROL of vite-declared-lazy-views), register-plugins.ts five eager plugins to registerLazy per tag, side-effect-free subpaths for resolveInlineMode / filterSystemFields / isAutoGeneratedFieldType / useInitialFieldFocus (plugin-form) and deriveRecordSurface / deriveRecordFlowSurface (plugin-view), lazy ModalForm in AppContent and useActionModal, App.tsx dev routes; edges tabled in the PR body",
"carrier: #33293 (seat split) · i18n-ns-studio-en (64.3 KB gz): split the default object canvas out of studio-canvas-preview.tsx and register it lazily, DatasourceResourcePage and PositionGrantCells registered lazily, CreateViewDialog lazy in ObjectView, an i18n-ns-studio chunk group like i18n-ns-marketplace; the synchronous en fallback stays",
"noted, not filed: putting one 60 KB edge back passes check:eager-closure (headroom 260 KB, sensitivity 695 KiB per the objectui#12653 ruling); a ruled trade, not a defect"
]
}
Generated by Claude Code
objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Seat review: PR #33580 ACCEPT on head
bbd32c42(2026-11-15T02:44Z). K = 19, base-synced through the relay and CI green on the synced head; ready + auto-merge set in the same stroke. Contract record not owed (Clause-② no). Eager closure −129,698 B gz; the remaining cuts are #33581 and #33582.objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Landed · 2026-11-15T04:44Z
2a86e513onmain(closes this card viaFixes #33293)State:
pm:dispatchedremoved, assignee cleared; card closed by the merge. Eager closure −129,698 B gzipped; the remaining cuts are #33581 (grid / form / RecordDetailView) and #33582 (Studioenstrings).perf(console): the first load stops downloading the Setup pages, the …
perf(console): the first load stops downloading the Studio designer s…