`--commit-range` doesn't restrict the recommendations to changed files in that range
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Run the reported aws-codeguru-cli command with and without --commit-range, then compare code-guru/recommendations.json. Trace the --commit-range entry point and review related issue #9; done means recommendations.json contains only recommendations for files changed in the specified commit range.
Written by the indexing model from the issue text.
Description
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
- Run
aws-codeguru-cli --root-dir . --profile <profile> --mode security --commit-range HEAD^:HEAD - Observe the the file at
code-guru/recommendations.jsonincludes 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.
- Dominant language
- Java
- Stars
- 23
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws/aws-codeguru-cli
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
aws/aws-codeguru-cli#17 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
aws/aws-codeguru-cli#16 ·
All issues in aws/aws-codeguru-cli
Similar issues
-
certification
Difficulty 1/5 Under an hour Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Openbug ecr
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Needs: Triage Type: Feature request
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
github/copilot-sdk#2760 ·