diff --git a/docs/help/testing.md b/docs/help/testing.md index 423d06b249b..179d5b6fb4f 100644 --- a/docs/help/testing.md +++ b/docs/help/testing.md @@ -149,7 +149,9 @@ inside every shard. installs the external Kitchen Sink package, verifies the plugin SDK surface inventory, probes `/healthz` and `/readyz`, records gateway CPU/RSS evidence, runs a live OpenAI turn, and checks adversarial diagnostics. - Requires live OpenAI auth such as `OPENAI_API_KEY`. + Requires live OpenAI auth such as `OPENAI_API_KEY`. In hydrated Testbox + sessions it automatically sources the Testbox live-auth profile when the + `openclaw-testbox-env` helper is present. - `pnpm test:gateway:cpu-scenarios` - Runs the gateway startup bench plus a small mock QA Lab scenario pack (`channel-chat-baseline`, `memory-failure-fallback`, diff --git a/package.json b/package.json index bc8ecbb19c2..f6956d29d9b 100644 --- a/package.json +++ b/package.json @@ -1614,7 +1614,7 @@ "test:perf:profile:main": "node scripts/run-vitest-profile.mjs main", "test:perf:profile:runner": "node scripts/run-vitest-profile.mjs runner", "test:plugins:gateway-gauntlet": "node scripts/check-plugin-gateway-gauntlet.mjs", - "test:plugins:kitchen-sink-live": "pnpm openclaw qa suite --provider-mode live-frontier --scenario kitchen-sink-live-openai", + "test:plugins:kitchen-sink-live": "bash -lc 'if [ -x \"$HOME/.local/bin/openclaw-testbox-env\" ]; then exec \"$HOME/.local/bin/openclaw-testbox-env\" pnpm openclaw qa suite --provider-mode live-frontier --scenario kitchen-sink-live-openai; fi; exec pnpm openclaw qa suite --provider-mode live-frontier --scenario kitchen-sink-live-openai'", "test:sectriage": "OPENCLAW_GATEWAY_PROJECT_SHARDS=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.gateway.config.ts && node scripts/run-vitest.mjs run --config test/vitest/vitest.unit.config.ts --exclude src/daemon/launchd.integration.test.ts --exclude src/process/exec.test.ts", "test:serial": "OPENCLAW_TEST_PROJECTS_SERIAL=1 OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/test-projects.mjs", "test:stability:gateway": "OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.gateway.config.ts src/gateway/gateway-stability.test.ts && OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.logging.config.ts src/logging/diagnostic-stability-bundle.test.ts && OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.infra.config.ts src/infra/fatal-error-hooks.test.ts",