What happened
packages/storage runs 1026 tests in 88.3s locally (104.7s in an earlier run). Wall time is dominated by a handful of tests doing real fs/SQLite/git work. Slowest, from --test-reporter=spec timings on latest main (76e1476):
| Test | Time |
|---|
| Git workspace service (describe) | 34.5s |
| rejects missing/changed/extra/symlinked backup payloads (single test) | 32.3s |
| restores a writable Automation authority after a real legacy cutover | 27.1s |
| SQLite Artifact store (describe) | 20.4s |
| cleans interrupted backup and restore staging | 16.3s |
| execution stores / Interaction store / Git worktree executor / operational cutover | 14.5s / 12.9s / 11.5s / 10.9s |
With --concurrency=3, storage is the critical path of the parallel workspace batch.
How to reproduce
cd packages/storage && time node --test "dist/**/*.test.js" (~88–105s).
Environment
- Maka commit:
76e14764a - OS: macOS + Node v26.5.1; likely slower on CI’s 2-core ubuntu runners
- Surface: tests only
Additional context
Heavy tests come from the storage SQLite migration + WAL backup series (#1570/#1694/#1706) and the Git workspace service (#1742). Options: gate the fs/git/sqlite-heavy cases behind the existing MAKA_STORAGE_STRESS env hook (already wired in CI), reduce payload/iteration sizes, or split a fast unit tier from the integration tier.
What happened
packages/storageruns 1026 tests in 88.3s locally (104.7s in an earlier run). Wall time is dominated by a handful of tests doing real fs/SQLite/git work. Slowest, from--test-reporter=spectimings on latestmain(76e1476):With
--concurrency=3, storage is the critical path of the parallel workspace batch.How to reproduce
cd packages/storage && time node --test "dist/**/*.test.js"(~88–105s).Environment
76e14764aAdditional context
Heavy tests come from the storage SQLite migration + WAL backup series (#1570/#1694/#1706) and the Git workspace service (#1742). Options: gate the fs/git/sqlite-heavy cases behind the existing
MAKA_STORAGE_STRESSenv hook (already wired in CI), reduce payload/iteration sizes, or split a fast unit tier from the integration tier.