Skip to content

perf(console): an app route draws the console's frame right after the session read, and the chrome no longer waits for the route's reads - #36014

Merged
objectstack-fleet[bot] merged 12 commits into
mainfrom
claude/project-thread-myuwkz
Nov 22, 2026
Merged

objectstack-fleet[bot] merged 12 commits into
mainfrom
claude/project-thread-myuwkz

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

Part of #35981

Clause-②: no
Metadata-protocol: none
Skills-docs: none — no authorable metadata changes (Metadata-protocol: none)

repo:objectstack#1 · os-sales · session_01L6bhgWwKdjqiYQSujUXhn7

维护者速读

  • 用链接或刷新整页打开任何应用页(记录页、列表页等)时,登录状态一确认,整屏的「正在打开你的控制台…」就换成控制台的空框架:顶栏、侧栏(宽度和用户上次留下的一样)、和页面形状一样的灰色骨架。本地测量:整屏启动画面从约 1.1 秒提前到约 0.4 秒消失;把权限接口模拟成托管环境的 3 秒时,从约 3.8 秒提前到约 0.4 秒。
  • 骨架里不出现应用名称、图标、任何菜单项或按钮:这些要等应用列表、权限和管理员判定回来才知道,所以「闪一下别的应用」「闪一下没权限的菜单」「误跳转」都不会发生,判定的输入和时机与改动前完全相同。
  • 记录内容出现的时间不变(本地约 1.5 秒,模拟 3 秒权限时约 4.2 秒),没有变慢;本 PR 只改「等待时看到什么」。数据本身更早发出要动权限前置读取,另议。
  • 出错时最坏情况是骨架和真实框架之间有一次位置跳动,可直接撤回;不改任何接口和返回格式。托管环境前后对比要等部署后才能测,卡片保持打开(本 PR 写 Part of),由座位安排。

What changes

  • New ui/packages/app-shell/src/console/ConsoleBootShell.tsx:
    • ConsoleBootShell: the console chrome's frame with nothing in it. The real AppShell from @object-ui/layout (same sidebar primitive and route-slot classes as ConsoleLayout; since feat(console): from 768 px up an app draws no top bar; the app menu, search, bell and account move to the sidebar (#36112 PR A) #36187, no top bar from 768 px up and grey blocks where the sidebar's head puts the app menu, the search and the bell and its foot the account; the 48 px top bar on a phone and on a docs page), primeConsoleSidebarOpen run before the sidebar provider reads its cookie (as ConsoleLayout does), grey blocks in the bar and the sidebar, and in the slot the skeleton of the route the URL names (metadataReadsForAppRoute). No text, no link, no button. It draws the shape the chrome will have on the route and width, from the same predicates ConsoleLayout reads (showHeader={(phone || docsPage) && !recordPageOwnsTopBar}) (moved to layout/consoleRoutePaths.ts, re-exported from ConsoleLayout): no sidebar on an app's docs pages (isAppDocsPath, feat(console): an app's docs page has one navigation — the docs column — with the path to its book and the previous and next article #36000) and no top bar on a phone record page (isRecordPagePath, objectstack#28483). It carries data-boot-splash (it is still the boot wait) and data-boot-shell.
    • ConsoleBootFallback: the frame on an /apps/:app/* route once useAuth() has answered with a user; LoadingScreen while the session read is out, with no user, on every other route (/home, auth surfaces, /forms/…), and outside a router.
    • RouteMetadataSkeleton moved here from AppContent.tsx, with a boot flag that adds data-boot-splash.
  • ConsoleShell.tsx LoadingFallback renders ConsoleBootFallback. That covers the gates between the session read and AppContent: ConnectedShellInner (adapter), RequireOrganization (organization list) and the console host's ConsolePermissionsScope (ui/apps/console/src/AppContent.tsx, now loadingFallback={<LoadingFallback />}; its error fallback is unchanged).
  • AppContent.tsx:
    • The readiness gate draws ConsoleBootShell instead of LoadingScreen, and holds only on the adapter, the app list, the admin verdict (objectui#5619) and the deployment flags (/auth/config). The flags are new to the gate: the chrome's navigation gates read them, and a navigation predicate naming a flag (features.cloudManaged != true) faults and withholds its entry while none are bound (objectui#12700). Before, the route's own reads made the chrome mount after that answer by timing only; with them off the gate, Live E2E UI caught the fault (list-row-action-cel), reproduced locally by holding /auth/config 2 s. The first-paint wait on the route's own buckets (!firstPaintDone && !routeReadsSettled, objectui#12809) is gone: the chrome mounts, and the route slot shows RouteMetadataSkeleton until routeReadsSettled, the path a later navigation already took.
    • The two access-verdict waits before the chrome (appSurfaceAwaitsVerdict, requestedAppMissing) draw the frame too.
    • The route slot's Suspense fallback is RouteMetadataSkeleton … boot instead of the full-screen LoadingScreen inside the chrome (measured locally: 0.2 s of logo splash inside the chrome while the record page's chunk resolved).
    • firstRouteDrawn (replaces firstPaintDone) keeps the first route skeleton's data-boot-splash until the route's reads have landed once.
  • RedirectWithSplash paints ConsoleBootFallback instead of LoadingScreen, so a boot redirect out of a gate that was drawing the frame (RequireOrganization → /organizations, AppContent → home) still changes no pixels during its hand-off (objectui#6378).

Read first (risk order):

  1. AppContent.tsx, the readiness gate and the route slot (RouteMetadataSkeleton, the Suspense fallback).
  2. ConsoleBootShell.tsx, RoutedBootFallback's conditions.
  3. ConsoleShell.tsx LoadingFallback, RedirectWithSplash.tsx.

Why

An /apps/:app/* open passed five gates in a row, each drawing the full-screen splash: AuthGuard (get-session), ConnectedShellInner (adapter), RequireOrganization (organization/list), ConsolePermissionsScope (/auth/me/permissions, more than 3 s server-side on the hosted environment, #35987), then AppContent's gate (app list, admin verdict, the route's own reads until the first paint). Only the first decides whether there is a session. The others decide which app this is, which navigation exists and where to redirect, and the frame shows none of those.

What each guarantee rests on, unchanged:

  • No wrong-app flash: the frame names no app. The chrome still mounts only once the app list is in and the URL's app is matched; requestedAppMissing and the access-verdict screens are unchanged.
  • No unauthorised-menu flash: navigation entries come only from the real chrome (UnifiedSidebar, AppHeader), which still mounts after the permission answer and the admin verdict.
  • No redirect loop or wrong redirect: the frame never navigates; the no-active-app redirect still waits for the admin verdict, and the organization redirects for their own inputs.
  • Boot-paint semantics (objectui#12980, readiness waits): the frame and the first route skeleton carry data-boot-splash, so the chrome's deferred feeds (sharedUserFeeds), the locale list (loadLocales) and the e2e/smoke waits keyed on that marker wait for exactly what they waited for before.

What the chrome reads before the route's buckets land: ConsoleLayout/AppHeader/CommandPalette get the object list the route has so far (the scope's or none). The header's object crumb is absent until the object lands, as on any later navigation today. Nothing in the chrome decides from it.

Verification

Before/after, the same record page (local and throttled, not hosted)

examples/app-showcase (pnpm dev -- --fresh, seeded admin), behind a local HTTP/2 TLS proxy (#35987's recipe), Chromium 1280×800, zh-CN, JS cached, DevTools throttling 300 ms RTT / 6 Mbps, 3 runs per row, full-page open of /_console/apps/com.example.showcase/showcase_project/record/<id>. Seconds from navigation start. Paint milestones from a MutationObserver: full-screen splash gone (no LoadingScreen left and the pre-JS splash gone), frame drawn (data-boot-shell), chrome drawn (console-route), record shown (its name in the route slot). The second profile holds /auth/me/permissions 3 s in the proxy, a stand-in for the hosted server time (simulated, not measured hosted).

Profile get-session answered full-screen splash gone chrome drawn record shown
300 ms / 6 Mbps before 0.38 / 0.40 / 0.35 1.69 / 1.15 / 1.09 1.51 / 0.96 / 0.87 2.10 / 1.52 / 1.46
after 0.44 / 0.35 / 0.36 0.69 / 0.37 / 0.37 (frame) 1.19 / 0.81 / 0.82 1.89 / 1.50 / 1.52
+ permissions held 3 s before 0.47 / 0.45 / 0.35 4.03 / 3.87 / 3.78 3.79 / 3.62 / 3.57 4.40 / 4.25 / 4.16
after 0.42 / 0.41 / 0.35 0.74 / 0.44 / 0.37 (frame) 3.89 / 3.63 / 3.52 4.53 / 4.26 / 4.15

Screenshots after #36187 (after2-1440-*, after2-375-*: frame, then loaded) and, from the first round, (frame → chrome → record) at 1280×800 (sidebar folded by the window width, as the chrome folds it), 1600×900 (sidebar open, same width in frame and chrome) and iPhone 13, the raw runs (*.json, summary.txt), the measurement script and the proxy: /mnt/project-files/build-seat1/35981/ in the project files.

Tests

  • ui/packages/app-shell/src/console/__tests__/ConsoleBootShell-35981.test.tsx (new, 7 cases): the frame on an app route with a user, carrying data-boot-splash, the top bar and the route skeleton; LoadingFallback draws it; a boot redirect paints it at its first commit and then lands; the frame has no text and nothing to press; no sidebar on a docs page and no top bar on a phone record page, with the sidebar and the bar kept everywhere else; the splash while the session read is out, with no user, on /home, /login, /forms/…, bare /apps, and outside a router.
  • AppContent.splashCriticalPath-12809.test.tsx (amended): before the member row answers, the frame and no chrome; after it, the chrome with the route skeleton carrying data-boot-splash; the splash marker leaves when the route draws, as before. The two CONTROL cases are unchanged and pass (a later skeleton is not the boot wait).
  • Amended where the old splash was the expected frame: AppContent.routeChunkPreload-12980 (case (a): the chrome is up under the route skeleton while the page's reads are out; the inside-the-chrome watcher counts the full-screen splash only, and case (b) now sees the route skeleton, not a splash, while the chunk loads), bootRedirectCoverage (the boot frame counts as full-viewport cover), and the LoadingFallback mock in App.homePermissions-12700 and FormPage.routePermissions-29187 (the permission scope's fallback). All four pass.
  • Local run of packages/app-shell/ and apps/console/: the first full run hit its 50-minute limit in this 4-core container after reaching those four reds and nothing else. The scoped rerun after the fixes (app-shell console/, chrome/, layout/, hooks/, and apps/console/): 892 files, 7992 tests, all pass. CI's Test UI shards carry the whole suite and are green on the head.
  • AppContent.splashCriticalPath-12809: a new case holds /auth/config and pins frame-not-chrome until it answers (red with the gate line reverted). AppContent.unresolvedAdmin-5619 (three cases, including the MUST NOT CHANGE one) now awaits the chrome, since the flags' answer is a promise even when the mock gives it at once; the admin verdict still adds no wait. AppContent.emptyNavigationLanding-12079 gets a stable getAuthConfig, as AuthProvider's useCallback gives, since a fresh one per render re-asks on every render.
  • After merging main and the L1-b should-fixes: app-shell console/, layout/, chrome/: 465 files, 3659 tests, all pass; pnpm console:build green.
  • pnpm check:test-source-alias: the amended boot-path test now mounts the chrome, which reaches @objectstack/lint lazily; it loads it at module top, as the gate asks. Green.
  • pnpm console:build (runs tsc for app-shell and the console): green.
  • ESLint on the changed files: no errors.

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (No spec change.)
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes (changed files).
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset (.changeset/35981-app-route-boot-frame.md, patch), and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: n/a.
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English (the maintainer summary is in Chinese by the maintainer's standing rule).
  • The Before Submitting list in CONTRIBUTING.md is done.

Follow-up (not in this PR): the record's own data read waits for the permission answer and the record page's mount; starting it earlier would need its own card (it reads data before the permission answer arrives).


Generated by Claude Code

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgWwKdjqiYQSujUXhn7

@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 21, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4

席位核对 — ACCEPT, with two should-fixes (L1-b)

Head-sha: a7138d5 · read 2026-11-21T07:34Z

维护者速读

Must-fix

None.

Should-fix

Checked

  • l1-face at a7138d51: changeset lists @object-ui/app-shell and @object-ui/console. Part of #35981 is right, since the hosted re-measure stays on the card. All-checks were not complete at read time: 39 success, 2 pending (Check Changeset, PR-body guards), 0 failed, mergeable unknown.
  • No wrong-app flash.
    • ConsoleBootShell reads only pathname → metadataReadsForAppRoute to choose a skeleton shape. It names no app, renders no Link, and has no button (pinned: "draws no app, no navigation entry and nothing to press").
    • requestedAppMissing and accessVerdict === null still return before ConsoleLayout mounts. They now return the frame instead of the splash, and the denied screen is unchanged.
  • No no-permission menu flash.
    • The chrome still waits for dataSource, metadataLoading (the app list) and isWorkspaceAdminResolved.
    • ConsolePermissionsScope's loadingFallback keeps the frame up while the permission answer is out.
    • Only the route's own lazy reads (routeReadsSettled) stopped holding the gate. While they are out, the route slot draws RouteMetadataSkeleton, never the route's empty or not-found state, as before.
    • Sidebar entries keep their own pending-read gates (navEntriesShownOncePendingReadsShow), which this diff does not touch.
  • No redirect loop. RedirectWithSplash still renders a fallback beside <Navigate>. The fallback is now ConsoleBootFallback, the same element the gate above it drew, so the hand-off still changes no pixels (pinned).
    • LoginRedirect goes through it with no user. useAuth returns its safe default outside a provider, user: null gives the splash, and outside a router the splash is drawn too (pinned).
  • data-boot-splash semantics.
    • The frame carries it (with data-boot-shell to tell it apart).
    • The route skeleton carries it until the first route has drawn (boot={!firstRouteDrawn.current}).
    • The chrome's Suspense fallback carries it whenever it shows, which is what the old in-chrome LoadingScreen did.
    • So sharedUserFeeds and loadLocales, which defer to the first paint past the splash, and the e2e waits still release at the same moment: after the route's reads settle. The tests touched for this are splashCriticalPath-12809, routeChunkPreload-12980 and bootRedirectCoverage.
  • firstRouteDrawn is set at render once routeReadsSettled. A chunk still suspending after that keeps the boot mark through the Suspense fallback, so the wait cannot end early.
  • useState(primeConsoleSidebarOpen) runs the priming once per frame mount, so the frame opens at the width the reader left the sidebar.

Owed

  • S1 and S2, plus a main merge, in one push. I'll read only the delta.
  • The seat re-reads Clause-② on the built declaration (per the request). L2 is the seat's. This L1 does not replace it.

@github-actions github-actions Bot added size/l and removed size/m labels Nov 21, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4

席位核对 — delta ACCEPT (L1-b)

Head-sha: 759b08f · read 2026-11-21T08:22Z · delta a7138d5..759b08f on top of ACCEPT 7059355941. The delta is the main merge 2c0e2a0 plus one commit, 759b08f (5 files, +80/−20).

维护者速读

  • 上一轮提的两处都已改好。启动时画的「骨架框」现在和真正的界面形状一致:打开应用的文档页时不画左侧菜单,手机上打开记录页时不画顶栏。界面加载完成时不会再出现「先画出来又消失」的跳动。
  • 侧栏灰条的宽度改用样式类,不再写内联样式,符合仓库的样式规范。
  • 合并主干没有带进别的改动。这个 head 上 CI 全绿,可合并状态为 clean。

Must-fix / Should-fix

None. S1 and S2 from 7059355941 are closed, and the main merge it asked for is done.

Checked

  • The merge is clean. git merge-tree --write-tree a7138d51 9b3227fe gives 69c83186, which equals 2c0e2a0's tree. The PR's net diff against its merge base is the same before and after the merge (numstat identical), so the merge brings in only main (141a826, 9b3227f).
  • S1 closed. SIDEBAR_ROWS holds the literal utilities w-[72%] … w-[68%], applied as className={`h-4 ${width}`}. The style prop is gone. The full class strings sit as literals in ui/packages/app-shell/src/**, which ui/apps/console/src/index.css scans (@source '../../../packages/app-shell/src/**/*.{ts,tsx}'), so Tailwind emits them.
  • S2 closed. The two predicates move unchanged (same regexes, same doc comments) into layout/consoleRoutePaths.ts, which has no imports. ConsoleLayout.tsx imports and re-exports them, so existing importers keep their path. ConsoleBootShell now reads them exactly as ConsoleLayout does: showHeader={!recordPageOwnsTopBar}, with recordPageOwnsTopBar = usePhoneViewport() && isRecordPagePath(pathname) (ConsoleLayout.tsx:176, :257), and sidebar={docsPage ? undefined : …} with docsPage = isAppDocsPath(pathname) (:185, :248). usePhoneViewport reads innerWidth synchronously on its first state, so the frame and the chrome agree on the first frame.
  • Test. New case 7 in ConsoleBootShell-35981.test.tsx: a desktop docs page has no sidebar but keeps its header; a 390px record page has no header. The controls are a 390px list page (header kept) and, at 1440px, the record, list and /apps/crm/docsearch routes (sidebar and header kept). The docsearch control pins the regex's (?:\/|$) boundary. innerWidth is restored in finally.
  • Changeset. The bullet now says "no sidebar on an app's docs pages and no top bar on a phone record page, as the chrome draws them", which matches the code. The frontmatter is still @object-ui/app-shell + @object-ui/console patch.
  • l1-face at 759b08f: CLEAN. 41 success, 15 expected skip, 0 failed, 0 pending; floor checks green; mergeable_state clean; Part of #35981 (the card stays open for the hosted after-deploy reading).

Owed

… from 768 px up, the sidebar's head and foot

Claude-Session: https://claude.ai/code/session_01L6bhgWwKdjqiYQSujUXhn7
Co-authored-by: Claude <noreply@anthropic.com>
…n gates read

A navigation predicate naming a flag faulted and withheld its entry when
/auth/config answered after the chrome mounted, which the chrome no longer
waiting for the route's own reads made possible.

Claude-Session: https://claude.ai/code/session_01L6bhgWwKdjqiYQSujUXhn7
Co-authored-by: Claude <noreply@anthropic.com>
…its for the deployment flags

Claude-Session: https://claude.ai/code/session_01L6bhgWwKdjqiYQSujUXhn7
Co-authored-by: Claude <noreply@anthropic.com>
…ts for the deployment flags

Claude-Session: https://claude.ai/code/session_01L6bhgWwKdjqiYQSujUXhn7
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4

席位核对 — delta ACCEPT, with one should-fix (L1-b)

Head-sha: 0865f61 · read 2026-11-22T02:22Z · prior records ACCEPT 7059355941 @a7138d51, delta ACCEPT 7059872679 @759b08f6 · delta 759b08f..0865f61 = main merge f119893 + cd5a6eb + 91efd09 + 423bf5b + 0865f61

维护者速读

这轮有两处改动。第一,打开应用页时先画出的“空壳”改成新外壳的样子:768 px 以上不再画顶栏,侧栏上方留出应用菜单、搜索、铃铛的灰块,下方留出账户的灰块;手机照旧有顶栏,记录页除外。第二,外壳现在还要等部署开关(/auth/config)答复后才出现。不等的话,依赖开关的菜单项会先被藏起来、随后又冒出来。这不会把 #35981 去掉的等待加回来:页面自己的元数据读取仍然不挡外壳,开关请求和应用列表、权限这些读取同时发出,又是很小的公开接口。代价只在这个接口卡住时出现,见 N1。另有一条测试被放宽了,建议收紧后再合(S1)。

Must-fix

None.

Should-fix

  • S1 ui/packages/app-shell/src/console/__tests__/AppContent.unresolvedAdmin-5619.test.tsx, case "MUST NOT CHANGE — a resolved viewer with an accessible app enters it with no extra wait". It used to be a synchronous getByTestId, which proved the chrome was there on the first render. It is now await findByTestId, which polls for up to 1 s, so a regression that adds any sub-second wait on this path (a deferred tick, a short timer) would still pass, and the case can no longer say "no extra wait". The only wait 91efd09 adds is the deployment-flag promise, which the mock answers at once. Pin exactly that: flush once with await act(async () => {}), then keep the synchronous getByTestId(...). Any equivalent that admits the microtask and nothing more also works. Test-only; I read it as a small delta.

Nits

  • N1 AppContent.tsx featuresSettled: getConfig() is single-flight and cached for the signed-in stretch, so a sign-in, or any earlier read in the tab, makes it instant. On a cold reload it runs alongside the other gate reads. If /auth/config alone hangs, the chrome now waits out the client's retry cycle before failing open: 4 attempts at 8 s each plus 0.5 + 1.5 + 3.5 s backoff, about 37.5 s at worst. Before this PR the chrome would have mounted with flag-gated entries withheld. Failing open after that cycle is right, and the failure needs only this one endpoint to be broken. No change needed now; if it ever shows up, a shorter gate-only cap is the lever.

Checked

  • Merge f119893 (759b08f + main af2361e): no conflicts; the auto-merge tree equals the merge tree, and the net diff is identical before and after (changed lines). Against current origin/main 48c732c, git merge-tree --write-tree --name-only is clean.
  • cd5a6eb ConsoleBootShell:
    • showHeader={(phone || docsPage) && !recordPageOwnsTopBar} is the same predicate as ConsoleLayout.tsx:274.
    • The sidebar takes CONSOLE_BELOW_TOP_BAR on a phone only, mirroring UnifiedSidebar's !rail.desktop (:716, :949).
    • The head and foot grey blocks are drawn only when !phone && !docsPage; there is still no app name, no entry and nothing to press.
    • The 1440 boot-frame and loaded shots (after2-1440-*) line up: head rows, the account foot and the sidebar width.
    • The 35981 case 7 pins the shape by width and route.
    • The changeset bullet is re-worded to match.
  • 91efd09 gate:
    • featuresSettled turns true on answer, on failure, and when getAuthConfig is not a function.
    • The cancelled guard covers both arms, and a re-run never resets it to false.
    • The gate line adds only !featuresSettled. The route's own reads (routeReadsSettled) stay out of the gate, so the wait Opening a record page full-page: draw the app shell as soon as the session is confirmed, not after all metadata arrives #35981 removed is not back.
    • The splashCriticalPath-12809 case holds the config: with the list and the member answered, the boot shell stays up and console-layout is absent until answerConfig(). It goes red without the gate term.
    • The changeset bullet names the flags as a gate input.
  • 423bf5b / 0865f61 and the other 91efd09 test edits:
    • The getAuthConfig mocks in systemHubRoutes and emptyNavigationLanding-12079 are made one stable reference. This matches AuthProvider.tsx:743 (useCallback on [client]).
    • The redirect chains, the first-run surface, the chrome-withheld case and the chunk-preload case (a) only gain waitFor/findBy for the flag promise; their assertions are unchanged.
    • @objectstack/lint is preloaded in the two files the alias gate names.
  • CI on 0865f61: 39 success, 13 skipped, 0 failing.

Owed

  • S1 as a small test delta (L1-b reads it). Clause-② no, no L2; the seat lands with Part of #35981.

…ent flags, then reads the chrome synchronously

Claude-Session: https://claude.ai/code/session_01L6bhgWwKdjqiYQSujUXhn7
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4

席位核对 — delta ACCEPT, FINAL (L1-b)

Head-sha: d261997 · read 2026-11-22T02:48Z · prior record delta ACCEPT 7072866985 @0865f613 (S1) · delta 0865f61..d261997, one test commit

维护者速读

上一轮提的测试问题已经改好。「已确认管理员身份的用户进入应用不额外等待」这条用例重新收紧:只放过部署开关答复那一下,之后外壳必须立刻出现。产品代码没有改动。可以合并。

Must-fix

None.

Should-fix

None. S1 is closed.

Nits

None.

Checked

  • AppContent.unresolvedAdmin-5619.test.tsx, MUST NOT CHANGE case: after renderConsoleAt('/apps/crm') it runs one await act(async () => {}), then a synchronous getByTestId('console-layout') with data-active-app="crm". This admits the flag promise's flush and nothing longer, which is what S1 asked for.
  • That file's getAuthConfig mock is now one vi.hoisted reference, as in the other mocks and in AuthProvider.tsx:743 (useCallback on [client]). A fresh function per render re-ran the effect and cancelled the earlier answer, so one flush could not settle it. That is a mock artefact; the real provider's reference is stable. No other case's assertion changed.
  • No product file in the delta. git merge-tree --write-tree --name-only origin/main d261997a is clean (main 51624177).
  • CI on d261997: 39 success, 13 skipped, 0 failing.

Owed

None from L1-b. Clause-② no, no L2; the seat lands with Part of #35981.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Seat landing · 2026-11-22T02:49Z · #35981, the console draws its app shell before the readiness gate. The frame follows the current shell after #36187, and the phone record page at 375 has no top bar. The AppContent readiness gate also waits on featuresSettled, so a nav entry whose deploy-flag predicate needs /auth/config is no longer hidden when that read lands after mount (objectui#12700). The route's own reads stay out of the gate.

Reviews:

  • L1-b: ACCEPT 7059355941 on a7138d5 (S1 inline width, S2 frame shape, fixed at 759b08f); delta ACCEPT 7072866985 on 0865f61 (gate inputs read: the only new wait is the single-flight, cached /auth/config; N1 hang case fails open at about 37.5 s); delta ACCEPT FINAL 7073138507 on this head (S1 closed: the MUST NOT CHANGE admin case is again one flush and a synchronous read).
  • No contract L2: Clause-②: no, confirmed by the seat on the built declarations.

Gates on this head (d261997a):

  • check-governed-merges --pr 36014 reads NOT governed (661 changed lines).
  • K = 5 first-parent commits since the merge base; no translations/ or skills/ path.
  • All check-runs on their latest runs are success (39) or skipped (13); mergeable clean.

The seat readies this PR and arms auto-merge in the same step. The PR carries Part of #35981; the card stays open for the hosted after-deploy reading, which goes to seat repo:objectstack#4 once this merges.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 22, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants