fix: claude-review の /review コマンドを削除#112
Merged
Merged
Conversation
Claude Code v2.1.186 以降、/review が /code-review エンジンに委譲されるよう変更され、 非インタラクティブな SDK モード(CI)では即エラーになる。 prompt 先頭の `/review` を削除することで修正する。 by Claude
Member
Author
補足:影響範囲について
今回の修正が直すものCI の自動実行(
|
| コメント内容 | 結果 |
|---|---|
@claude このPRをレビューして |
✅ 動く(自然言語なのでOK) |
@claude /review |
❌ 失敗(スラッシュコマンドはSDKモード非対応) |
@claude /code-review |
❌ 失敗(同上) |
まとめ
@claude でレビュー依頼するときは、スラッシュコマンドではなく自然言語で書けば問題ありません。
by Claude
Member
Author
|
@fumikito よろしくお願いします! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Claude Code v2.1.186 のリリースで
/reviewコマンドの動作が変更されたため、オートレビューが失敗するようになった問題を修正します。原因
/reviewが/code-reviewエンジンに委譲されるよう変更された/reviewが即エラーになるclaude-code-action@v1が内部でインストールする Claude Code が v2.1.181 → v2.1.195 に上がったことで発現修正内容
prompt:の先頭にあった/review(と直後の空行)を削除。確認方法
修正後、PRに対してオートレビューが正常に動作することを確認する。
by Claude