`--commit-range` doesn't restrict the recommendations to changed files in that range
- 主要言語
- Java
- スター
- 23
- フォーク
- 13
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Issue
When I run the cli command to get a security scan for a given commit range, it includes recommendations across the entire package rather than just the specified commit range.
### Steps to reproduce
1. Run `aws-codeguru-cli --root-dir . --profile --mode security --commit-range HEAD^:HEAD`
2. Observe the the file at `code-guru/recommendations.json` includes recommendations across your entire package.
### Expected Result
Only include recommendations that are part of the diff within the commit range.
### Notes
I tried removing the commit range and noticed that the output is identical which makes me think that the flag is ignored.
This seems related to #9 but I wasn't able to validate the output of the jobs mentioned in that query.
コントリビューションガイド
調査の方向性
報告された aws-codeguru-cli コマンドを --commit-range ありとなしで実行し、code-guru/recommendations.json を比較します。--commit-range のエントリーポイントを追跡し、関連する issue #9 を確認します。完了の条件は、recommendations.json に指定されたコミット範囲で変更されたファイルに対する推奨事項だけが含まれていることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100