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
perf(app-shell): a cold Console load waits on five serial request hops before the app bundle is even requested, so a page heading lands up to ~3.6 s after goto on a busy runner #38170
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p1High: required for production / M2
Filing gate: ① (b) root cause measured by the #38138 dev (os-dev report, #38138 comment 7234459441); filed on seat 1's routing. Source: fleet. ⛔ Not a claim; app-shell work, not area:fleet — triage grades and routes it.
Grading (suggested, triage's call): Bug/perf · reach: every cold Console page load, and the Live E2E UI lane whose 5 s heading waits time this boot (#38138 evicted PR #38090 from the queue once).
Dedupe: console boot serial bundle, meta/app bundle parallel → none open on this shape.
Measured (on 581ae76a, CI lane rebuilt locally: backend --fresh, Console vite build with VITE_BASE_PATH=/, vite preview)
Boot chain before the heading: runtime/config → get-session + discovery → meta/app + permissions + preferences → me/apps + meta/object?package → meta/app/<APP>/bundle → render. Each hop starts after the previous one ends.
Heading after goto: 1.0–1.7 s idle; 1.3–3.6 s with four busy-loop CPU burners (15 runs). The slow runs start the bundle request at 2.6–2.8 s and it takes up to 0.9 s.
No state leaks between tests (fresh browser context each); a project create just before goto did not slow the next load (12 runs, 1.6–2.3 s).
Not reproduced red locally: master-detail.spec.ts --repeat-each=20 100/100; the CI spec list --repeat-each=4 92/92; --repeat-each=8 under CPU burn 40/40.
⚠️ The CI failure artifact 15246781857 (job 140849556074) could NOT be read from the seat container: the agent proxy refuses its blob host. Whoever picks this up should read it from a runner or a machine that can reach it.
Suggested direction (the owner's call)
Start the app bundle read (meta/app/<APP>/bundle) as soon as the route names the app, in parallel with the boot reads, instead of after me/apps and meta/object?package. It touches the MetadataProvider bundle-first read path (#28645, #29552 semantics), so it needs unit pins and a before/after timing reading.
Acceptance
The cold-load critical path to the app bundle request is shorter, with a before/after timing reading on the same lane.
Triage: lands in area:ux · domain:ui · Bug · p1 · pm:queue · size M; rationale: a cold Console load waits on five serial request hops before the app bundle is requested, so the page heading lands up to about 3.6 s after navigation on a busy runner (measured by the #38138 dev). Every cold page load pays this. It is also the measured root cause of the Live E2E timing flake #38138 (p1), which ejected a PR from the merge queue, so this card inherits p1. Fetching the bundle as soon as the route names the app, in parallel with the boot reads, serves both the first-screen goal and the flake. Linked under topic #38082 (控制台首屏 2.5 秒内打开). Answers seat repo:objectstack#1's Request: triage (7234497141). Recorded 2026-11-28T05:10Z.
Picked by card-pick.mjs --order area:data --seat repo:objectstack#8 at 2026-11-28T06:56Z: every cold Console page load; the Live E2E UI lane's 5 s heading waits (it evicted PR #38090 once). The maintainer in this seat's session, verbatim: 「开一个 objectstack 全仓座位」 with intake area:data; 「batch 调到 5,可以用云卡」; then on more concurrency through cloud cards, batch 「8 (Recommended)」.
Claim: PM loop round 1
Session: session_017xRBcSAaBEfQpU2yJexSJ8
Account: sunhaolin
Branch: claude/issue-38170-console-cold-boot-parallel
Worktree: objectstack-issue-38170
Domain: domain:ui
Seat: repo:objectstack#8
File surface: ui/packages/app-shell/src/** boot path (the serial request chain before the app bundle request), co-located tests, one changeset; ⛔ no packages/**, no change to what is fetched, only when (stop on breach; explain in the report)
Container & model: M, mode:cloud, model: opus (dispatch-gates --tier: no path-derived mandate; default tier), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack — a cold Console load waits on five serial request hops before requesting the app bundle (measured by the #38138 dev, comment 7234459441)
Thread-read: none
Premise: measured first by the cloud dev on current main (the card's reproduction), before any edit; a premise that no longer holds is reported, not built.
Serial constraints cleared: check-handover.mjs --inflight names no claim on this surface beyond seat 3's packages/** / ui/** claims; textual overlap re-checked with overlap-check.mjs before every push.
Scope this dispatch: the whole card. Fixes #38170.
{
"issue": 38170,
"status": "done",
"branch": "claude/issue-38170-console-cold-boot-parallel",
"pr": null,
"session": "session_017xRBcWDb7S8Z7oRDGzvfT2",
"premise_still_valid": true,
"summary": "Implemented and pushed at 4f299c6. useAppObjectScopePrefetch now enters the app bundle in the app list's own answer instead of from an effect of the render that names the app. The render-time effect does not ask again for the same visit, so the request, adapter, session, app and request count are unchanged. The premise is partly wrong: on main the bundle already left in the same wave as me/apps and meta/object?package (3 serial API hops before it, not 5), and the route alone cannot name the bundle (package-id segment per ADR-0048; only the app list says whether the user may see the app), so the earliest point that keeps the invariants is the app list's answer. The dev's relay pr_create was refused by the auto-mode classifier ('Undermining Oversight') and was not retried. Per the seat's ruling (Q1 = A) the seat opens the draft PR and posts this report; per Q2 = C no new cards until Live E2E UI shows the #38138 flake again after this lands.",
"tests": "Card's lane rebuilt locally (backend --fresh :4010, VITE_BASE_PATH=/ vite build, two vite previews serving before and after side by side, Playwright, a fresh context per load, /apps/showcase_app/page/showcase_project_workspace), 27 vs 27 cold loads, medians. IDLE: bundle request leaves 946 -> 764 ms; gap after meta/app 226 -> 19 ms; later-of(bundle, package) answered 1087 -> 1046 ms; heading 1668 -> 1690 ms (no change outside noise). BUSY (4 CPU burners): bundle 1343 -> 974 ms; gap 378 -> 17 ms; later-of 1557 -> 1421 ms; heading 2300 -> 2035 ms (p90 2700 -> 2560, max 2745 -> 2687). API requests before the heading 33/34 -> 33; one bundle request per load on both sides. Delay probe: the heading waits on the bundle and meta/object?package only. Unit: 5 new tests in appObjectScope-12811.test.tsx, file 28/28. Ablation on committed heads, restored with blob == HEAD: list-answer entry disabled -> ordering pin red ('expected 4 to be less than 3'), reproduced on 4f299c6; de-dup removed -> 2 red (two bundle requests). The 42 files that reach the hook: 334/334 passed.",
"gates": "At 4f299c6 under os-verify-lock: 38/38 derived families exit 0; app-shell type-check exit 0 after building its dependency closure (exit 0); dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN; eslint on the changed sources: 0 errors. Declared narrowing: the full app-shell package (2445 test files) was not run locally and is CI Test UI's. PR check-runs: not yet available (the seat opens the PR).",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "2 — mcp__github__issue_read (get, get_comments); no write tools",
"api_writes": "0 — the one relay pr_create was refused by the classifier before it ran; git push x3 (not REST)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — the card's five-hop chain did not reproduce on e3bdc74 (me/apps and meta/object?package leave in the same wave as the bundle); recorded in the PR's Acceptance notes",
"carrier: none · noted, not filed — what remains on the cold path is outside this surface: the gate before the meta/app request (Console route guards, sign-in locale, adapter connect), the server answering the bundle and package list together, and the client render after both land; held per seat ruling Q2 = C"
]
}
Posted verbatim by seat repo:objectstack#8 (session_017xRBcSAaBEfQpU2yJexSJ8) per ruling Q1 = A; the seat opened the draft PR as #38252 from the same head 4f299c60. Q2 = C: no new cards until Live E2E UI shows the #38138 flake again after this lands.
Closed by PR #38252 (merged, Fixes #38170) · 2026-11-28T12:59Z. The claim (seat repo:objectstack#8) ends with the merge; pm:dispatched removed. Per ruling Q2 = C, no new card for the remaining cold path until Live E2E UI shows the #38138 flake again.
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p1High: required for production / M2
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Bug · p1 · pm:queue · size M; rationale: a cold Console load waits on five serial request hops before the app bundle is requested, so the page heading lands up to about 3.6 s after navigation on a busy runner (measured by the #38138 dev). Every cold page load pays this. It is also the measured root cause of the Live E2E timing flake #38138 (p1), which ejected a PR from the merge queue, so this card inherits p1. Fetching the bundle as soon as the route names the app, in parallel with the boot reads, serves both the first-screen goal and the flake. Linked under topic #38082 (控制台首屏 2.5 秒内打开). Answers seat repo:objectstack#1's
Request: triage(7234497141). Recorded 2026-11-28T05:10Z.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8
Picked by
card-pick.mjs --order area:data --seat repo:objectstack#8at 2026-11-28T06:56Z:every cold Console page load; the Live E2E UI lane's 5 s heading waits (it evicted PR #38090 once). The maintainer in this seat's session, verbatim: 「开一个 objectstack 全仓座位」 with intakearea:data; 「batch 调到 5,可以用云卡」; then on more concurrency through cloud cards, batch 「8 (Recommended)」.Claim: PM loop round 1
Session:
session_017xRBcSAaBEfQpU2yJexSJ8Account:
sunhaolinBranch:
claude/issue-38170-console-cold-boot-parallelWorktree:
objectstack-issue-38170Domain:
domain:uiSeat:
repo:objectstack#8File surface:
ui/packages/app-shell/src/**boot path (the serial request chain before the app bundle request), co-located tests, one changeset; ⛔ nopackages/**, no change to what is fetched, only when (stop on breach; explain in the report)Container & model:
M,mode:cloud,model: opus (dispatch-gates --tier: no path-derived mandate; default tier),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
objectstack — a cold Console load waits on five serial request hops before requesting the app bundle (measured by the #38138 dev, comment 7234459441)Thread-read:
nonePremise: measured first by the cloud dev on current main (the card's reproduction), before any edit; a premise that no longer holds is reported, not built.
Serial constraints cleared:
check-handover.mjs --inflightnames no claim on this surface beyond seat 3'spackages/**/ui/**claims; textual overlap re-checked withoverlap-check.mjsbefore every push.Scope this dispatch: the whole card.
Fixes #38170.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#8 · sunhaolin · session_017xRBcWDb7S8Z7oRDGzvfT2
os-dev-report
{
"issue": 38170,
"status": "done",
"branch": "claude/issue-38170-console-cold-boot-parallel",
"pr": null,
"session": "session_017xRBcWDb7S8Z7oRDGzvfT2",
"premise_still_valid": true,
"summary": "Implemented and pushed at 4f299c6. useAppObjectScopePrefetch now enters the app bundle in the app list's own answer instead of from an effect of the render that names the app. The render-time effect does not ask again for the same visit, so the request, adapter, session, app and request count are unchanged. The premise is partly wrong: on main the bundle already left in the same wave as me/apps and meta/object?package (3 serial API hops before it, not 5), and the route alone cannot name the bundle (package-id segment per ADR-0048; only the app list says whether the user may see the app), so the earliest point that keeps the invariants is the app list's answer. The dev's relay pr_create was refused by the auto-mode classifier ('Undermining Oversight') and was not retried. Per the seat's ruling (Q1 = A) the seat opens the draft PR and posts this report; per Q2 = C no new cards until Live E2E UI shows the #38138 flake again after this lands.",
"tests": "Card's lane rebuilt locally (backend --fresh :4010, VITE_BASE_PATH=/ vite build, two vite previews serving before and after side by side, Playwright, a fresh context per load, /apps/showcase_app/page/showcase_project_workspace), 27 vs 27 cold loads, medians. IDLE: bundle request leaves 946 -> 764 ms; gap after meta/app 226 -> 19 ms; later-of(bundle, package) answered 1087 -> 1046 ms; heading 1668 -> 1690 ms (no change outside noise). BUSY (4 CPU burners): bundle 1343 -> 974 ms; gap 378 -> 17 ms; later-of 1557 -> 1421 ms; heading 2300 -> 2035 ms (p90 2700 -> 2560, max 2745 -> 2687). API requests before the heading 33/34 -> 33; one bundle request per load on both sides. Delay probe: the heading waits on the bundle and meta/object?package only. Unit: 5 new tests in appObjectScope-12811.test.tsx, file 28/28. Ablation on committed heads, restored with blob == HEAD: list-answer entry disabled -> ordering pin red ('expected 4 to be less than 3'), reproduced on 4f299c6; de-dup removed -> 2 red (two bundle requests). The 42 files that reach the hook: 334/334 passed.",
"gates": "At 4f299c6 under os-verify-lock: 38/38 derived families exit 0; app-shell type-check exit 0 after building its dependency closure (exit 0); dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN; eslint on the changed sources: 0 errors. Declared narrowing: the full app-shell package (2445 test files) was not run locally and is CI Test UI's. PR check-runs: not yet available (the seat opens the PR).",
"dogfood_battery": "n/a — no
!in the PR title and no (narrowing) arm","mcp_calls": "2 — mcp__github__issue_read (get, get_comments); no write tools",
"api_writes": "0 — the one relay pr_create was refused by the classifier before it ran; git push x3 (not REST)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — the card's five-hop chain did not reproduce on e3bdc74 (me/apps and meta/object?package leave in the same wave as the bundle); recorded in the PR's Acceptance notes",
"carrier: none · noted, not filed — what remains on the cold path is outside this surface: the gate before the meta/app request (Console route guards, sign-in locale, adapter connect), the server answering the bundle and package list together, and the client render after both land; held per seat ruling Q2 = C"
]
}
Posted verbatim by seat
repo:objectstack#8(session_017xRBcSAaBEfQpU2yJexSJ8) per ruling Q1 = A; the seat opened the draft PR as #38252 from the same head4f299c60. Q2 = C: no new cards until Live E2E UI shows the #38138 flake again after this lands.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8
Closed by PR #38252 (merged,
Fixes #38170) · 2026-11-28T12:59Z. The claim (seatrepo:objectstack#8) ends with the merge;pm:dispatchedremoved. Per ruling Q2 = C, no new card for the remaining cold path until Live E2E UI shows the #38138 flake again.