test(e2e): share runtime deps across matrix probes · openclaw/openclaw@4ce031f
vincentkoc
·
2026-05-01
·
via Recent Commits to openclaw:main
File tree
scripts/e2e/lib/bundled-plugin-install-uninstall
| Original file line number | Diff line number | Diff line change |
|---|
@@ -469,6 +469,7 @@ function assertNoPostReadyRuntimeDepsWork(logPath, readyIndex) {
|
469 | 469 | |
470 | 470 | function assertNoRuntimeDepsLocks() { |
471 | 471 | const roots = [ |
| 472 | + ...(process.env.OPENCLAW_PLUGIN_STAGE_DIR ? [process.env.OPENCLAW_PLUGIN_STAGE_DIR] : []), |
472 | 473 | path.join( |
473 | 474 | process.env.OPENCLAW_STATE_DIR || path.join(process.env.HOME || os.homedir(), ".openclaw"), |
474 | 475 | "plugin-runtime-deps", |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -15,6 +15,8 @@ fi
|
15 | 15 | export OPENCLAW_ENTRY |
16 | 16 | |
17 | 17 | openclaw_e2e_eval_test_state_from_b64 "${OPENCLAW_TEST_STATE_SCRIPT_B64:?missing OPENCLAW_TEST_STATE_SCRIPT_B64}" |
| 18 | +export OPENCLAW_PLUGIN_STAGE_DIR="${OPENCLAW_PLUGIN_STAGE_DIR:-$HOME/.openclaw/plugin-runtime-deps}" |
| 19 | +mkdir -p "$OPENCLAW_PLUGIN_STAGE_DIR" |
18 | 20 | |
19 | 21 | probe="scripts/e2e/lib/bundled-plugin-install-uninstall/probe.mjs" |
20 | 22 | runtime_smoke="scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs" |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。