Skip to content

Commit ddea58c

Browse files
Bulat Skill7claude
andcommitted
fix: revert to running aictrl from source for CI review
The npm package approach fails due to: - bun workspace resolution walking up to monorepo package.json - npm install taking too long with 2800+ transitive deps Keep running from source which already works reliably. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 3b47820 commit ddea58c

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

‎.github/workflows/code-review.yml‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,9 @@ jobs:
8383
with:
8484
bun-version: latest
8585

86-
- name: Install aictrl CLI
86+
- name: Install Dependencies
8787
if: steps.check_changes.outputs.skip != 'true'
88-
run: |
89-
mkdir -p /tmp/aictrl && cd /tmp/aictrl
90-
echo '{}' > package.json
91-
npm install @aictrl/cli@latest 2>&1 || { cat ~/.npm/_logs/*-debug-0.log | tail -50; exit 1; }
92-
echo "/tmp/aictrl/node_modules/.bin" >> $GITHUB_PATH
88+
run: bun install --frozen-lockfile
9389

9490
- name: Run Aictrl Review
9591
if: steps.check_changes.outputs.skip != 'true'
@@ -100,7 +96,7 @@ jobs:
10096
run: |
10197
echo "Starting review with zai-coding-plan/glm-5 for PR #$PR_NUMBER SHA $PR_SHA..."
10298
103-
aictrl run --model zai-coding-plan/glm-5 "Review the changes in PR #$PR_NUMBER for the aictrl CLI.
99+
bun run --conditions=browser packages/cli/src/index.ts run --model zai-coding-plan/glm-5 "Review the changes in PR #$PR_NUMBER for the aictrl CLI.
104100
105101
**IMPORTANT**: This is a code review only. Do NOT run tests, npm commands, or build commands. Only read source files and git diffs.
106102

0 commit comments

Comments
 (0)