Repository navigation
Commit 46b1bee
committed
test(runtime): pay the lint load of the view read at module top (#29603)
The D6 overlay case in meta-write-org-scope.test.ts timed out once at
5000 ms on a loaded shard. Its GET is the file's first view read, and a
served view read imports @objectstack/lint lazily
(loadFormLayoutLint, metadata-protocol metadata-diagnostics.ts): under
vitest that first import is a cold transform of the lint module graph,
1.2 s p50 / 1.7 s max idle, all inside the clocked case. A module-top
import pays it during collection; the protocol's later import() gets the
same module instance back. No timeout raised, no assertion moved.
Claude-Session: https://claude.ai/code/session_01ADHkmRczGnhouFCUs9DfQ2
Co-authored-by: Claude <noreply@anthropic.com>1 parent 2da42e7 commit 46b1bee
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
85 | 99 | | |
86 | 100 | | |
87 | 101 | | |
| |||
0 commit comments