From 555bf2e4e145084dd939c6a147bad3453ebc88ce Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Sun, 5 Apr 2026 21:01:34 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@58f95b8000bcb067c8013988dcf63cfbbdcf81bf --- .openclaw-sync/source.json | 4 ++-- docs/help/testing.md | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 30722aaf7..aa3a73c3d 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "9b7002ee597145d77a296f033bfa406e9088238e", - "syncedAt": "2026-04-05T20:41:36.050Z" + "sha": "58f95b8000bcb067c8013988dcf63cfbbdcf81bf", + "syncedAt": "2026-04-05T21:01:33.818Z" } diff --git a/docs/help/testing.md b/docs/help/testing.md index 58541cbc7..7c143d1dc 100644 --- a/docs/help/testing.md +++ b/docs/help/testing.md @@ -442,6 +442,10 @@ The live-model Docker runners also bind-mount only the needed CLI auth homes (or The live-model Docker runners also bind-mount the current checkout read-only and stage it into a temporary workdir inside the container. This keeps the runtime image slim while still running Vitest against your exact local source/config. +The staging step skips large local-only caches and app build outputs such as +`.pnpm-store`, `.worktrees`, `__openclaw_vitest__`, and app-local `.build` or +Gradle output directories so Docker live runs do not spend minutes copying +machine-specific artifacts. They also set `OPENCLAW_SKIP_CHANNELS=1` so gateway live probes do not start real Telegram/Discord/etc. channel workers inside the container. `test:docker:live-models` still runs `pnpm test:live`, so pass through @@ -479,8 +483,8 @@ Useful env vars: - `OPENCLAW_PROFILE_FILE=...` (default: `~/.profile`) mounted to `/home/node/.profile` and sourced before running tests - `OPENCLAW_DOCKER_CLI_TOOLS_DIR=...` (default: `~/.cache/openclaw/docker-cli-tools`) mounted to `/home/node/.npm-global` for cached CLI installs inside Docker - External CLI auth dirs/files under `$HOME` are mounted read-only under `/host-auth...`, then copied into `/home/node/...` before tests start - - Default dirs: `.codex`, `.minimax` - - Default files: `.claude.json`, `~/.claude/.credentials.json`, `~/.claude/settings.json`, `~/.claude/settings.local.json` + - Default dirs: `.minimax` + - Default files: `~/.codex/auth.json`, `~/.codex/config.toml`, `.claude.json`, `~/.claude/.credentials.json`, `~/.claude/settings.json`, `~/.claude/settings.local.json` - Narrowed provider runs mount only the needed dirs/files inferred from `OPENCLAW_LIVE_PROVIDERS` / `OPENCLAW_LIVE_GATEWAY_PROVIDERS` - Override manually with `OPENCLAW_DOCKER_AUTH_DIRS=all`, `OPENCLAW_DOCKER_AUTH_DIRS=none`, or a comma list like `OPENCLAW_DOCKER_AUTH_DIRS=.claude,.codex` - `OPENCLAW_LIVE_GATEWAY_MODELS=...` / `OPENCLAW_LIVE_MODELS=...` to narrow the run