Skip to content

Conversation

@laileni-aws
Copy link
Contributor

@laileni-aws laileni-aws commented Feb 20, 2025

Problem

  • For RIV 2024, team planned to drop the build and execute due to SDE bandwidth.

Solution

  • Adding back build and execute logic for internal amazon users to fix the errors in generated test code and to improve test code coverage.

image

  • Adding metrics to emit amazonq_unitTestGeneration in 6 cases for Unit Test Generation build and execution loop.
    1. If user close chat window
    2. If build succeeds in build and execute
    3. If user reject generated code
    4. If user click on skip and finish button
    5. If user completes 3 iterations in build and execute
    6. If there is any error/exception

TODO:

  • Changes in UX view and text changes

  • 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.

@github-actions
Copy link

  • This pull request modifies code in src/* but no tests were added/updated.
    • Confirm whether tests should be added or ensure the PR description explains why tests are not required.

@laileni-aws laileni-aws marked this pull request as ready for review February 22, 2025 00:58
@laileni-aws laileni-aws requested review from a team as code owners February 22, 2025 00:58
@laileni-aws laileni-aws changed the title Draft(amazonq): Adding UTG build, execute logic for internal users feat(amazonq): Adding UTG build, execute logic for internal users Feb 22, 2025
@laileni-aws laileni-aws reopened this Feb 22, 2025
@github-actions
Copy link

  • This pull request modifies code in src/* but no tests were added/updated.
    • Confirm whether tests should be added or ensure the PR description explains why tests are not required.
  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

@laileni-aws laileni-aws requested a review from a team as a code owner February 28, 2025 20:46
@laileni-aws laileni-aws removed the request for review from a team February 28, 2025 20:49
@laileni-aws
Copy link
Contributor Author

/retryBuilds

@justinmk3 justinmk3 deleted the branch aws:feature/q-utg April 3, 2025 17:22
@justinmk3 justinmk3 closed this Apr 3, 2025
@laileni-aws laileni-aws deleted the testGen branch April 21, 2025 03:33
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.

5 participants