Skip to content

Conversation

@laileni-aws
Copy link
Contributor

@laileni-aws laileni-aws commented Mar 5, 2025

Problem

  • Existing Unit test generation has result field but that helps to emit event for buildStatus only.
  • We need an additional field to emit the status of user accepted/rejected/cancelled/failed for test generation.

Solution

  • Adding additional generic field status to emit the data.
{
    "name": "status",
    "type": "string",
    "allowedValues": [
        "ACCEPTED",
        "CANCELLED",
        "FAILED",
        "REJECTED"
    ],
    "description": "This field helps to emit the status of the operation."
},

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@laileni-aws laileni-aws marked this pull request as ready for review March 5, 2025 21:10
@laileni-aws laileni-aws requested a review from a team as a code owner March 5, 2025 21:10
@laileni-aws laileni-aws changed the title telemetry(amazonq): Adding status field to unit test generation events. telemetry(amazonq): Adding status field to the unit test generation events. Mar 5, 2025
@samgst-amazon samgst-amazon merged commit d82c120 into aws:main Mar 6, 2025
5 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.

2 participants