Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 2 additions & 63 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
matrix:
node-version: [18.x]
vscode-version: [minimum, stable, insiders]
package: [amazonq, toolkit]
package: [amazonq]
env:
VSCODE_TEST_VERSION: ${{ matrix.vscode-version }}
NODE_OPTIONS: '--max-old-space-size=8192'
Expand Down Expand Up @@ -181,67 +181,6 @@ jobs:
with:
run: npm run testWeb

cloudformation-integ:
needs: lint-commits
name: CloudFormation LSP E2E Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [18.x]
vscode-version: [stable]
env:
VSCODE_TEST_VERSION: ${{ matrix.vscode-version }}
NODE_OPTIONS: '--max-old-space-size=8192'
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Setup CloudFormation LSP
shell: bash
run: bash packages/core/src/testE2E/cloudformation/setup-local-lsp.sh
- run: npm ci
- name: Run CloudFormation E2E Tests (Unix)
if: runner.os != 'Windows'
uses: coactions/setup-xvfb@v1
with:
run: npm run testE2ECfn -w packages/toolkit
- name: Run CloudFormation E2E Tests (Windows)
if: runner.os == 'Windows'
run: npm run testE2ECfn -w packages/toolkit
- name: Print Extension Logs
if: failure()
shell: bash
run: |
echo "=== AWS Toolkit Extension Logs ==="
find packages/toolkit/.vscode-test/user-data/logs -name "*.log" -type f 2>/dev/null | while read logfile; do
echo "--- $logfile ---"
cat "$logfile" || echo "Could not read log file"
done || echo "No extension logs found"

echo ""
echo "=== CloudFormation LSP Server Logs ==="
echo "LSP Path: $__CLOUDFORMATIONLSP_PATH"
if [ -n "$__CLOUDFORMATIONLSP_PATH" ]; then
LSP_LOG_DIR="$__CLOUDFORMATIONLSP_PATH/.aws-cfn-storage/logs"
echo "Checking directory: $LSP_LOG_DIR"
if [ -d "$LSP_LOG_DIR" ]; then
find "$LSP_LOG_DIR" -name "*.log" -type f 2>/dev/null | while read logfile; do
echo "--- $logfile ---"
cat "$logfile" || echo "Could not read log file"
done
else
echo "LSP logs directory does not exist: $LSP_LOG_DIR"
echo "Contents of LSP path:"
ls -la "$__CLOUDFORMATIONLSP_PATH" 2>/dev/null || echo "Cannot list LSP path"
fi
else
echo "Environment variable __CLOUDFORMATIONLSP_PATH is not set"
fi

windows:
needs: lint-commits
name: test Windows
Expand All @@ -251,7 +190,7 @@ jobs:
matrix:
node-version: [18.x]
vscode-version: [stable, insiders]
package: [amazonq, toolkit]
package: [amazonq]
env:
VSCODE_TEST_VERSION: ${{ matrix.vscode-version }}
NODE_OPTIONS: '--max-old-space-size=8192'
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/amazonq/.changes/1.108.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"date": "2026-01-23",
"version": "1.108.0",
"entries": []
}
4 changes: 4 additions & 0 deletions packages/amazonq/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.108.0 2026-01-23

- Miscellaneous non-user-facing changes

## 1.107.0 2026-01-08

- Miscellaneous non-user-facing changes
Expand Down
7 changes: 1 addition & 6 deletions packages/amazonq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "amazon-q-vscode",
"displayName": "Amazon Q",
"description": "The most capable generative AI–powered assistant for software development.",
"version": "1.108.0-SNAPSHOT",
"version": "1.109.0-SNAPSHOT",
"extensionKind": [
"workspace"
],
Expand Down Expand Up @@ -148,11 +148,6 @@
"markdownDescription": "%AWS.configuration.description.amazonq%",
"default": true
},
"amazonQ.allowFeatureDevelopmentToRunCodeAndTests": {
"markdownDescription": "%AWS.configuration.description.featureDevelopment.allowRunningCodeAndTests%",
"type": "object",
"default": {}
},
"amazonQ.importRecommendationForInlineCodeSuggestions": {
"type": "boolean",
"description": "%AWS.configuration.description.amazonq.importRecommendation%",
Expand Down
1 change: 0 additions & 1 deletion packages/core/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"AWS.configuration.description.suppressPrompts": "Prompts which ask for confirmation. Checking an item suppresses the prompt.",
"AWS.configuration.enableCodeLenses": "Enable SAM hints in source code and template.yaml files",
"AWS.configuration.description.resources.enabledResources": "AWS resources to display in the 'Resources' portion of the explorer.",
"AWS.configuration.description.featureDevelopment.allowRunningCodeAndTests": "Allow /dev to run code and test commands",
"AWS.configuration.description.experiments": "Try experimental features and give feedback. Note that experimental features may be removed at any time.\n * `jsonResourceModification` - Enables basic create, update, and delete support for cloud resources via the JSON Resources explorer component.",
"AWS.stepFunctions.publishStateMachine.error.invalidYAML": "Cannot publish invalid YAML file",
"AWS.stepFunctions.publishStateMachine.info.creating": "Creating state machine '{0}' in {1}...",
Expand Down
13 changes: 0 additions & 13 deletions packages/core/src/codewhisperer/util/codewhispererSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const description = {
workspaceIndexMaxFileSize: Number,
workspaceIndexCacheDirPath: String,
workspaceIndexIgnoreFilePatterns: ArrayConstructor(String),
allowFeatureDevelopmentToRunCodeAndTests: Object,
ignoredSecurityIssues: ArrayConstructor(String),
}

Expand Down Expand Up @@ -74,18 +73,6 @@ export class CodeWhispererSettings extends fromExtensionManifest('amazonQ', desc
return this.get('workspaceIndexIgnoreFilePatterns', [])
}

public getAutoBuildSetting(): { [key: string]: boolean } {
return this.get('allowFeatureDevelopmentToRunCodeAndTests', {})
}

public async updateAutoBuildSetting(projectName: string, setting: boolean) {
const projects = this.getAutoBuildSetting()

projects[projectName] = setting

await this.update('allowFeatureDevelopmentToRunCodeAndTests', projects)
}

public getIgnoredSecurityIssues(): string[] {
return this.get('ignoredSecurityIssues', [])
}
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/shared/settings-amazonq.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export const amazonqSettings = {
"amazonQSelectDeveloperProfile": {}
},
"amazonQ.showCodeWithReferences": {},
"amazonQ.allowFeatureDevelopmentToRunCodeAndTests": {},
"amazonQ.importRecommendationForInlineCodeSuggestions": {},
"amazonQ.shareContentWithAWS": {},
"amazonQ.workspaceIndex": {},
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/testLint/eslint.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ describe('eslint', function () {
'.ts',
'../amazonq',
'../core',
'../toolkit',
// TODO: fix lint issues in scripts/
// '../../scripts',
],
Expand Down