You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(amazonq): ensure chat does not freeze on /transform with invalid project (#4456)
* fix(amazonq): ensure chat does not freeze on /transform with invalid projects
* fix detekt issue
* move depends to codetransform-specific xml
---------
Co-authored-by: David Hasani <[email protected]>
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/constants/CodeTransformChatItems.kt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -233,6 +233,9 @@ fun buildTransformResultChatContent(result: CodeModernizerJobCompletedResult): C
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/ideMaven/MavenRunnerUtils.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ private fun runMavenCopyDependencies(
117
117
} catch (t:Throwable) {
118
118
val error ="Maven Copy: Unexpected error when executing bundled Maven copy dependencies"
119
119
copyTransformRunnable.setExitCode(Integer.MIN_VALUE) // to stop looking for the exitCode
Copy file name to clipboardExpand all lines: plugins/toolkit/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -560,6 +560,7 @@ codemodernizer.chat.message.local_build_begin=I'm building your module. This can
560
560
codemodernizer.chat.message.local_build_failed=Sorry, I could not run the Maven clean install command to build your module.
561
561
codemodernizer.chat.message.local_build_success=I was able to build your project and will start transforming your code soon.
562
562
codemodernizer.chat.message.result.fail=Sorry, I could not complete the transformation. Try starting the transformation again.
563
+
codemodernizer.chat.message.result.fail_with_known_reason=Sorry, I could not complete the transformation. {0}
563
564
codemodernizer.chat.message.result.partially_success=I upgraded part of your code to Java 17. You can review the diff to see my proposed changes and accept or reject them. The transformation summary has details about the files I updated and the errors that prevented a complete transformation.
564
565
codemodernizer.chat.message.result.success=I successfully upgraded your code to Java 17. You can review the diff to see my proposed changes and accept or reject them. The transformation summary has details about the files I updated.
565
566
codemodernizer.chat.message.result.zip_too_large=Sorry, your project size exceeds the Amazon Q Code Transformation upload limit of 1GB.
0 commit comments