@@ -243,11 +243,12 @@ command -v openclaw
|
243 | 243 | openclaw --version |
244 | 244 | EOF |
245 | 245 | |
246 | | -# Mount only test harness/plugin QA sources; the SUT itself is the installed package candidate. |
| 246 | +# Mount only QA harness source; the SUT itself, including bundled plugin runtime, |
| 247 | +# is the installed package candidate. |
247 | 248 | run_logged docker_e2e_run_with_harness \ |
248 | 249 | "${docker_env[@]}" \ |
249 | 250 | -v "$ROOT_DIR/.artifacts:/app/.artifacts" \ |
250 | | - -v "$ROOT_DIR/extensions:/app/extensions:ro" \ |
| 251 | + -v "$ROOT_DIR/extensions/qa-lab:/app/extensions/qa-lab:ro" \ |
251 | 252 | -v "$npm_prefix_host:/npm-global" \ |
252 | 253 | -i "$IMAGE_NAME" bash -s <<'EOF' |
253 | 254 | set -euo pipefail |
@@ -278,17 +279,12 @@ openclaw --version
|
278 | 279 | mkdir -p /app/node_modules |
279 | 280 | openclaw_package_dir="/npm-global/lib/node_modules/openclaw" |
280 | 281 | # The mounted QA harness imports openclaw/plugin-sdk and package dependencies; |
281 | | -# point those imports at the installed package without copying source into the test image. |
| 282 | +# point those imports at the installed package without copying source plugins into the test image. |
282 | 283 | rm -rf /app/node_modules/openclaw |
283 | 284 | ln -sfnT "$openclaw_package_dir" /app/node_modules/openclaw |
284 | 285 | rm -rf /app/dist |
285 | 286 | ln -sfnT "$openclaw_package_dir/dist" /app/dist |
286 | 287 | cp "$openclaw_package_dir/package.json" /app/package.json |
287 | | -rm -rf "$openclaw_package_dir/extensions" |
288 | | -ln -sfnT /app/extensions "$openclaw_package_dir/extensions" |
289 | | -mkdir -p /app/node_modules/@openclaw |
290 | | -rm -rf /app/node_modules/@openclaw/qa-channel |
291 | | -ln -sfnT /app/extensions/qa-channel /app/node_modules/@openclaw/qa-channel |
292 | 288 | node scripts/e2e/lib/npm-telegram-live/prepare-package.mjs \ |
293 | 289 | /app/package.json \ |
294 | 290 | /app/node_modules/openclaw/package.json |
|