Skip to content

Commit d2d9a3a

Browse files
Merge master into feature/amazonqLSP
2 parents 2b49a5d + 8b08ef4 commit d2d9a3a

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
* @aws/aws-ides-team
22
packages/core/src/codewhisperer/ @aws/codewhisperer-team
33
packages/core/src/amazonqFeatureDev/ @aws/earlybird
4-
packages/core/src/codewhispererChat/ @aws/dexp
5-
packages/core/src/amazonq/ @aws/dexp
4+
packages/core/src/codewhispererChat/ @aws/flare
5+
packages/core/src/amazonq/ @aws/flare
66
packages/core/src/awsService/accessanalyzer/ @aws/access-analyzer
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Amazon Q /doc: progress bar persists after cancelling README creation"
4+
}

packages/core/src/amazonqDoc/session/sessionState.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ export class CodeGenState extends CodeGenBase implements SessionState {
244244
action.telemetry.setGenerateCodeIteration(this.currentIteration)
245245
action.telemetry.setGenerateCodeLastInvocationTime()
246246
const codeGenerationId = randomUUID()
247-
248-
action.messenger.sendDocProgress(this.tabID, DocGenerationStep.SUMMARIZING_FILES, 0, action.mode)
249-
247+
if (!action.tokenSource?.token.isCancellationRequested) {
248+
action.messenger.sendDocProgress(this.tabID, DocGenerationStep.SUMMARIZING_FILES, 0, action.mode)
249+
}
250250
await this.config.proxyClient.startCodeGeneration(
251251
this.config.conversationId,
252252
this.config.uploadId,

0 commit comments

Comments
 (0)