@@ -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" ;
@@ -4758,12 +4759,13 @@ export function buildFullSuiteVitestRunPlans(args, cwd = process.cwd()) {
47584759 ) {
47594760 return [ ] ;
47604761 }
4761- // The remote Testbox full gate runs every extension project in this process tree.
4762- // Bound project process lifetimes or the non-isolated aggregate exceeds V8's heap limit.
4762+ // The remote Testbox full gate runs every agentic and extension project in one process tree.
4763+ // Bound project and worker lifetimes before either aggregate reaches V8's heap limit.
47634764 const expandShard =
47644765 expandToProjectConfigs ||
4765- ( shard . config === FULL_EXTENSIONS_VITEST_CONFIG &&
4766- process . env . OPENCLAW_TESTBOX_REMOTE_RUN === "1" ) ;
4766+ ( process . env . OPENCLAW_TESTBOX_REMOTE_RUN === "1" &&
4767+ ( shard . config === FULL_AGENTIC_VITEST_CONFIG ||
4768+ shard . config === FULL_EXTENSIONS_VITEST_CONFIG ) ) ;
47674769 const configs = expandShard ? shard . projects : [ shard . config ] ;
47684770 return configs . flatMap ( ( config ) => {
47694771 if ( expandShard && targetArgs . length === 0 ) {
0 commit comments