Skip to content

Commit 3d75a4f

Browse files
authored
Merge branch 'staging' into aldabraInOldService
2 parents df5deae + 0d02b1b commit 3d75a4f

File tree

56 files changed

+985
-284
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+985
-284
lines changed

.changes/3.48.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"date" : "2025-01-16",
3+
"version" : "3.48",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "Enhance Q inline completion context fetching for better suggestion quality"
7+
}, {
8+
"type" : "feature",
9+
"description" : "/doc: Add error message if updated README is too large"
10+
}, {
11+
"type" : "bugfix",
12+
"description" : "/transform: always include button to start a new transformation at the end of a job"
13+
}, {
14+
"type" : "bugfix",
15+
"description" : "Amazon Q can update mvn and gradle build files"
16+
}, {
17+
"type" : "bugfix",
18+
"description" : "Fix doc generation for modules that are a part of the project"
19+
}, {
20+
"type" : "bugfix",
21+
"description" : "Amazon Q /dev: Remove hard-coded limits and instead rely server-side data to communicate number of code generations remaining"
22+
}, {
23+
"type" : "bugfix",
24+
"description" : "/transform: automatically open pre-build error logs when available"
25+
}, {
26+
"type" : "bugfix",
27+
"description" : "/doc: Fix code generation error when cancelling a documentation task"
28+
}, {
29+
"type" : "bugfix",
30+
"description" : "Amazon Q - update messaging for /doc agent"
31+
} ]
32+
}

.changes/3.49.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"date" : "2025-01-17",
3+
"version" : "3.49",
4+
"entries" : [ {
5+
"type" : "bugfix",
6+
"description" : "/review: Improved success rate of code reviews for certain workspace configurations"
7+
} ]
8+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Improve text description of workspace index settings"
4+
}

.changes/next-release/bugfix-b99698f8-eb82-4820-b5f7-002e0ed82827.json

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Amazon Q Doc README diff will re-open when the README file is clicked after it has been closed"
4+
}s
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Amazon Q /test: Fix for test generation payload creation to not filter out target file."
4+
}

.changes/next-release/bugfix-fdd46982-bddb-431b-a20f-3ea7960fbf55.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# _3.49_ (2025-01-17)
2+
- **(Bug Fix)** /review: Improved success rate of code reviews for certain workspace configurations
3+
4+
# _3.48_ (2025-01-16)
5+
- **(Feature)** Enhance Q inline completion context fetching for better suggestion quality
6+
- **(Feature)** /doc: Add error message if updated README is too large
7+
- **(Bug Fix)** /transform: always include button to start a new transformation at the end of a job
8+
- **(Bug Fix)** Amazon Q can update mvn and gradle build files
9+
- **(Bug Fix)** Fix doc generation for modules that are a part of the project
10+
- **(Bug Fix)** Amazon Q /dev: Remove hard-coded limits and instead rely server-side data to communicate number of code generations remaining
11+
- **(Bug Fix)** /transform: automatically open pre-build error logs when available
12+
- **(Bug Fix)** /doc: Fix code generation error when cancelling a documentation task
13+
- **(Bug Fix)** Amazon Q - update messaging for /doc agent
14+
115
# _3.47_ (2025-01-09)
216
- **(Bug Fix)** Fix issue where users are unable to login to Amazon Q if they have previously authenticated ([#5214](https://github.com/aws/aws-toolkit-jetbrains/issues/5214))
317
- **(Bug Fix)** Fix incorrect text shown while updating documentation in /doc

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
# Toolkit Version
5-
toolkitVersion=3.48-SNAPSHOT
5+
toolkitVersion=3.50-SNAPSHOT
66

77
# Publish Settings
88
publishToken=

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererCodeTestSession.kt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ class CodeWhispererCodeTestSession(val sessionContext: CodeTestSessionContext) {
3434
* Run UTG sessions are follow steps:
3535
* 1. Zipping project
3636
* 2. Creating Upload url & Upload to S3 bucket
37-
* 3. StartTestGeneration API -> Get JobId
38-
* 4. GetTestGeneration API
39-
* 5. ExportResultsArchieve API
4037
*/
4138
suspend fun run(codeTestChatHelper: CodeTestChatHelper, previousIterationContext: PreviousUTGIterationContext?): CodeTestResponseContext {
4239
try {
@@ -94,7 +91,8 @@ class CodeWhispererCodeTestSession(val sessionContext: CodeTestSessionContext) {
9491
sourceZip,
9592
"SourceCode",
9693
CodeWhispererConstants.UploadTaskType.UTG,
97-
taskName
94+
taskName,
95+
CodeWhispererConstants.FeatureName.TEST_GENERATION
9896
)
9997

10098
sourceZipUploadResponse.uploadId()
@@ -113,11 +111,10 @@ class CodeWhispererCodeTestSession(val sessionContext: CodeTestSessionContext) {
113111
sourceZipUploadResponse,
114112
testSummaryMessageId
115113
)
116-
// TODO send telemetry for upload duration
117114

118115
return codeTestResponseContext
119116
} catch (e: Exception) {
120-
LOG.debug(e) { "Error when creating tests for the current file" }
117+
LOG.debug(e) { "Error while creating zip and uploading to S3" }
121118
throw e
122119
}
123120
}

0 commit comments

Comments
 (0)