Skip to content

Commit 213ddc6

Browse files
Merge branch 'main' into e2e-test
2 parents 6999576 + a4f5c07 commit 213ddc6

File tree

82 files changed

+5141
-3144
lines changed

Some content is hidden

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

82 files changed

+5141
-3144
lines changed

.changes/3.60.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"date" : "2025-03-20",
3+
"version" : "3.60",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "AmazonQ /test now displays a concise test plan summary to users."
7+
}, {
8+
"type" : "bugfix",
9+
"description" : "Fix inline completion failure due to context length exceeding the threshold"
10+
}, {
11+
"type" : "bugfix",
12+
"description" : "Amazon Q: Fix cases where content may be incorrectly excluded from workspace."
13+
} ]
14+
}

.changes/3.61.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"date" : "2025-03-27",
3+
"version" : "3.61",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "Amazon Q: Moved \"Include suggestions with code references\" setting to General"
7+
}, {
8+
"type" : "feature",
9+
"description" : "Add support for 2025.1"
10+
}, {
11+
"type" : "bugfix",
12+
"description" : "Amazon Q: Attempt to reduce thread pool contention locking IDE caused by `@workspace` making a large number of requests"
13+
}, {
14+
"type" : "deprecation",
15+
"description" : "An upcoming release will remove support for JetBrains Gateway version 2024.3 and for IDEs based on the 2024.1 platform"
16+
} ]
17+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "/transform: prompt user to re-authenticate if credentials expire during transformation"
4+
}

.changes/next-release/bugfix-2dc5d27d-f254-4462-b95c-04bccba7524e.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" : "Gracefully handle additional fields in Amazon Q /dev code generation result without throwing errors"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "/review: set programmingLanguage to Plaintext if language is unknown"
4+
}

.changes/next-release/bugfix-d13b5621-b191-455b-8918-1a5874216512.json

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

.changes/next-release/feature-862af662-3a71-4203-aa1b-bfa41af24b42.json

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

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# _3.61_ (2025-03-27)
2+
- **(Feature)** Amazon Q: Moved "Include suggestions with code references" setting to General
3+
- **(Feature)** Add support for 2025.1
4+
- **(Bug Fix)** Amazon Q: Attempt to reduce thread pool contention locking IDE caused by `@workspace` making a large number of requests
5+
- **(Deprecation)** An upcoming release will remove support for JetBrains Gateway version 2024.3 and for IDEs based on the 2024.1 platform
6+
7+
# _3.60_ (2025-03-20)
8+
- **(Feature)** AmazonQ /test now displays a concise test plan summary to users.
9+
- **(Bug Fix)** Fix inline completion failure due to context length exceeding the threshold
10+
- **(Bug Fix)** Amazon Q: Fix cases where content may be incorrectly excluded from workspace.
11+
112
# _3.59_ (2025-03-13)
213
- **(Feature)** AmazonQ /dev and /doc: Add support for complex workspaces.
314
- **(Bug Fix)** /review: normalize relative file path before unzipping

buildSrc/src/main/kotlin/software/aws/toolkits/gradle/intellij/IdeVersions.kt

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ object IdeVersions {
100100
),
101101
Profile(
102102
name = "2024.2",
103-
gateway = ProductProfile(
104-
sdkVersion = "242.23726-EAP-CANDIDATE-SNAPSHOT",
105-
bundledPlugins = listOf("org.jetbrains.plugins.terminal")
106-
),
107103
community = ProductProfile(
108104
sdkVersion = "2024.2",
109105
bundledPlugins = commonPlugins + listOf(
@@ -127,7 +123,7 @@ object IdeVersions {
127123
),
128124
marketplacePlugins = listOf(
129125
"org.toml.lang:242.20224.155",
130-
"Pythonid:242.20224.300",
126+
"PythonCore:242.20224.300",
131127
"org.jetbrains.plugins.go:242.20224.300",
132128
)
133129
),
@@ -183,42 +179,40 @@ object IdeVersions {
183179
Profile(
184180
name = "2025.1",
185181
gateway = ProductProfile(
186-
sdkVersion = "251.14649-EAP-CANDIDATE-SNAPSHOT",
182+
sdkVersion = "251.23774-EAP-CANDIDATE-SNAPSHOT",
187183
bundledPlugins = listOf("org.jetbrains.plugins.terminal")
188184
),
189185
community = ProductProfile(
190-
sdkVersion = "251.14649-EAP-CANDIDATE-SNAPSHOT",
186+
sdkVersion = "251.23774.109-EAP-SNAPSHOT",
191187
bundledPlugins = commonPlugins + listOf(
192188
"com.intellij.java",
193189
"com.intellij.gradle",
194190
"org.jetbrains.idea.maven",
195191
),
196192
marketplacePlugins = listOf(
197-
"org.toml.lang:251.14649.45",
198-
"PythonCore:251.14649.49",
199-
"Docker:251.14649.49"
193+
"PythonCore:251.23774.109",
194+
"Docker:251.23774.109"
200195
)
201196
),
202197
ultimate = ProductProfile(
203-
sdkVersion = "251.14649-EAP-CANDIDATE-SNAPSHOT",
198+
sdkVersion = "251.23774.109-EAP-SNAPSHOT",
204199
bundledPlugins = commonPlugins + listOf(
205200
"JavaScript",
206201
"JavaScriptDebugger",
207202
"com.intellij.database",
208203
"com.jetbrains.codeWithMe",
209204
),
210205
marketplacePlugins = listOf(
211-
"org.toml.lang:251.14649.45",
212-
"Pythonid:251.14649.49",
213-
"org.jetbrains.plugins.go:251.14649.49",
206+
"Pythonid:251.23774.109",
207+
"org.jetbrains.plugins.go:251.23774.109",
214208
)
215209
),
216210
rider = RiderProfile(
217-
sdkVersion = "2025.1-EAP1-SNAPSHOT",
211+
sdkVersion = "2025.1-EAP8-SNAPSHOT",
218212
bundledPlugins = commonPlugins,
219213
netFrameworkTarget = "net472",
220-
rdGenVersion = "2024.3.1",
221-
nugetVersion = " 2025.1.0-eap01"
214+
rdGenVersion = "2025.1.1",
215+
nugetVersion = " 2025.1.0-eap08"
222216
)
223217
),
224218
).associateBy { it.name }

buildSrc/src/main/kotlin/toolkit-integration-testing.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ extensions.findByType<IntelliJPlatformTestingExtension>()?.let {
7979
task {
8080
integrationTestConfiguration(this)
8181
}
82+
83+
// https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1844
84+
prepareSandboxTask {
85+
disabledPlugins.add("com.intellij.swagger")
86+
}
8287
}
8388
} ?: run {
8489
val integrationTest by tasks.registering(Test::class, integrationTestConfiguration)

buildSrc/src/main/kotlin/toolkit-intellij-subplugin.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
55
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
6+
import org.jetbrains.intellij.platform.gradle.tasks.PrepareSandboxTask
67
import software.aws.toolkits.gradle.findFolders
78
import software.aws.toolkits.gradle.intellij.IdeVersions
89
import software.aws.toolkits.gradle.intellij.toolkitIntelliJ
@@ -103,12 +104,23 @@ dependencies {
103104
}
104105
}
105106

107+
// https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1844
108+
tasks.withType<PrepareSandboxTask>().configureEach {
109+
disabledPlugins.addAll(
110+
"com.intellij.swagger",
111+
"org.jetbrains.plugins.kotlin.jupyter",
112+
)
113+
}
114+
106115
tasks.jar {
107116
// :plugin-toolkit:jetbrains-community results in: --plugin-toolkit-jetbrains-community-IC-<version>.jar
108117
archiveBaseName.set(toolkitIntelliJ.ideFlavor.map { "${project.buildTreePath.replace(':', '-')}-$it" })
109118
}
110119

111120
tasks.withType<Test>().configureEach {
121+
// conflict with Docker logging impl; so bypass service loader
122+
systemProperty("slf4j.provider", "org.slf4j.jul.JULServiceProvider")
123+
112124
systemProperty("log.dir", intellijPlatform.sandboxContainer.map { "$it-test/logs" }.get())
113125
systemProperty("testDataPath", project.rootDir.resolve("testdata").absolutePath)
114126
val jetbrainsCoreTestResources = project(":plugin-toolkit:jetbrains-core").projectDir.resolve("tst-resources")

buildspec/linuxTests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ env:
1313
phases:
1414
install:
1515
commands:
16+
- |
17+
>/home/codebuild-user/.gradle/gradle.properties echo "
18+
org.gradle.jvmargs=-Xmx4g
19+
kotlin.daemon.jvmargs=-Xmx4g
20+
"
1621
- useradd codebuild-user
1722
- dnf install -y acl
1823
- chown -R codebuild-user:codebuild-user /codebuild/output

detekt-rules/detekt.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ coroutines:
3434
active: true
3535
GlobalCoroutineUsage:
3636
active: true
37-
RedundantSuspendModifier:
38-
active: true
39-
SleepInsteadOfDelay:
40-
active: true
37+
InjectDispatcher:
38+
active: false
4139
SuspendFunWithFlowReturnType:
4240
active: true
4341

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
# Toolkit Version
5-
toolkitVersion=3.60-SNAPSHOT
5+
toolkitVersion=3.62-SNAPSHOT
66

77
# Publish Settings
88
publishToken=
99
publishChannel=
1010

11-
ideProfileName=2024.3
11+
ideProfileName=2025.1
1212

1313
remoteRobotPort=8080
1414

@@ -18,8 +18,8 @@ kotlin.code.style=official
1818
# Gradle settings
1919
org.gradle.parallel=true
2020
org.gradle.caching=true
21-
org.gradle.jvmargs=-Xmx2048m
22-
kotlin.daemon.jvmargs=-Xmx2048m
21+
org.gradle.jvmargs=-Xmx4g
22+
kotlin.daemon.jvmargs=-Xmx1500m -Xms500m
2323

2424
# prefer non-enterprise variant of test-retry
2525
systemProp.develocity.testretry.enabled=false

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ detekt = "1.23.7"
1010
diff-util = "4.12"
1111
intellijExt = "1.1.8"
1212
# match with <root>/settings.gradle.kts
13-
intellijGradle = "2.2.1"
13+
intellijGradle = "2.3.0"
1414
intellijRemoteRobot = "0.11.22"
1515
jackson = "2.17.2"
1616
jacoco = "0.8.12"

gradle/wrapper/gradle-wrapper.jar

79 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/BrowserConnector.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import software.aws.toolkits.jetbrains.services.amazonq.util.tabType
2424
import software.aws.toolkits.jetbrains.services.amazonq.webview.theme.AmazonQTheme
2525
import software.aws.toolkits.jetbrains.services.amazonq.webview.theme.ThemeBrowserAdapter
2626
import software.aws.toolkits.jetbrains.settings.MeetQSettings
27+
import software.aws.toolkits.telemetry.MetricResult
2728
import software.aws.toolkits.telemetry.Telemetry
2829
import java.util.function.Function
2930

@@ -70,6 +71,7 @@ class BrowserConnector(
7071
Telemetry.toolkit.willOpenModule.use {
7172
it.module(module.asText())
7273
it.source(trigger.asText())
74+
it.result(MetricResult.Succeeded)
7375
}
7476
}
7577
}

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/util/FeatureDevService.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
package software.aws.toolkits.jetbrains.services.amazonqFeatureDev.util
55

6+
import com.fasterxml.jackson.databind.DeserializationFeature
67
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
78
import com.fasterxml.jackson.module.kotlin.readValue
89
import com.intellij.openapi.project.Project
@@ -37,6 +38,9 @@ import software.aws.toolkits.telemetry.Result
3738
private val logger = getLogger<FeatureDevClient>()
3839

3940
class FeatureDevService(val proxyClient: FeatureDevClient, val project: Project) {
41+
private val objectMapper = jacksonObjectMapper()
42+
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)
43+
4044
fun createConversation(): String {
4145
val startTime = System.currentTimeMillis()
4246
var failureReason: String? = null
@@ -238,7 +242,7 @@ class FeatureDevService(val proxyClient: FeatureDevClient, val project: Project)
238242
val parsedResult: ExportTaskAssistResultArchiveStreamResult
239243
try {
240244
val result = exportResponse.reduce { acc, next -> acc + next } // To map the result it is needed to combine the full byte array
241-
parsedResult = jacksonObjectMapper().readValue(result)
245+
parsedResult = objectMapper.readValue(result)
242246
} catch (e: Exception) {
243247
logger.error(e) { "Failed to parse downloaded code results" }
244248
throw ExportParseException(operation = FeatureDevOperation.ExportTaskAssistArchiveResult.toString(), desc = null, e.cause)

0 commit comments

Comments
 (0)