@@ -171,6 +171,7 @@ const EXTENSION_VOICE_CALL_VITEST_CONFIG = "test/vitest/vitest.extension-voice-c
171171const EXTENSION_WHATSAPP_VITEST_CONFIG = "test/vitest/vitest.extension-whatsapp.config.ts" ;
172172const EXTENSION_ZALO_VITEST_CONFIG = "test/vitest/vitest.extension-zalo.config.ts" ;
173173const EXTENSIONS_VITEST_CONFIG = "test/vitest/vitest.extensions.config.ts" ;
174+ const FULL_AGENTIC_VITEST_CONFIG = "test/vitest/vitest.full-agentic.config.ts" ;
174175const FULL_EXTENSIONS_VITEST_CONFIG = "test/vitest/vitest.full-extensions.config.ts" ;
175176const GATEWAY_CLIENT_VITEST_CONFIG = "test/vitest/vitest.gateway-client.config.ts" ;
176177const GATEWAY_CORE_VITEST_CONFIG = "test/vitest/vitest.gateway-core.config.ts" ;
@@ -4757,12 +4758,13 @@ export function buildFullSuiteVitestRunPlans(args, cwd = process.cwd()) {
47574758 ) {
47584759 return [ ] ;
47594760 }
4760- // The remote Testbox full gate runs every extension project in this process tree.
4761- // Bound project process lifetimes or the non-isolated aggregate exceeds V8's heap limit.
4761+ // The remote Testbox full gate runs every agentic and extension project in one process tree.
4762+ // Bound project and worker lifetimes before either aggregate reaches V8's heap limit.
47624763 const expandShard =
47634764 expandToProjectConfigs ||
4764- ( shard . config === FULL_EXTENSIONS_VITEST_CONFIG &&
4765- process . env . OPENCLAW_TESTBOX_REMOTE_RUN === "1" ) ;
4765+ ( process . env . OPENCLAW_TESTBOX_REMOTE_RUN === "1" &&
4766+ ( shard . config === FULL_AGENTIC_VITEST_CONFIG ||
4767+ shard . config === FULL_EXTENSIONS_VITEST_CONFIG ) ) ;
47664768 const configs = expandShard ? shard . projects : [ shard . config ] ;
47674769 return configs . flatMap ( ( config ) => {
47684770 if ( expandShard && targetArgs . length === 0 ) {
0 commit comments