Skip to content

Commit bf03fd3

Browse files
authored
Merge branch 'aws:master' into master
2 parents 902de77 + 401f24e commit bf03fd3

File tree

117 files changed

+1094
-297
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+1094
-297
lines changed

.eslintrc.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
mocha: true,
1313
es2024: true,
1414
},
15-
plugins: ['@typescript-eslint', 'unicorn', 'header', 'security-node', 'aws-toolkits'],
15+
plugins: ['@typescript-eslint', '@stylistic', 'unicorn', 'header', 'security-node', 'aws-toolkits'],
1616
extends: [
1717
'eslint:recommended',
1818
'plugin:@typescript-eslint/eslint-recommended',
@@ -113,6 +113,20 @@ module.exports = {
113113
'no-constant-condition': ['error', { checkLoops: false }],
114114
'no-empty': 'off',
115115

116+
// https://eslint.style/rules/default/spaced-comment
117+
// Require space after // comment.
118+
'@stylistic/spaced-comment': [
119+
'error',
120+
'always',
121+
{
122+
block: {
123+
markers: ['!'], // Allow the /*!…*/ license header.
124+
// exceptions: ['*'],
125+
// balanced: true
126+
},
127+
},
128+
],
129+
116130
// Rules from https://github.com/sindresorhus/eslint-plugin-unicorn
117131
// TODO: 'unicorn/no-useless-promise-resolve-reject': 'error',
118132
// TODO: 'unicorn/prefer-at': 'error',

buildspec/shared/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# - "waiting for browser": from `ssoAccessTokenProvider.test.ts`, unclear how to fix it.
99
# - "HTTPError: Response code …": caused by github rate-limiting.
1010
# - "npm WARN deprecated querystring": transitive dep of aws sdk v2 (check `npm ls querystring`), so that's blocked until we migrate to v3.
11-
_ignore_pat='Timed-out waiting for browser login flow\|HTTPError: Response code 403\|HTTPError: Response code 404\|npm WARN deprecated querystring\|npm WARN deprecated'
11+
_ignore_pat='HTTPError: Response code 403\|HTTPError: Response code 404\|npm WARN deprecated querystring\|npm WARN deprecated'
1212

1313
# Do not print (noisy) lines matching these patterns.
1414
# - "ERROR:bus… Failed to connect to the bus": noise related to "xvfb". https://github.com/cypress-io/cypress/issues/19299

docs/arch_features.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ For EC2 specifically, there are a few additional steps:
4343

4444
1. If connecting to EC2 instance via remote window, the toolkit generates temporary SSH keys (30 second lifetime), with the public key sent to the remote instance.
4545
- Key type is ed25519 if supported, or RSA otherwise.
46+
- This connection will overwrite the `.ssh/authorized_keys` file on the remote machine with each connection.
4647
1. If insufficient permissions are detected on the attached IAM role, toolkit will prompt to add an inline policy with the necessary actions.
4748
1. If SSM sessions remain open after closing the window/terminal, the toolkit will terminate them on-shutdown, or when starting another session to the same instance.
4849

package-lock.json

Lines changed: 216 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"devDependencies": {
4242
"@aws-toolkits/telemetry": "^1.0.284",
4343
"@playwright/browser-chromium": "^1.43.1",
44+
"@stylistic/eslint-plugin": "^2.11.0",
4445
"@types/he": "^1.2.3",
4546
"@types/vscode": "^1.68.0",
4647
"@types/vscode-webview": "^1.57.1",

packages/amazonq/.changes/1.32.0.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
{
2222
"type": "Feature",
23-
"description": "Enable Free Tier Chat for IAM users"
23+
"description": "Amazon SageMaker Studio: Enable Free Tier Chat for IAM users"
2424
}
2525
]
26-
}
26+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Feature",
3+
"description": "Q feature dev: recognize .bms, .pli code files"
4+
}
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: Simplify log channel"
4+
}

packages/amazonq/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
- **Bug Fix** Use Sagemaker environment IAM Credentials for Code Completion when they're available
5959
- **Bug Fix** Inline: Code completion not working for Sagemaker Pro Tier users.
6060
- **Bug Fix** Disable /transform and /dev commands for sagemaker users as they're not supported
61-
- **Feature** Enable Free Tier Chat for IAM users
61+
- **Feature** Amazon SageMaker Studio: Enable Free Tier Chat for IAM users
6262

6363
## 1.31.0 2024-10-29
6464

packages/amazonq/src/app/amazonqScan/chat/controller/messenger/messengerUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*
55
*/
6-
//TODO: Refactor the common functionality between Transform, FeatureDev, CWSPRChat, Scan and UTG to a new Folder.
6+
// TODO: Refactor the common functionality between Transform, FeatureDev, CWSPRChat, Scan and UTG to a new Folder.
77

88
export default class MessengerUtils {
99
static stringToEnumValue = <T extends { [key: string]: string }, K extends keyof T & string>(

0 commit comments

Comments
 (0)