Skip to content

Commit a8ab467

Browse files
authored
Merge branch 'master' into appbuilder-flaky-test
2 parents ce984cd + b488df4 commit a8ab467

File tree

11 files changed

+441
-403
lines changed

11 files changed

+441
-403
lines changed

LICENSE-THIRD-PARTY

Lines changed: 396 additions & 396 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"date": "2025-10-10",
3+
"version": "1.99.0",
4+
"entries": []
5+
}

packages/amazonq/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.99.0 2025-10-10
2+
3+
- Miscellaneous non-user-facing changes
4+
15
## 1.98.0 2025-10-02
26

37
- Miscellaneous non-user-facing changes

packages/amazonq/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "amazon-q-vscode",
33
"displayName": "Amazon Q",
44
"description": "The most capable generative AI–powered assistant for software development.",
5-
"version": "1.99.0-SNAPSHOT",
5+
"version": "1.100.0-SNAPSHOT",
66
"extensionKind": [
77
"workspace"
88
],

packages/core/src/awsService/sagemaker/commands.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,16 @@ export async function stopSpace(
133133
ctx: vscode.ExtensionContext,
134134
sageMakerClient?: SagemakerClient
135135
) {
136+
await tryRefreshNode(node)
137+
if (node.getStatus() === 'Stopped' || node.getStatus() === 'Stopping') {
138+
void vscode.window.showWarningMessage(`Space ${node.spaceApp.SpaceName} is already in Stopped/Stopping state.`)
139+
return
140+
} else if (node.getStatus() === 'Starting') {
141+
void vscode.window.showWarningMessage(
142+
`Space ${node.spaceApp.SpaceName} is in Starting state. Wait until it is Running to attempt stop again.`
143+
)
144+
return
145+
}
136146
const spaceName = node.spaceApp.SpaceName!
137147
const confirmed = await showConfirmationMessage({
138148
prompt: `You are about to stop this space. Any active resource will also be stopped. Are you sure you want to stop the space?`,
@@ -179,7 +189,7 @@ export async function openRemoteConnect(
179189
void vscode.window.showErrorMessage(ConnectFromRemoteWorkspaceMessage)
180190
return
181191
}
182-
192+
await tryRefreshNode(node)
183193
if (node.getStatus() === 'Stopped') {
184194
// In case of SMUS, we pass in a SM Client and for SM AI, it creates a new SM Client.
185195
const client = sageMakerClient ? sageMakerClient : new SagemakerClient(node.regionCode)

packages/core/src/codewhisperer/service/transformByQ/transformApiHandler.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ function isExcludedSourceFile(path: string): boolean {
275275
return sourceExcludedExtensions.some((extension) => path.endsWith(extension))
276276
}
277277

278-
// zip all dependency files and all source files excluding "target" (contains large JARs) plus ".git" and ".idea" (may appear in diff.patch)
278+
// zip all dependency files and all source files
279+
// excludes "target" (contains large JARs) plus ".git", ".idea", and ".github" (may appear in diff.patch)
279280
export function getFilesRecursively(dir: string, isDependenciesFolder: boolean): string[] {
280281
const entries = nodefs.readdirSync(dir, { withFileTypes: true })
281282
const files = entries.flatMap((entry) => {
@@ -284,7 +285,12 @@ export function getFilesRecursively(dir: string, isDependenciesFolder: boolean):
284285
if (isDependenciesFolder) {
285286
// include all dependency files
286287
return getFilesRecursively(res, isDependenciesFolder)
287-
} else if (entry.name !== 'target' && entry.name !== '.git' && entry.name !== '.idea') {
288+
} else if (
289+
entry.name !== 'target' &&
290+
entry.name !== '.git' &&
291+
entry.name !== '.idea' &&
292+
entry.name !== '.github'
293+
) {
288294
// exclude the above directories when zipping source code
289295
return getFilesRecursively(res, isDependenciesFolder)
290296
} else {

packages/core/src/test/codewhisperer/commands/transformByQ.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,10 @@ dependencyManagement:
503503
await fs.mkdir(gitFolder)
504504
await fs.writeFile(path.join(gitFolder, 'config'), 'sample content for the test file')
505505

506+
const githubFolder = path.join(tempDir, '.github')
507+
await fs.mkdir(githubFolder)
508+
await fs.writeFile(path.join(githubFolder, 'config'), 'more sample content for the test file')
509+
506510
const zippedFiles = getFilesRecursively(tempDir, false)
507511
assert.strictEqual(zippedFiles.length, 1)
508512
})
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"date": "2025-10-10",
3+
"version": "3.79.0",
4+
"entries": []
5+
}

packages/toolkit/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.79.0 2025-10-10
2+
3+
- Miscellaneous non-user-facing changes
4+
15
## 3.78.0 2025-10-02
26

37
- **Feature** Refactor and optimize Lambda Remote Invoke UI with enhanced payload management

0 commit comments

Comments
 (0)