Skip to content

Commit 8bfdffa

Browse files
committed
fix: keep autoreview pnpm checks local
1 parent f14a0ed commit 8bfdffa

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.agents/skills/autoreview/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ The helper:
112112
- chooses dirty `--uncommitted` first
113113
- otherwise uses current PR base if `gh pr view` works
114114
- 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`
116116
- use `--mode commit --commit <ref>` for already-committed work, especially clean `main` after landing
117117
- should be left in `--mode auto` or forced to `--mode branch` for PR/branch work; do not force `--mode local` after committing
118118
- supports `--reviewer codex|claude|pi|opencode|droid|copilot|auto`; `auto` means Codex first

.agents/skills/autoreview/scripts/autoreview

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Options:
2424
--no-yolo Run nested Codex review with normal sandbox/approval prompts.
2525
--output FILE Also save output to file.
2626
--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.
2828
--dry-run Print selected commands, do not run.
2929
-h, --help Show help.
3030
@@ -236,7 +236,7 @@ if [[ -z "$parallel_tests" && "$openclaw_maintainer_validation" != 1 ]] &&
236236
if [[ -f "$repo_root/package.json" && -f "$repo_root/pnpm-lock.yaml" && -d "$repo_root/node_modules" ]] &&
237237
command -v pnpm >/dev/null 2>&1 &&
238238
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"
240240
parallel_tests_auto=true
241241
fi
242242
fi

0 commit comments

Comments
 (0)