From 62e6ad5a5bb48bcf88672f670b4ff70c16dfd388 Mon Sep 17 00:00:00 2001 From: abhigyanpatwari Date: Sun, 1 Mar 2026 20:33:18 +0530 Subject: [PATCH] fix(test): add forceExit to prevent KuzuDB native cleanup hang in CI KuzuDB's C++ destructor crashes the vitest fork worker on exit, causing a ~7 minute hang before timeout. forceExit kills the worker immediately after tests complete. Co-Authored-By: Claude Opus 4.6 --- gitnexus/vitest.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/gitnexus/vitest.config.ts b/gitnexus/vitest.config.ts index d97f5e9e54..ca47db79c9 100644 --- a/gitnexus/vitest.config.ts +++ b/gitnexus/vitest.config.ts @@ -8,6 +8,7 @@ export default defineConfig({ singleFork: true, // run all tests in a single fork to avoid KuzuDB native cleanup crashes globals: true, teardownTimeout: 1000, + forceExit: true, // KuzuDB native destructor can crash/hang the fork on exit coverage: { provider: 'v8', include: ['src/**/*.ts'],