mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
Run the unit tests that force garbage collection on Node (#36131)
* test: run the AI Vault title-input GC check on Node The test asserts superseded maps are garbage collected. Under Bun, whose GC scans the stack conservatively, it can keep one alive, which failed CI on an unrelated PR. Route it to Node with the other V8 retention checks. * test: run the other forced-GC checks on Node too HostRemoveDialog and the happy-dom observer retention check force a collection like the AI Vault check; under Bun's conservative GC they can fail or pass falsely.
This commit is contained in:
@@ -35,6 +35,10 @@ const NODE_RUNTIME_INCLUDE = [
|
||||
'src/renderer/src/lib/react-commit-cascade-telemetry.test.ts',
|
||||
// Asserts payloads are collected; Bun's GC scans the stack conservatively and may keep one alive.
|
||||
'src/shared/ws-inbound-message-queue.test.ts',
|
||||
'src/renderer/src/lib/ai-vault-tab-title-sync-inputs.test.ts',
|
||||
'src/renderer/src/components/sidebar/HostRemoveDialog.test.tsx',
|
||||
// Asserts an observer survives a forced collection; conservative retention would hide a lost one.
|
||||
'config/scripts/happy-dom-mutation-observer-retention.test.ts',
|
||||
// These reach Node SQLite through a shared helper or a dynamic import, which the scan skips.
|
||||
'src/main/claude/claude-transcript-catch-up.test.ts',
|
||||
'src/main/claude/claude-transcript-duration.test.ts',
|
||||
|
||||
Reference in New Issue
Block a user