f325509d96
## Summary The global `jotaiStore` singleton was shared across all tests without reset, leaking state between test suites and causing unbounded heap growth within each Jest worker. - `getJestMetadataAndApolloMocksWrapper` now creates a **fresh Jotai store per wrapper** (equivalent of RecoilRoot isolation), so each test gets clean state - Added `workerIdleMemoryLimit: '512MB'` to recycle workers that still accumulate memory - Set `maxWorkers: 3` for CI ## Performance Measured on 48 test suites (command-menu + views + object-record hooks), single worker: | Metric | Before | After | |---|---|---| | Peak heap | **1519 MB** | **~530 MB** (-65%) | | Final heap | **1519 MB** | **437 MB** (-71%) | | Growth pattern | Monotonic (never freed) | Bounded sawtooth (recycled at 512MB) |