From f697d80f0183266b8bb2a4871f7209b208f3c17a Mon Sep 17 00:00:00 2001 From: Dylan Ross Date: Wed, 19 Nov 2025 13:23:46 -0800 Subject: [PATCH 1/2] feat(smus): Update region selector to allow matching on region code --- .../src/sagemakerunifiedstudio/auth/ui/iamProfileSelection.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/src/sagemakerunifiedstudio/auth/ui/iamProfileSelection.ts b/packages/core/src/sagemakerunifiedstudio/auth/ui/iamProfileSelection.ts index ebe72e951cb..fd61fc70f50 100644 --- a/packages/core/src/sagemakerunifiedstudio/auth/ui/iamProfileSelection.ts +++ b/packages/core/src/sagemakerunifiedstudio/auth/ui/iamProfileSelection.ts @@ -332,6 +332,9 @@ export class SmusIamProfileSelector { ) quickPick.items = regionItems + // Allow users to find matches by typing in the region code (e.g., us-east-1) + quickPick.matchOnDescription = true + // Pre-select default region if provided if (options?.defaultRegion) { const defaultItem = regionItems.find((item) => (item as any).regionCode === options.defaultRegion) From 205679f3d1dc3c84af48b17f76a86568d09e997b Mon Sep 17 00:00:00 2001 From: Laxman Reddy <141967714+laileni-aws@users.noreply.github.com> Date: Wed, 19 Nov 2025 15:12:12 -0800 Subject: [PATCH 2/2] fix(toolkit): flaky test cases (#8327) ## Problem - https://d1ihu6zq92vp9p.cloudfront.net/45451b0f-383e-4f4a-adc0-ce623f5765be/report.html ``` Error: Activating extension 'redhat.java' failed: Java 21 or more recent is required to run the Java extension. Please download and install a recent JDK. You can still compile your projects with older JDKs by configuring ['java.configuration.runtimes'](https://github.com/redhat-developer/vscode-java/wiki/JDK-Requirements#java.configuration.runtimes). at v.n (/tmp/.vscode-test/vscode-linux-x64-1.83.0/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:125:6274) at async v.m (/tmp/.vscode-test/vscode-linux-x64-1.83.0/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:125:6168) at async v.l (/tmp/.vscode-test/vscode-linux-x64-1.83.0/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:125:5625) ``` - The Python 3.14 version is coming from the external Serverless Land repository pattern (aws-samples/serverless-patterns) ## Solution - Fixed tests --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license. --- packages/core/scripts/test/launchTestUtilities.ts | 1 + .../test/awsService/appBuilder/serverlessLand/wizard.test.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/scripts/test/launchTestUtilities.ts b/packages/core/scripts/test/launchTestUtilities.ts index 92afb769275..6f8b420fd8a 100644 --- a/packages/core/scripts/test/launchTestUtilities.ts +++ b/packages/core/scripts/test/launchTestUtilities.ts @@ -121,6 +121,7 @@ async function getVSCodeCliArgs(params: { ['DEVELOPMENT_PATH']: projectRootDir, ['AWS_TOOLKIT_AUTOMATION']: params.suite, ['TEST_DIR']: process.env.TEST_DIR, + ['JAVA_HOME']: process.env.JAVA_HOME, ...params.env, }, } diff --git a/packages/core/src/test/awsService/appBuilder/serverlessLand/wizard.test.ts b/packages/core/src/test/awsService/appBuilder/serverlessLand/wizard.test.ts index e8a51238d6f..8eb97e101e5 100644 --- a/packages/core/src/test/awsService/appBuilder/serverlessLand/wizard.test.ts +++ b/packages/core/src/test/awsService/appBuilder/serverlessLand/wizard.test.ts @@ -88,7 +88,7 @@ describe('CreateWizard', async () => { assert.ok(resourceNodes[0] instanceof ResourceNode) const lambdaResource = resourceNodes[2] as ResourceNode - assert.strictEqual(lambdaResource.resource.resource.Runtime, 'python3.12') + assert.strictEqual(lambdaResource.resource.resource.Runtime, 'python3.14') prompterTester.assertCallAll() })