openpencil/packages/core/tests
Danila Poyarkov ae9f1e35a3
test: run each heavy unit test file in its own process (#899)
* test: run each heavy unit test file in its own process

`test:unit` and `test:unit:heavy` ran every file in one `bun test`
process. A heavy fixture file alone takes 2-6 GB, and what one file
keeps stays alive for the rest of the run. Quick files still share one
process; heavy files now run one per process, so the peak is the
heaviest single file. Coverage runs keep one process, since coverage is
collected per process.

stale-overrides parses material3.fig and joins the heavy list, and a
guard fails when a quick test reads a large fixture corpus.

* test(core): keep one material3 graph alive at a time in stale-overrides

The edited-document test held the exported reader graph, the reopened
graph, and the parsed node changes at once, and the first test's graph
was still alive when the second started. Each step now runs in its own
function and returns only what the next check needs, and the file
collects garbage between steps and tests. The checks are unchanged;
peak memory drops from 5.6 GB to 3.6 GB.
2026-10-05 14:13:53 +00:00
..
canvas test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
clipboard test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
design-jsx fix: lay out fill text and repeat() grid tracks (#866) 2026-10-05 14:06:07 +00:00
editor test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
figma-api test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
helpers test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
icons fix(core): fill open subpaths of filled SVG paths (#876) 2026-10-04 13:25:23 +00:00
io/formats/fig test: run each heavy unit test file in its own process (#899) 2026-10-05 14:13:53 +00:00
layout/auto-layout/text fix: lay out fill text and repeat() grid tracks (#866) 2026-10-05 14:06:07 +00:00
lint feat(lint): suggest group-to-frame and hidden-layer fixes; keep canvas edits in code previews (#870) 2026-10-04 12:46:06 +00:00
rpc feat: write variables as a CSS token stylesheet (#856) 2026-10-04 18:15:52 +00:00
text/derived-text feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
tools feat: name the call and list every problem in validation errors (#911) 2026-10-05 14:06:26 +00:00
vector/vectorize fix(core): fill open subpaths of filled SVG paths (#876) 2026-10-04 13:25:23 +00:00