Skip to content
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

feat(amazonq): Adding UTG build, execute logic for internal users #6642

Open
wants to merge 14 commits into
base: feature/q-utg
Choose a base branch
from

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.

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

/retryBuilds

@laileni-aws laileni-aws reopened this Feb 22, 2025
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.

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.

3 participants