Skip to content

Commit 5bfb867

Browse files
authored
telemetry(amazonq): Removing session cleanUp before emitting the telemetry event (#6211)
## Problem - If user clicks on Cancel button, IDE do `this.sessionCleanUp()` before emitting the metrics ## Solution - Removed this function `this.sessionCleanUp()` --- - 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](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent f57f4f5 commit 5bfb867

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/core/src/amazonqTest/chat/controller/controller.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ export class TestController {
315315
case ButtonActions.STOP_TEST_GEN:
316316
testGenState.setToCancelling()
317317
telemetry.ui_click.emit({ elementId: 'unitTestGeneration_cancelTestGenerationProgress' })
318-
await this.sessionCleanUp()
319318
break
320319
case ButtonActions.STOP_BUILD:
321320
cancelBuild()

0 commit comments

Comments
 (0)