Skip to content

Commit b5e0619

Browse files
authored
Amazon Q Transform: increase project size limit to 2GB (aws#5096)
1 parent 25b59d8 commit b5e0619

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Feature",
3+
"description": "Amazon Q Transform: Increase project upload size limit to 2GB"
4+
}

packages/core/src/codewhisperer/models/constants.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,7 @@ export const newCustomizationMessage = 'You have access to new Amazon Q customiz
336336
export const newCustomizationsAvailableKey = 'aws.amazonq.codewhisperer.newCustomizations'
337337

338338
// Start of QCT Strings
339-
340-
export const uploadZipSizeLimitInBytes = 1000000000 // 1GB
339+
export const uploadZipSizeLimitInBytes = 2000000000 // 2GB
341340

342341
export const maxBufferSize = 1024 * 1024 * 8 // this is 8MB; the default max buffer size for stdout for spawnSync is 1MB
343342

@@ -598,10 +597,10 @@ export const nonWindowsJava11HomeHelpChatMessage =
598597
'To find the JDK path, run the following command in a new IDE terminal: `/usr/libexec/java_home -v 11`'
599598

600599
export const projectSizeTooLargeChatMessage =
601-
'Sorry, your project size exceeds the Amazon Q Code Transformation upload limit of 1GB. For more information, see the [Code Transformation documentation](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/troubleshooting-code-transformation.html#project-size-limit).'
600+
'Sorry, your project size exceeds the Amazon Q Code Transformation upload limit of 2GB. For more information, see the [Code Transformation documentation](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/troubleshooting-code-transformation.html#project-size-limit).'
602601

603602
export const projectSizeTooLargeNotification =
604-
'Your project size exceeds the Amazon Q Code Transformation upload limit of 1GB. For more information, see the [Code Transformation documentation](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/troubleshooting-code-transformation.html#project-size-limit).'
603+
'Your project size exceeds the Amazon Q Code Transformation upload limit of 2GB. For more information, see the [Code Transformation documentation](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/troubleshooting-code-transformation.html#project-size-limit).'
605604

606605
export const JDK8VersionNumber = '52'
607606

0 commit comments

Comments
 (0)