test(e2e): share runtime deps across matrix probes

This commit is contained in:
Vincent Koc
2026-05-01 01:14:43 -07:00
parent 1b1b1b41a3
commit 4ce031fd1a
2 changed files with 3 additions and 0 deletions

View File

@@ -469,6 +469,7 @@ function assertNoPostReadyRuntimeDepsWork(logPath, readyIndex) {
function assertNoRuntimeDepsLocks() {
const roots = [
...(process.env.OPENCLAW_PLUGIN_STAGE_DIR ? [process.env.OPENCLAW_PLUGIN_STAGE_DIR] : []),
path.join(
process.env.OPENCLAW_STATE_DIR || path.join(process.env.HOME || os.homedir(), ".openclaw"),
"plugin-runtime-deps",

View File

@@ -15,6 +15,8 @@ fi
export OPENCLAW_ENTRY
openclaw_e2e_eval_test_state_from_b64 "${OPENCLAW_TEST_STATE_SCRIPT_B64:?missing OPENCLAW_TEST_STATE_SCRIPT_B64}"
export OPENCLAW_PLUGIN_STAGE_DIR="${OPENCLAW_PLUGIN_STAGE_DIR:-$HOME/.openclaw/plugin-runtime-deps}"
mkdir -p "$OPENCLAW_PLUGIN_STAGE_DIR"
probe="scripts/e2e/lib/bundled-plugin-install-uninstall/probe.mjs"
runtime_smoke="scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs"