-
Notifications
You must be signed in to change notification settings - Fork 60
Add QCodeReviewTool Metric Definition #1065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Context: Adding new amazonq_qCodeReviewTool metric definition How? added new definition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are failing! Please check
@@ -587,13 +597,7 @@ | |||
{ | |||
"name": "codewhispererCodeScanScope", | |||
"type": "string", | |||
"description": "The scope of the security scan being performed", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check if this is not used in existing code base if Yes then we should be good
"type": "result" | ||
}, | ||
{ | ||
"type": "scope", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
This can be a required field!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW Thanks for reusing this field!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Problem
Currently QCodeReviewTool do not have any metric name/definition defined to emit metrics
Solution
Added a new metric definition.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.