fix: keep autoreview pnpm checks local · openclaw/openclaw@8bfdffa
steipete
·
2026-05-18
·
via Recent Commits to openclaw:main
File tree
.agents/skills/autoreview
| Original file line number | Diff line number | Diff line change |
|---|
@@ -112,7 +112,7 @@ The helper:
|
112 | 112 | - chooses dirty `--uncommitted` first |
113 | 113 | - otherwise uses current PR base if `gh pr view` works |
114 | 114 | - otherwise uses `origin/main` for non-main branches |
115 | | -- auto-runs `PNPM_CONFIG_OFFLINE=true pnpm run check` in parallel when a repo has `package.json`, `pnpm-lock.yaml`, `node_modules`, and a `check` script; disable with `AUTOREVIEW_AUTO_TESTS=0` |
| 115 | +- auto-runs `PNPM_CONFIG_PM_ON_FAIL=ignore PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false PNPM_CONFIG_OFFLINE=true pnpm run check` in parallel when a repo has `package.json`, `pnpm-lock.yaml`, `node_modules`, and a `check` script; disable with `AUTOREVIEW_AUTO_TESTS=0` |
116 | 116 | - use `--mode commit --commit <ref>` for already-committed work, especially clean `main` after landing |
117 | 117 | - should be left in `--mode auto` or forced to `--mode branch` for PR/branch work; do not force `--mode local` after committing |
118 | 118 | - supports `--reviewer codex|claude|pi|opencode|droid|copilot|auto`; `auto` means Codex first |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -24,7 +24,7 @@ Options:
|
24 | 24 | --no-yolo Run nested Codex review with normal sandbox/approval prompts. |
25 | 25 | --output FILE Also save output to file. |
26 | 26 | --parallel-tests CMD Run review and test command concurrently. |
27 | | - Default: PNPM_CONFIG_OFFLINE=true pnpm run check when available. |
| 27 | + Default: PNPM_CONFIG_PM_ON_FAIL=ignore PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false PNPM_CONFIG_OFFLINE=true pnpm run check when available. |
28 | 28 | --dry-run Print selected commands, do not run. |
29 | 29 | -h, --help Show help. |
30 | 30 | |
@@ -236,7 +236,7 @@ if [[ -z "$parallel_tests" && "$openclaw_maintainer_validation" != 1 ]] &&
|
236 | 236 | if [[ -f "$repo_root/package.json" && -f "$repo_root/pnpm-lock.yaml" && -d "$repo_root/node_modules" ]] && |
237 | 237 | command -v pnpm >/dev/null 2>&1 && |
238 | 238 | has_package_check_script; then |
239 | | - parallel_tests="cd $quoted_repo_root && PNPM_CONFIG_OFFLINE=true pnpm run check" |
| 239 | + parallel_tests="cd $quoted_repo_root && PNPM_CONFIG_PM_ON_FAIL=ignore PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false PNPM_CONFIG_OFFLINE=true pnpm run check" |
240 | 240 | parallel_tests_auto=true |
241 | 241 | fi |
242 | 242 | fi |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。