-
Notifications
You must be signed in to change notification settings - Fork 747
test(amazonq): full E2E test for /review #7047
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
|
/runIntegrationTests |
|
/runIntegrationTests |
|
/runIntegrationTests |
1 similar comment
|
/runIntegrationTests |
|
/runIntegrationTests |
|
/runIntegrationTests |
1 similar comment
|
/runIntegrationTests |
|
/runIntegrationTests |
1 similar comment
|
/runIntegrationTests |
|
/runIntegrationTests |
|
/runIntegrationTests |
|
/runIntegrationTests |
|
/runIntegrationTests |
|
/runIntegrationTests |
| function assertAtLeastOneLLMFindings(securityDiagnostics: vscode.Diagnostic[]) { | ||
| const readabilityIssuesCount = matchingSecurityDiagnosticCount( | ||
| securityDiagnostics, | ||
| 'Readability and maintainability issues detected.' |
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.
How do we know that these are LLM findings?
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.
| const targetFilePath: string = issue instanceof IssueItem ? issue.filePath : filePath | ||
| await showSecurityIssueWebview(context.extensionContext, targetIssue, targetFilePath) | ||
|
|
||
| if (targetIssue.suggestedFixes.length === 0) { |
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.
what is this change for?
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.
This is because for some reason, emitting telemetry on gitHub test environment will error. I was not able to root cause after many tries, so a quick fix would be first execute get code fix, and then send telemetry.
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.
emitting telemetry on gitHub test environment will error
what error exactly?
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.
Let me merge for now, and answer this question in a bit.
| range | ||
| ) | ||
|
|
||
| console.log('first diag', sampleDiagnostic) |
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.
can we remove these console logs?
|
/runIntegrationTests |
Problem
Create E2E test for /review
Solution
feature/xbranches will not be squash-merged at release time.