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 screen: 1.1–1.8 s of main-thread script evaluation before LCP, mostly render work; cut first-render CPU #37575
area:uxbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p2Medium: important, M3
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 (method in #37444 comment 7193730951): script evaluation on the main thread is 1.1 s on Home and 1.8 s on the Object list and Record page, mostly attributed to vendor-react (render work). Even unthrottled and local, the observed LCP is already 2.0 / 2.6 / 2.5 s, and with bandwidth unlimited the list still sits at about 2.4–2.5 s. So CPU alone keeps the list page at the threshold after the byte and round-trip seams are fixed.
Expected
A profile of the first render on the three pages naming the components that dominate evaluation (re-renders during boot, large synchronous trees, work done before content paints).
The biggest causes cut, so the list and record pages' unthrottled LCP drops clearly under 2.5 s.
A pin on the fixed cause (render count or a timing budget a test can hold).
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: LCP console 3 hits and console render main thread first screen 292 hits (top results read); the only open overlap is #37444 (the parent).
Triage: lands in area:ux · domain:ui · Bug · priority:p2 · pm:queue · size M; rationale: 1.1–1.8 s of main-thread script evaluation before LCP, mostly render work. Queued as its own seam under the maintainer's 13:43Z ruling on #37444. p2, like the parent.
Claim: card thread of seat 2 · 2026-11-26T22:28Z
Session: session_01L6bhgU8Bf564ZGXi4MfHWb
Seat session: session_01L6bhgV6i8jfWwSXjpWJrjA
Account: os-sales
Branch: claude/project-thread-xtck3b (restarted from the latest main)
Domain: domain:ui
Seat: repo:objectstack#2
Area: s2-ux (card thread)
File surface: the Console first-render path under ui/apps/console/src and ui/packages/*/src (the shell, the object list and record routes, the components the profile names); named by the profile before any code
Container & model: M, mode:thread, model: default, effort: high
Clause-②: no
Metadata-protocol: none
Thread-read: 7194528349
Premise: inbox (first step: an HTTP/2 profile of the first render on the list and record pages, then the profile decides the cut)
Parent: Part of #37444
This is the next slice of #37444, after #37574 closed as not planned. I re-read the card at claim time: updated 14:20Z, and there are no body-rewrite notes.
Readings follow the protocol on #37444 (comment 7204693346): HTTP/2 TLS is the reading and HTTP/1.1 is the control, with the #37444 method otherwise. The HTTP/2 baseline at 9476092c is home 2297, list 2837, record 2685 ms. The PR will carry Part of #37444 and Fixes #37575.
Reading · card thread of seat 2 · 2026-11-27T00:00Z. First slice opened as draft PR #37722 (Part of #37444, Part of this card). This card stays open.
What the slice does. While a Console page first loads, the shell re-renders about ten times as its boot reads land, and each pass redrew every sidebar entry with its ⋯ menu and tooltip (about 2,700 components a pass). The PR memoises the nav row on what it shows, keeps the sidebar's template context and row action renderer stable, splits the row menu into a stable view, and builds the console's expression user once per auth user. On the list page, re-rendered components before 3 s go from 28,860 to about 11.4k–14k.
Reading (production build, objectstack start with NODE_ENV=production, local HTTP/2 TLS front, Lighthouse 13.6.0 desktop preset, headless Chrome for Testing 158, 4-core container, signed in, cold cache; the acceptance condition of #37444 ruling 7205984444). Median LCP in ms:
Page
h2 before (main 9476092c, 5 runs)
h2 after (PR head, 5 runs)
h1 control before (3 runs)
h1 control after (3 runs)
Home
2297
2227
3689
3658
Object list
2837
2675
4788
4778
Record page
2685
2561
4309
4468
Home passes; the list misses by 175 ms and the record page by 61 ms. The HTTP/1.1 control does not move outside its noise: there the first screen waits on queued script requests, so render CPU is not on its critical path.
What-ifs on the after build (h2, 2 runs each, list / record):
CPU cost halved (Lighthouse's CPU multiplier at 0.5): 2351 / 2333.
CPU cost at one twentieth (0.05): 2290 / 2256.
Unlimited bandwidth: about 1.5 s / 1.5 s.
Upper bound with no navigation drawn at all: list 2609. Without only the per-row tooltip and ⋯ menu: list 2635. The sidebar is now near its floor.
The CPU multiplier scales all main-thread work (parse, compile, script and render together), so render is only part of what it removes. Even at one twentieth of the CPU the list page gains only about 0.4 s, while unlimited bandwidth gains about 1.2 s: bytes (#37572) is the larger lever and the next slice. Halving all CPU would bring both pages under 2500 ms, but render work alone is a fraction of that half.
What is left on this card. The big render item is the grid after its data lands: 4–5 re-render passes from the measurement layout effects in data-table.tsx (550–1,080 components each), and the per-row Radix mount re-render (about 1,160 components). These were deliberately left out of #37722 to keep it small, as ruled.
Slice 1 landed in PR #37722 (Part of; the sidebar memo cascade). No thread holds the next slice: area s2-ux is at its cap of three running threads, and the first-load route for #37444 is waiting on a maintainer decision about spec's build granularity (#37805). pm:dispatched → pm:queue, assignee cleared, so the card is not held without work. Resume-from: none (no unmerged branch). The next claimant reads #37444's readings first (h2 medians; list 2652 ms, record 2640 ms).
Claim: PM loop round 1 · 2026-12-01T00:57Z · measurement phase only (no product code)
Session: session_01WGufzfcCk7a8bQdgyaxzu7
Account: os-support-ai
Branch: none in this phase — a measurement-only os-dev writes no product code and pushes nothing; the build is claimed by a claim amendment with an exact file list after the reading
Worktree: objectstack-issue-37575
Domain: domain:ui
Seat: repo:objectstack@os-support-ai
Area: osa-ux
Release provenance: seat 2's hand-back 7218184722 ("Release: seat 2's in-hand slices are done; nothing is in flight on this card"), routed to this zone by the seat (repo:objectstack@os-support-ai, 2026-12-01T00:56Z); the release sits mid-paragraph, seat 2 is asked to restate it at line start.
File surface: /mnt/project-files/card-37575/ (reason: readings only, outside the repo; no repo file is written in this phase; stop on breach; explain in the report)
Container & model: S, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate; no repo path in this phase), effort: high (reason: measurement design on a noisy shared box: fixed control arm and a component-level first-render profile)
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack console (object list page first-screen LCP 2564.8 ms vs the 2500 ms threshold, release 7268927874 on #37444; the remaining gap is not first-load bytes) | none | every console user opening an object list
Thread-read: 7218184722
Premise: holds — #37444's last reading (7264938326, HTTP/2, 20 vs 20) has the list at 2564.8 ms; record 2469.7 and home 2179.4 meet the bar. #37903 (selector subscriptions) closed at PR 1 under maintainer ruling 7242124712 (build PR 2 only if the record page gains ≥ 30 ms), so it is not the next lever.
Pre-claim lane: domain:ui (file ownership only); any cut it names lands in ui/**, inside zone osa-ux.
Pre-claim deps: none.
Prior rulings read: #37444 threshold ruling 7178954860 on #35212 and its HTTP/2 amendment 7205984444 (the reading protocol); 「先做最小一刀,其余立卡排队」 (maintainer on #37444, 2026-11-26 13:43Z, cited by this card's filing gate); maintainer ruling 7242124712 (the ≥ 30 ms bar that ended #37903). A cut whose measured effect is under the session noise (±50 ms, release 7268927874) is reported, not built.
Fold-or-serial: one card; #37444 stays the parked umbrella (seat routing 2026-12-01T00:56Z).
Serial constraints cleared: none — no repo file in this phase; the build amendment runs check-handover --inflight and overlap-check on its exact files
Release: repo:objectstack#2 holds nothing on this card 2026-12-01T00:58Z. This restates the hand-back 7218184722 (2026-11-27T12:22Z, made by this seat's earlier occupant), whose release sat mid-paragraph where card-pick.mjs does not read it. Back in pm:queue for the area:ux seat; requested by os-support-ai (7296935816 on #38597).
Measurement phase of claim 7296940676, no product code, nothing pushed, no PR. No S/M render cut clears 2500 on the list with p under 0.05. Three probes (SchemaRenderer post-mount re-render, the grid's measurement pass plus badge colour maths, the sidebar row menus mounting on first use) read −29, +7.5 and −5 ms against main at 20 vs 20 (all p 0.6 or more), and −21 ms combined (p 0.66). The reason is in a CPU what-if on the same box: removing 95 % of all main-thread CPU moves the list's simulated LCP by only 79 to 87 ms (p 0.002) when the box is quiet. On a quiet box the list is network-bound (floor about 2190 ms), and main already reads 2268 to 2343 ms. The PM hypothesis "the gap is render work" holds only on a loaded box: within the session, the list reads about 51 to 69 ms slower per unit of load average (r 0.69), so sibling CPU on the shared container, replayed by Lantern at CPU x1, is what has been putting the list over 2500.
list, HTTP/2, Lighthouse desktop (session s1, 20 runs per arm)
median LCP (ms)
vs main
p (permutation)
round-stratified diff (p)
load-adjusted (± SE)
main 0fc9eab9
2343.4
—
—
—
—
control 1afd9c13
2276.8
−66.6
0.028
−40.5 (0.070)
−34.0 ± 19.3
P1 SchemaRenderer: no unconditional post-mount re-render
2314.4
−29.0
0.60
+16.4 (0.69)
−1.6 ± 27.8
P2 grid: right-shadow measure in its own component + badge palette memo
2350.8
+7.5
0.79
+21.4 (0.54)
−5.5 ± 22.3
P3 sidebar row ⋯ menu mounts on first hover/focus/press
2338.3
−5.1
0.96
−3.9 (0.88)
−23.6 ± 23.2
P1 + P2 + P3
2322.1
−21.3
0.66
+7.5 (0.73)
−12.4 ± 18.9
CPU what-if, main, list (session s2, 10 runs per arm, quiet box)
median LCP (ms)
vs CPU x1 (stratified, p)
CPU x1 (the preset)
2268.5
—
CPU x0.5
2198.4
−72.6 (0.002)
CPU x0.05
2192.2
−78.8 (0.002)
Band gate. The control read 2276.8 ms, below the band fixed before the first run (2350 to 2680 ms, design.md), so by that rule this session gives no done-when verdict. The probe comparisons are within-session and interleaved, so they stand. Main read 66.6 ms slower than the control here (round-stratified: 40.5 ms slower, p 0.07); earlier sessions read main 37 to 55 ms faster, and once 48 ms slower.
Bytes. No probe moves first-load bytes: 225 scripts on every arm; 2195.4 KB on main, P1, P2; 2195.6 on P3; 2195.8 combined. The control fetches 2230.8 KB.
Every run (153) served the document and all scripts over h2, ended on the list, had no runtime error, and had the first row's cell as LCP element.
1. First-render profile of the object list (main)
React profiling build, unminified, a DevTools-hook stub that walks the fibers which began work each commit (renders = PerformedWork, self time = selfBaseDuration), 5 cold loads, medians, before LCP: 35 commits, 11,739 component renders, 4,720 mounts, 593 ms of React render; 1,239 ms of long tasks.
Top by render count: Radix ForwardRef 1,021, Presence 577, Skeleton 572, Primitive.div 446, Primitive.button 408, Popper/PopperAnchor 371 each, TableCell 348; most are the 50 sidebar rows' menus and tooltips and the grid's cells.
The big commits, in order: sidebar mount (2,800 components, 2,650 mounts; triggered by NavigationProvider), ListView mount (704; triggered by a MetadataProvider version bump), grid rows mount (1,047), then three to four whole-table re-renders of 550 to 735 components each, before and just after the rows paint. Their origins, read from the changed hook state: SchemaRenderer's unconditional forceUpdate() after mount; three DataTableRenderer layout-measure states (the right-shadow placement, two others); ObjectGrid's object schema arriving. P1 removed the SchemaRenderer pass and a DataTableRenderer pass of the same size took its place (net renders unchanged); P2 removed the right-shadow pass and the ObjectGrid pass moved before LCP. The cells re-render because nothing below DataTableRenderer is memoised, so each independent state source costs a full pass.
Lighthouse trace attribution
The minified build's bootup-time puts 1,384 of 1,438 ms of script evaluation on vendor-react. That is an attribution artifact: tasks are entered through React's scheduler, so the top-of-stack URL is always vendor-react. With the V8 sampler on an unminified production build (Lighthouse additionalTraceCategories), React's own code is about a quarter of JS self time (444 of 1,894 ms in one run); the rest is app chunks, Radix and native DOM work. Named hot spots before LCP (self or inclusive, one loaded-box run): the sidebar boot task alone is 741 ms; appendChild 139 ms; Radix Collapsible and Presence measuring on mount (getBoundingClientRect, getComputedStyle) about 120 ms; the per-icon DynamicIcon imports 75 ms (69 icon chunks); usePackagePostureRead from 50 sidebar rows, each awaiting whenQuiet with its own listener and timers, 44 ms plus most of 34 ms of setTimeout; nav visibility CEL evaluation 28 ms; Notification.permission read on every InboxBell render 8 to 23 ms; PageHeader measure 28 to 40 ms; per-request console.debug with a meta object in the HTTP logger 22 to 91 ms (only costly with a DevTools protocol client attached, as Lighthouse is); deriveHexBadgePalette (four 101-step contrast walks per badge per render) about 15 ms.
2. Candidate cuts
cut
renders moved (profiling build, 5 runs, before LCP)
bytes
list LCP vs main
files it would touch
est. lines with tests and changeset
P1 SchemaRenderer re-renders after mount only when the registry version moved since render
SchemaRenderer pass gone, replaced by a DataTableRenderer pass of the same size; renders 11,739 → 12,168 (noise)
0
−29.0, p 0.60
ui/packages/react/src/SchemaRenderer.tsx
60 to 90 (probe +5/−7)
P2 grid: right-edge shadow measured in DataTableRightShadow; hex badge palette memoised per colour
No S/M cut clears 2500 on the list with p under 0.05. Evidence: none of the three probes, nor all three together, moves the simulated LCP beyond noise (CI half-widths about 80 ms); and the CPU what-if bounds every render cut at about 80 to 90 ms on a quiet box, where main is already under 2500. Render CPU only decides the verdict when sibling load inflates the trace's task durations, and then the box state moves the reading by more (68 ms per unit of load) than any of these cuts. I would not build P1 to P3 for this card's metric. P3 is the one with a real CPU saving (−950 mounts, about −200 ms of long tasks unthrottled); it is worth building only as a responsiveness change, not as the LCP cut. The done-when question (score a session only with the control in band, or restate it relative to the control) is the open option on #37444 (release 7254228001); that choice is the seat's or the maintainer's. I did not re-measure the #37903 selector prototype (ruling 7242124712), so it is not re-proposed.
{
"issue": 37575,
"status": "reading",
"branch": "none (measurement only; local worktree objectstack-issue-37575 on branch claude/issue-37575-render-cpu-probe at 0fc9eab9, never pushed)",
"pr": null,
"session": "session_01WGufzfcCk7a8bQdgyaxzu7",
"premise_still_valid": true,
"summary": "Measurement only, as ordered. On main 0fc9eab9 the object list's first render is 35 commits, 11,739 component renders, 4,720 mounts and 593 ms of React render before LCP (profiling build, 5 runs); the grid re-renders whole-table three to four times around the rows' first paint from independent state sources (SchemaRenderer post-mount forceUpdate, DataTableRenderer layout-measure states, ObjectGrid schema). Three S/M probes, 20 vs 20 interleaved with main and control 1afd9c13 on the list (HTTP/2, Lighthouse 13.6.0 desktop): P1 -29.0 ms (p 0.60), P2 +7.5 (p 0.79), P3 -5.1 (p 0.96), all three -21.3 (p 0.66); round-stratified and load-adjusted reads agree (none significant). CPU what-if on main: x0.5 -72.6 ms, x0.05 -78.8 ms (p 0.002), so all main-thread CPU is worth about 80-90 ms of simulated LCP on a quiet box; the list's floor is about 2190 ms (network) and main reads 2268-2343 ms. Within the session LCP rises 51-69 ms per unit of load average (r 0.69). The control read 2276.8 ms, below the 2350-2680 band, so no done-when verdict is scored from this session. Premise: the list is over 2500 only on a loaded box; the PM hypothesis that the remaining gap is render work holds for loaded sessions, and render CPU is not a lever that clears the line on its own. Recommendation: no S/M cut clears 2500 with p under 0.05; do not build P1-P3 for this metric.",
"tests": "No product test: no product diff. Instrument: production builds (main via turbo pnpm build + pnpm console:build, VERDICT command-exit 0; control in its own worktree, VERDICT command-exit 0, held 571 s; probes via vite build of the console only, each VERDICT command-exit 0; a vite-only rebuild of clean main is byte-identical to the turbo dist: same 4392 asset names, identical index.html). Served by objectstack start (NODE_ENV=production, sqlite, fresh home per arm) behind a local Node HTTP/2 TLS front; signed in through the Console login form. Lighthouse 13.6.0 node API, desktop-config unchanged (simulate, rtt 40, 10240 kbps, cpu x1, storage reset on); headless Chrome for Testing 158.0.8127.36. s1: blocks of 5, rounds M C P1 P2 P3 A / A P3 P2 P1 C M / C M P2 P1 A P3 / P3 A P1 P2 M C, 120 runs, 0 invalid, every block under the verify lock (8 acquisitions, VERDICT command-exit 0 each). s2: cpu 1/0.5/0.05 then reversed, 30 runs. p: two-sided permutation on the median difference, 20,000 shuffles; bootstrap 95% CI; round-stratified permutation; OLS with load1. Profile: React profiling build (react-dom/profiling alias, minify off), DevTools-hook fiber walk, 5 cold loads per arm. Attribution: Lighthouse trace with disabled-by-default-v8.cpu_profiler on an unminified production build, 3 runs. Raw rows, design, reports, profiles, patches and tools: /mnt/project-files/card-37575/.",
"gates": "NOT MEASURED: every derived family, reason: no product diff (measurement phase, nothing committed), so dispatch-gates has no changed files to read; no PR, so no check-runs. overlap-check not run: nothing pushed.",
"mcp_calls": "0 — no MCP GitHub tool used; the card and #37444's thread were read with REST GETs",
"api_writes": "1 — this os-dev-report comment on #37575 through scripts/pm/post-stamped.mjs (relay). No push, no PR, no label, no assignee",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: #37575 (this report) · noted, not filed — the grid re-renders all cells on each independent DataTableRenderer state change (no memo below it); fixing one pass exposes the next (P1). Dedupe words: data-table whole-table re-render, measurement layout effect setState, SchemaRenderer forceUpdate mount",
"carrier: #37575 (this report) · noted, not filed — 50 sidebar rows each call usePackagePostureRead, each awaiting whenQuiet with its own listener and timers; Notification.permission read on every InboxBell render; HTTP logger console.debug per request with a meta object in production; deriveHexBadgePalette uncached. Each is a CPU cost of roughly 10-45 ms before LCP with no user-visible defect, so none is filed",
"carrier: #37444 · noted, not filed — Lighthouse bootup-time attributes nearly all script evaluation to vendor-react because tasks enter through React's scheduler; the 'mostly vendor-react render work' reading in this card's body is that attribution, not React's own cost (about a quarter of JS self time when sampled)"
],
"deviations": "1) status 'reading': measurement order, no PR; a subagent cannot post a decision card. 2) The instruments under card-37444/ (a-measure, recut) are not on this mount (only seat folders exist), so the instrument was rebuilt from the method in 7264938326 and is saved under card-37575/tools. 3) The control read below its band, so per the pre-set rule this session scores no done-when verdict; probe comparisons are within-session. 4) The rprof profile arms ran in sequence, not interleaved; their render and mount counts are structural, their millisecond figures carry box drift. 5) Throwaway local auth secret and account password were kept in mode-600 files under the scratchpad, never printed. 6) design.md's first draft said written ~02:30Z; corrected on the mount to the actual time, immediately before the first scored run; the rules were not changed."
}
Method notes
Probe diffs (local only): probes/P1-schemarenderer-mount-recheck.patch (1 file, +5/−7), probes/P2-grid-measure-overlay-and-badge-palette-memo.patch (2 files, +80/−45), probes/P3-sidebar-item-menu-mounts-on-first-use.patch (1 file, +55/−3). Each probe arm ran its own server on a copy of the showcase app directory whose console package points at that arm's dist; main and control ran from their own worktrees.
Block medians (list, s1): main 2404 / 2306 / 2343 / 2297; control 2400 / 2275 / 2260 / 2254; P1 2450 / 2471 / 2256 / 2239; P2 2487 / 2452 / 2252 / 2244; P3 2452 / 2388 / 2279 / 2216; all 2413 / 2399 / 2296 / 2272. Rounds 1 and 2 ran at load average about 3 to 4.5, rounds 3 and 4 at about 1.1 to 2.5; every arm has two blocks in each regime. Every run is in score-s1.txt and rows.jsonl.
Why the simulated LCP barely sees CPU on a quiet box (from the Lantern code in Lighthouse 13.6.0): a fetch answer is not an edge, so the boot read chain does not serialise in the simulation; the LCP graph keeps the CPU tasks that evaluate scripts, send requests or lay out, and they overlap the 2.2 MB of scripts still downloading at 10 Mbps. Only the CPU left after the last needed script arrives lengthens LCP, which is what the x0.5 and x0.05 arms measure.
These are shared-box readings: the lock excludes other locked runs, not unlocked sibling work.
Release: 2026-12-01T03:00Z · session session_01WGufzfcCk7a8bQdgyaxzu7 (claim 7296940676, measurement phase only) → pm:queue, assignee cleared. Nothing landed, nothing pushed, no PR.
Reading: os-dev report 7299200690 (raw rows, instrument and probe patches under the project folder card-37575/). No S/M cut clears 2500 ms on the object list with p < 0.05:
P1 (SchemaRenderer re-renders after mount only when the registry version moves): −29.0 ms, p 0.60. P2 (data-table shadow measure + badge palette memo): +7.5, p 0.79. P3 (sidebar row menu mounts on first use): −5.1, p 0.96. All three: −21.3, p 0.66 (20 vs 20, HTTP/2, interleaved with main and control 1afd9c13).
CPU what-if on main: CPU ×0.5 → −72.6 ms, ×0.05 → −78.8 ms (both p 0.002). All main-thread CPU together is worth about 80–90 ms of simulated LCP on a quiet box; there the list is network-bound (floor about 2190 ms).
Seat routing · 2026-12-01T03:02Z · on zone osa-ux's measurement (report 7299200690, release 7299243333).
This card's premise is that main-thread script evaluation holds the first screen over 2.5 s. The measurement answers it: all main-thread CPU together is worth about 80–90 ms of simulated LCP on the object list, the list's floor is about 2190 ms (network), and none of the three S/M render cuts (P1–P3, nor all three) moves LCP beyond noise (p 0.60–0.96). So this card is closed as not planned, with the reading as its record. Reopen if a later in-band reading shows the list held over 2500 ms by render CPU on a quiet box.
P3 (sidebar row menus mount on first use, about −200 ms of long tasks unthrottled) is a responsiveness change with no user-visible LCP effect measured. Under filing-gate.md it is not filed as its own card; it can ride a PR that touches the same file.
area:uxbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p2Medium: important, M3
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 M; rationale: 1.1–1.8 s of main-thread script evaluation before LCP, mostly render work. Queued as its own seam under the maintainer's 13:43Z ruling on #37444. p2, like the parent.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#2 · os-sales · session_01L6bhgU8Bf564ZGXi4MfHWb
Claim: card thread of seat 2 · 2026-11-26T22:28Z
Session:
session_01L6bhgU8Bf564ZGXi4MfHWbSeat session:
session_01L6bhgV6i8jfWwSXjpWJrjAAccount:
os-salesBranch:
claude/project-thread-xtck3b(restarted from the latestmain)Domain:
domain:uiSeat:
repo:objectstack#2Area:
s2-ux(card thread)File surface: the Console first-render path under
ui/apps/console/srcandui/packages/*/src(the shell, the object list and record routes, the components the profile names); named by the profile before any codeContainer & model:
M,mode:thread,model: default,effort: highClause-②: no
Metadata-protocol: none
Thread-read: 7194528349
Premise: inbox (first step: an HTTP/2 profile of the first render on the list and record pages, then the profile decides the cut)
Parent: Part of #37444
This is the next slice of #37444, after #37574 closed as not planned. I re-read the card at claim time: updated 14:20Z, and there are no body-rewrite notes.
Readings follow the protocol on #37444 (comment 7204693346): HTTP/2 TLS is the reading and HTTP/1.1 is the control, with the #37444 method otherwise. The HTTP/2 baseline at
9476092cis home 2297, list 2837, record 2685 ms. The PR will carryPart of #37444andFixes #37575.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#2 · os-sales · session_01L6bhgU8Bf564ZGXi4MfHWb
Reading · card thread of seat 2 · 2026-11-27T00:00Z. First slice opened as draft PR #37722 (Part of #37444, Part of this card). This card stays open.
What the slice does. While a Console page first loads, the shell re-renders about ten times as its boot reads land, and each pass redrew every sidebar entry with its ⋯ menu and tooltip (about 2,700 components a pass). The PR memoises the nav row on what it shows, keeps the sidebar's template context and row action renderer stable, splits the row menu into a stable view, and builds the console's expression user once per auth user. On the list page, re-rendered components before 3 s go from 28,860 to about 11.4k–14k.
Reading (production build,
objectstack startwithNODE_ENV=production, local HTTP/2 TLS front, Lighthouse 13.6.0 desktop preset, headless Chrome for Testing 158, 4-core container, signed in, cold cache; the acceptance condition of #37444 ruling 7205984444). Median LCP in ms:9476092c, 5 runs)Home passes; the list misses by 175 ms and the record page by 61 ms. The HTTP/1.1 control does not move outside its noise: there the first screen waits on queued script requests, so render CPU is not on its critical path.
What-ifs on the after build (h2, 2 runs each, list / record):
The CPU multiplier scales all main-thread work (parse, compile, script and render together), so render is only part of what it removes. Even at one twentieth of the CPU the list page gains only about 0.4 s, while unlimited bandwidth gains about 1.2 s: bytes (#37572) is the larger lever and the next slice. Halving all CPU would bring both pages under 2500 ms, but render work alone is a fraction of that half.
What is left on this card. The big render item is the grid after its data lands: 4–5 re-render passes from the measurement layout effects in
data-table.tsx(550–1,080 components each), and the per-row Radix mount re-render (about 1,160 components). These were deliberately left out of #37722 to keep it small, as ruled.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
Release: seat 2 · 2026-11-27T06:28Z
Slice 1 landed in PR #37722 (Part of; the sidebar memo cascade). No thread holds the next slice: area s2-ux is at its cap of three running threads, and the first-load route for #37444 is waiting on a maintainer decision about spec's build granularity (#37805).
pm:dispatched→pm:queue, assignee cleared, so the card is not held without work. Resume-from: none (no unmerged branch). The next claimant reads #37444's readings first (h2 medians; list 2652 ms, record 2640 ms).12 remaining items
objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7
Claim: PM loop round 1 · 2026-12-01T00:57Z · measurement phase only (no product code)
Session:
session_01WGufzfcCk7a8bQdgyaxzu7Account:
os-support-aiBranch: none in this phase — a measurement-only os-dev writes no product code and pushes nothing; the build is claimed by a claim amendment with an exact file list after the reading
Worktree:
objectstack-issue-37575Domain:
domain:uiSeat:
repo:objectstack@os-support-aiArea:
osa-uxRelease provenance: seat 2's hand-back 7218184722 ("Release: seat 2's in-hand slices are done; nothing is in flight on this card"), routed to this zone by the seat (repo:objectstack@os-support-ai, 2026-12-01T00:56Z); the release sits mid-paragraph, seat 2 is asked to restate it at line start.
File surface:
/mnt/project-files/card-37575/(reason: readings only, outside the repo; no repo file is written in this phase; stop on breach; explain in the report)Container & model:
S,mode:subagent,model: default (dispatch-gates --tier: no path-derived mandate; no repo path in this phase),effort: high (reason: measurement design on a noisy shared box: fixed control arm and a component-level first-render profile)Clause-②: no
Metadata-protocol: none
Responsibility:
objectstack console (object list page first-screen LCP 2564.8 ms vs the 2500 ms threshold, release 7268927874 on #37444; the remaining gap is not first-load bytes) | none | every console user opening an object listThread-read: 7218184722
Premise: holds — #37444's last reading (7264938326, HTTP/2, 20 vs 20) has the list at 2564.8 ms; record 2469.7 and home 2179.4 meet the bar. #37903 (selector subscriptions) closed at PR 1 under maintainer ruling 7242124712 (build PR 2 only if the record page gains ≥ 30 ms), so it is not the next lever.
Pre-claim lane:
domain:ui(file ownership only); any cut it names lands inui/**, inside zone osa-ux.Pre-claim deps: none.
Prior rulings read: #37444 threshold ruling 7178954860 on #35212 and its HTTP/2 amendment 7205984444 (the reading protocol); 「先做最小一刀,其余立卡排队」 (maintainer on #37444, 2026-11-26 13:43Z, cited by this card's filing gate); maintainer ruling 7242124712 (the ≥ 30 ms bar that ended #37903). A cut whose measured effect is under the session noise (±50 ms, release 7268927874) is reported, not built.
Fold-or-serial: one card; #37444 stays the parked umbrella (seat routing 2026-12-01T00:56Z).
Serial constraints cleared:
none — no repo file in this phase; the build amendment runs check-handover --inflight and overlap-check on its exact filesobjectstack-fleet commentedon Dec 1, 2026
repo:objectstack#2 · os-warren · session_01JQwxba2oTCUuCosPm6pkRu
Release: repo:objectstack#2 holds nothing on this card 2026-12-01T00:58Z. This restates the hand-back 7218184722 (2026-11-27T12:22Z, made by this seat's earlier occupant), whose release sat mid-paragraph where
card-pick.mjsdoes not read it. Back inpm:queuefor the area:ux seat; requested by os-support-ai (7296935816 on #38597).objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7
os-dev-report
Read at 2026-12-01T02:58Z
Measurement phase of claim 7296940676, no product code, nothing pushed, no PR. No S/M render cut clears 2500 on the list with p under 0.05. Three probes (SchemaRenderer post-mount re-render, the grid's measurement pass plus badge colour maths, the sidebar row menus mounting on first use) read −29, +7.5 and −5 ms against main at 20 vs 20 (all p 0.6 or more), and −21 ms combined (p 0.66). The reason is in a CPU what-if on the same box: removing 95 % of all main-thread CPU moves the list's simulated LCP by only 79 to 87 ms (p 0.002) when the box is quiet. On a quiet box the list is network-bound (floor about 2190 ms), and main already reads 2268 to 2343 ms. The PM hypothesis "the gap is render work" holds only on a loaded box: within the session, the list reads about 51 to 69 ms slower per unit of load average (r 0.69), so sibling CPU on the shared container, replayed by Lantern at CPU x1, is what has been putting the list over 2500.
0fc9eab91afd9c13design.md), so by that rule this session gives no done-when verdict. The probe comparisons are within-session and interleaved, so they stand. Main read 66.6 ms slower than the control here (round-stratified: 40.5 ms slower, p 0.07); earlier sessions read main 37 to 55 ms faster, and once 48 ms slower.1. First-render profile of the object list (main)
React profiling build, unminified, a DevTools-hook stub that walks the fibers which began work each commit (renders = PerformedWork, self time = selfBaseDuration), 5 cold loads, medians, before LCP: 35 commits, 11,739 component renders, 4,720 mounts, 593 ms of React render; 1,239 ms of long tasks.
forceUpdate()after mount; three DataTableRenderer layout-measure states (the right-shadow placement, two others); ObjectGrid's object schema arriving. P1 removed the SchemaRenderer pass and a DataTableRenderer pass of the same size took its place (net renders unchanged); P2 removed the right-shadow pass and the ObjectGrid pass moved before LCP. The cells re-render because nothing below DataTableRenderer is memoised, so each independent state source costs a full pass.Lighthouse trace attribution
The minified build's
bootup-timeputs 1,384 of 1,438 ms of script evaluation onvendor-react. That is an attribution artifact: tasks are entered through React's scheduler, so the top-of-stack URL is always vendor-react. With the V8 sampler on an unminified production build (LighthouseadditionalTraceCategories), React's own code is about a quarter of JS self time (444 of 1,894 ms in one run); the rest is app chunks, Radix and native DOM work. Named hot spots before LCP (self or inclusive, one loaded-box run): the sidebar boot task alone is 741 ms;appendChild139 ms; Radix Collapsible and Presence measuring on mount (getBoundingClientRect, getComputedStyle) about 120 ms; the per-iconDynamicIconimports 75 ms (69 icon chunks);usePackagePostureReadfrom 50 sidebar rows, each awaitingwhenQuietwith its own listener and timers, 44 ms plus most of 34 ms ofsetTimeout; nav visibility CEL evaluation 28 ms;Notification.permissionread on every InboxBell render 8 to 23 ms; PageHeadermeasure28 to 40 ms; per-requestconsole.debugwith a meta object in the HTTP logger 22 to 91 ms (only costly with a DevTools protocol client attached, as Lighthouse is);deriveHexBadgePalette(four 101-step contrast walks per badge per render) about 15 ms.2. Candidate cuts
ui/packages/react/src/SchemaRenderer.tsxDataTableRightShadow; hex badge palette memoised per colourui/packages/components/src/renderers/complex/data-table.tsx,ui/packages/fields/src/hexBadgePalette.tsui/packages/app-shell/src/layout/SidebarItemMenu.tsx3. Recommendation
No S/M cut clears 2500 on the list with p under 0.05. Evidence: none of the three probes, nor all three together, moves the simulated LCP beyond noise (CI half-widths about 80 ms); and the CPU what-if bounds every render cut at about 80 to 90 ms on a quiet box, where main is already under 2500. Render CPU only decides the verdict when sibling load inflates the trace's task durations, and then the box state moves the reading by more (68 ms per unit of load) than any of these cuts. I would not build P1 to P3 for this card's metric. P3 is the one with a real CPU saving (−950 mounts, about −200 ms of long tasks unthrottled); it is worth building only as a responsiveness change, not as the LCP cut. The done-when question (score a session only with the control in band, or restate it relative to the control) is the open option on #37444 (release 7254228001); that choice is the seat's or the maintainer's. I did not re-measure the #37903 selector prototype (ruling 7242124712), so it is not re-proposed.
{ "issue": 37575, "status": "reading", "branch": "none (measurement only; local worktree objectstack-issue-37575 on branch claude/issue-37575-render-cpu-probe at 0fc9eab9, never pushed)", "pr": null, "session": "session_01WGufzfcCk7a8bQdgyaxzu7", "premise_still_valid": true, "summary": "Measurement only, as ordered. On main 0fc9eab9 the object list's first render is 35 commits, 11,739 component renders, 4,720 mounts and 593 ms of React render before LCP (profiling build, 5 runs); the grid re-renders whole-table three to four times around the rows' first paint from independent state sources (SchemaRenderer post-mount forceUpdate, DataTableRenderer layout-measure states, ObjectGrid schema). Three S/M probes, 20 vs 20 interleaved with main and control 1afd9c13 on the list (HTTP/2, Lighthouse 13.6.0 desktop): P1 -29.0 ms (p 0.60), P2 +7.5 (p 0.79), P3 -5.1 (p 0.96), all three -21.3 (p 0.66); round-stratified and load-adjusted reads agree (none significant). CPU what-if on main: x0.5 -72.6 ms, x0.05 -78.8 ms (p 0.002), so all main-thread CPU is worth about 80-90 ms of simulated LCP on a quiet box; the list's floor is about 2190 ms (network) and main reads 2268-2343 ms. Within the session LCP rises 51-69 ms per unit of load average (r 0.69). The control read 2276.8 ms, below the 2350-2680 band, so no done-when verdict is scored from this session. Premise: the list is over 2500 only on a loaded box; the PM hypothesis that the remaining gap is render work holds for loaded sessions, and render CPU is not a lever that clears the line on its own. Recommendation: no S/M cut clears 2500 with p under 0.05; do not build P1-P3 for this metric.", "tests": "No product test: no product diff. Instrument: production builds (main via turbo pnpm build + pnpm console:build, VERDICT command-exit 0; control in its own worktree, VERDICT command-exit 0, held 571 s; probes via vite build of the console only, each VERDICT command-exit 0; a vite-only rebuild of clean main is byte-identical to the turbo dist: same 4392 asset names, identical index.html). Served by objectstack start (NODE_ENV=production, sqlite, fresh home per arm) behind a local Node HTTP/2 TLS front; signed in through the Console login form. Lighthouse 13.6.0 node API, desktop-config unchanged (simulate, rtt 40, 10240 kbps, cpu x1, storage reset on); headless Chrome for Testing 158.0.8127.36. s1: blocks of 5, rounds M C P1 P2 P3 A / A P3 P2 P1 C M / C M P2 P1 A P3 / P3 A P1 P2 M C, 120 runs, 0 invalid, every block under the verify lock (8 acquisitions, VERDICT command-exit 0 each). s2: cpu 1/0.5/0.05 then reversed, 30 runs. p: two-sided permutation on the median difference, 20,000 shuffles; bootstrap 95% CI; round-stratified permutation; OLS with load1. Profile: React profiling build (react-dom/profiling alias, minify off), DevTools-hook fiber walk, 5 cold loads per arm. Attribution: Lighthouse trace with disabled-by-default-v8.cpu_profiler on an unminified production build, 3 runs. Raw rows, design, reports, profiles, patches and tools: /mnt/project-files/card-37575/.", "gates": "NOT MEASURED: every derived family, reason: no product diff (measurement phase, nothing committed), so dispatch-gates has no changed files to read; no PR, so no check-runs. overlap-check not run: nothing pushed.", "mcp_calls": "0 — no MCP GitHub tool used; the card and #37444's thread were read with REST GETs", "api_writes": "1 — this os-dev-report comment on #37575 through scripts/pm/post-stamped.mjs (relay). No push, no PR, no label, no assignee", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: #37575 (this report) · noted, not filed — the grid re-renders all cells on each independent DataTableRenderer state change (no memo below it); fixing one pass exposes the next (P1). Dedupe words: data-table whole-table re-render, measurement layout effect setState, SchemaRenderer forceUpdate mount", "carrier: #37575 (this report) · noted, not filed — 50 sidebar rows each call usePackagePostureRead, each awaiting whenQuiet with its own listener and timers; Notification.permission read on every InboxBell render; HTTP logger console.debug per request with a meta object in production; deriveHexBadgePalette uncached. Each is a CPU cost of roughly 10-45 ms before LCP with no user-visible defect, so none is filed", "carrier: #37444 · noted, not filed — Lighthouse bootup-time attributes nearly all script evaluation to vendor-react because tasks enter through React's scheduler; the 'mostly vendor-react render work' reading in this card's body is that attribution, not React's own cost (about a quarter of JS self time when sampled)" ], "deviations": "1) status 'reading': measurement order, no PR; a subagent cannot post a decision card. 2) The instruments under card-37444/ (a-measure, recut) are not on this mount (only seat folders exist), so the instrument was rebuilt from the method in 7264938326 and is saved under card-37575/tools. 3) The control read below its band, so per the pre-set rule this session scores no done-when verdict; probe comparisons are within-session. 4) The rprof profile arms ran in sequence, not interleaved; their render and mount counts are structural, their millisecond figures carry box drift. 5) Throwaway local auth secret and account password were kept in mode-600 files under the scratchpad, never printed. 6) design.md's first draft said written ~02:30Z; corrected on the mount to the actual time, immediately before the first scored run; the rules were not changed." }Method notes
Probe diffs (local only):
probes/P1-schemarenderer-mount-recheck.patch(1 file, +5/−7),probes/P2-grid-measure-overlay-and-badge-palette-memo.patch(2 files, +80/−45),probes/P3-sidebar-item-menu-mounts-on-first-use.patch(1 file, +55/−3). Each probe arm ran its own server on a copy of the showcase app directory whose console package points at that arm's dist; main and control ran from their own worktrees.Block medians (list, s1): main 2404 / 2306 / 2343 / 2297; control 2400 / 2275 / 2260 / 2254; P1 2450 / 2471 / 2256 / 2239; P2 2487 / 2452 / 2252 / 2244; P3 2452 / 2388 / 2279 / 2216; all 2413 / 2399 / 2296 / 2272. Rounds 1 and 2 ran at load average about 3 to 4.5, rounds 3 and 4 at about 1.1 to 2.5; every arm has two blocks in each regime. Every run is in
score-s1.txtandrows.jsonl.Why the simulated LCP barely sees CPU on a quiet box (from the Lantern code in Lighthouse 13.6.0): a fetch answer is not an edge, so the boot read chain does not serialise in the simulation; the LCP graph keeps the CPU tasks that evaluate scripts, send requests or lay out, and they overlap the 2.2 MB of scripts still downloading at 10 Mbps. Only the CPU left after the last needed script arrives lengthens LCP, which is what the x0.5 and x0.05 arms measure.
These are shared-box readings: the lock excludes other locked runs, not unlocked sibling work.
objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7
Release: 2026-12-01T03:00Z · session
session_01WGufzfcCk7a8bQdgyaxzu7(claim 7296940676, measurement phase only) →pm:queue, assignee cleared. Nothing landed, nothing pushed, no PR.Reading: os-dev report 7299200690 (raw rows, instrument and probe patches under the project folder card-37575/). No S/M cut clears 2500 ms on the object list with p < 0.05:
1afd9c13).Premise: holds only in part — render work decides 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 verdict only when sibling load on the box inflates task durations, and that load moves the reading more than any S/M cut.
Left for the seat: (1) whether this card stays open for P3 as a responsiveness change (−950 mounts, −1,014 renders, about −200 ms unthrottled long tasks; not an LCP lever) or closes on this reading; (2) 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's done-when under box noise (score only in-band sessions, or state the threshold against the fixed control) is an acceptance question for the maintainer, not a zone call.
objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Seat routing · 2026-12-01T03:02Z · on zone osa-ux's measurement (report 7299200690, release 7299243333).
filing-gate.mdit is not filed as its own card; it can ride a PR that touches the same file.perf(console): the sidebar no longer redraws every entry each time th…
perf(console): a list page draws its rows once before they paint, and…
perf(app-shell): the form list's words load with the Studio list, not…