Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

Run the unit tests that force garbage collection on Node (#36131)

Brennan Benson14a2c4cefb08
diff --git a/config/scripts/vitest-node-runtime-files.mjs b/config/scripts/vitest-node-runtime-files.mjs
index a56b8038632..94103e0dd7f 100644
--- a/config/scripts/vitest-node-runtime-files.mjs
+++ b/config/scripts/vitest-node-runtime-files.mjs
@@ -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',