From 8280ad42c78683b79c8a447e452e2e1fc4a6ac59 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 16 Nov 2026 01:14:40 +0000 Subject: [PATCH] test(app-shell): load the lazy object list at collection in the disabled-package deep-link suite The plain "Object Not Found" is drawn inside the lazy ObjectView route element; its cold load now also carries plugin-view's entry and outgrew waitFor's budget. Loaded at module scope, as the lazy-boundary rule and the dashboard route suite's precedent do. Claude-Session: https://claude.ai/code/session_01ADHkmT5bCDp1MDcReXVCop Co-authored-by: Claude --- .../AppContent.disabledPackageDeepLink-13052.test.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ui/packages/app-shell/src/console/__tests__/AppContent.disabledPackageDeepLink-13052.test.tsx b/ui/packages/app-shell/src/console/__tests__/AppContent.disabledPackageDeepLink-13052.test.tsx index 48a6748983e..d8c4f656640 100644 --- a/ui/packages/app-shell/src/console/__tests__/AppContent.disabledPackageDeepLink-13052.test.tsx +++ b/ui/packages/app-shell/src/console/__tests__/AppContent.disabledPackageDeepLink-13052.test.tsx @@ -94,6 +94,13 @@ vi.mock('@object-ui/react', async (importOriginal) => ({ })); import { AppContent } from '../AppContent'; +// The object list is a lazy route element (`AppContent`'s `ObjectView`), and +// the plain "Object Not Found" of (b) is drawn inside it. Its cold load — the +// list and `@object-ui/plugin-view`'s entry, which the shell no longer holds +// eager (objectstack#33581) — is paid here, at collection, never inside a +// clocked `waitFor`. `@objectstack/lint` is reached through it, so it is too. +import '@objectstack/lint'; +import '../../views/ObjectView'; import { MetadataProvider } from '../../providers/MetadataProvider'; const PKG = 'app.showcase';