Skip to content

Conversation

@zuoyaofu
Copy link
Contributor

Problem

Create E2E test for /review

Solution


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@zuoyaofu
Copy link
Contributor Author

/runIntegrationTests

@zuoyaofu
Copy link
Contributor Author

/runIntegrationTests

@zuoyaofu
Copy link
Contributor Author

/runIntegrationTests

1 similar comment
@zuoyaofu
Copy link
Contributor Author

/runIntegrationTests

@zuoyaofu
Copy link
Contributor Author

/runIntegrationTests

@zuoyaofu
Copy link
Contributor Author

/runIntegrationTests

1 similar comment
@zuoyaofu
Copy link
Contributor Author

/runIntegrationTests

@zuoyaofu
Copy link
Contributor Author

/runIntegrationTests

1 similar comment
@zuoyaofu
Copy link
Contributor Author

/runIntegrationTests

@zuoyaofu
Copy link
Contributor Author

/runIntegrationTests

@zuoyaofu
Copy link
Contributor Author

zuoyaofu commented May 2, 2025

/runIntegrationTests

@zuoyaofu
Copy link
Contributor Author

zuoyaofu commented May 2, 2025

/runIntegrationTests

@zuoyaofu
Copy link
Contributor Author

zuoyaofu commented May 3, 2025

/runIntegrationTests

@zuoyaofu
Copy link
Contributor Author

zuoyaofu commented May 3, 2025

/runIntegrationTests

@zuoyaofu zuoyaofu marked this pull request as ready for review May 5, 2025 13:07
function assertAtLeastOneLLMFindings(securityDiagnostics: vscode.Diagnostic[]) {
const readabilityIssuesCount = matchingSecurityDiagnosticCount(
securityDiagnostics,
'Readability and maintainability issues detected.'
Copy link
Contributor

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?

Copy link
Contributor Author

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) {
Copy link
Contributor

@atonaamz atonaamz May 5, 2025

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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?

Copy link
Contributor Author

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)
Copy link
Contributor

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?

@zuoyaofu
Copy link
Contributor Author

zuoyaofu commented May 5, 2025

/runIntegrationTests

@zuoyaofu zuoyaofu closed this May 6, 2025
@zuoyaofu zuoyaofu reopened this May 6, 2025
@zuoyaofu zuoyaofu enabled auto-merge (squash) May 6, 2025 18:28
@zuoyaofu zuoyaofu disabled auto-merge May 6, 2025 18:28
@zuoyaofu zuoyaofu closed this May 6, 2025
@zuoyaofu zuoyaofu reopened this May 6, 2025
@zuoyaofu zuoyaofu merged commit 0189564 into aws:master May 6, 2025
59 of 69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants