Skip to content

Commit 7139af7

Browse files
committed
Merge branch 'master' into flaky/cc
2 parents 6c58b0b + 100eb07 commit 7139af7

File tree

140 files changed

+11362
-1653
lines changed

Some content is hidden

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

140 files changed

+11362
-1653
lines changed

buildspec/release/70checkmarketplace.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,32 @@ phases:
2222
build:
2323
commands:
2424
- VERSION=$(node -e "console.log(require('./packages/${TARGET_EXTENSION}/package.json').version);")
25-
# get extension name
25+
# get extension name, if in beta, use some hard-coded recent version
2626
- |
2727
if [ "${TARGET_EXTENSION}" = "amazonq" ]; then
2828
extension_name="amazonwebservices.amazon-q-vscode"
29+
[ "$STAGE" != "prod" ] && VERSION="1.43.0" || true
2930
elif [ "${TARGET_EXTENSION}" = "toolkit" ]; then
3031
extension_name="amazonwebservices.aws-toolkit-vscode"
32+
[ "$STAGE" != "prod" ] && VERSION="3.42.0" || true
3133
else
3234
echo checkmarketplace: "Unknown TARGET_EXTENSION: ${TARGET_EXTENSION}"
3335
exit 1
3436
fi
35-
# keep reinstalling the extension until the desired version is updated. Otherwise fail on codebuild timeout (1 hour).
37+
if [ "$STAGE" != "prod" ]; then
38+
echo "checkmarketplace: Non-production stage detected. Installing hardcoded version '${VERSION}'."
39+
fi
40+
# keep installing the desired extension version until successful. Otherwise fail on codebuild timeout (1 hour).
3641
- |
3742
while true; do
3843
code --uninstall-extension "${extension_name}" --no-sandbox --user-data-dir /tmp/vscode
39-
code --install-extension ${extension_name} --no-sandbox --user-data-dir /tmp/vscode
44+
code --install-extension "${extension_name}@${VERSION}" --no-sandbox --user-data-dir /tmp/vscode || true
4045
cur_version=$(code --list-extensions --show-versions --no-sandbox --user-data-dir /tmp/vscode | grep ${extension_name} | cut -d'@' -f2)
4146
if [ "${cur_version}" = "${VERSION}" ]; then
4247
echo "checkmarketplace: Extension ${extension_name} is updated to version '${cur_version}.'"
4348
break
4449
else
45-
echo "checkmarketplace: Current version '${cur_version}' does not match expected version '${VERSION}'. Retrying..."
50+
echo "checkmarketplace: Expected extension version '${VERSION}' has not been successfully installed. Retrying..."
4651
fi
4752
sleep 120 # Wait for 2 minutes before retrying
4853
done

docs/web.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can run the Web mode implementation of the extension in the following ways.
1616
- To see logs, using the Command Palette search: `Toggle Developer Tools`. Then go to the `Console` tab. In web mode VS Code seems to duplicate log messages, idk how to fix this.
1717
- The difference between web mode and Node.js/desktop is that in web mode everything runs in browser environment so certain things like Node.js modules will **not** be available.
1818

19-
## Running in an actual Browser
19+
## Running in an actual Browser (Recommended)
2020

2121
The following steps will result in a Chrome window running with VS Code
2222
and the web version of the AWS Toolkit extension installed:
@@ -43,7 +43,7 @@ and the web version of the AWS Toolkit extension installed:
4343
const context = browser
4444
```
4545

46-
2. In the `Run & Debug` menu select the `Extension (Chrome)` option
46+
2. In the `Run & Debug` menu select the `Extension Web` option
4747

4848
> Note: To stop the debug session, you need to click the read `Disconnect` button multiple times
4949

@@ -62,6 +62,12 @@ do the following:
6262

6363
Now when you run the extension in the browser it will do CORS checks.
6464

65+
### Troubleshooting
66+
67+
- `Extension Web` fails to launch
68+
- Update `@vscode/test-web` by running `$ npm install @vscode/test-web@latest`
69+
- Update/install playwright with `$ npx playwright install`. This will be mentioned in one of the build tasks outputs.
70+
6571
## Running in [vscode.dev](https://vscode.dev)
6672

6773
The following will explain how to get your latest local development changes running in the actual `vscode.dev`. Use this if you want to test on an actual VS Code Web instance.

package-lock.json

Lines changed: 3967 additions & 1198 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"@typescript-eslint/parser": "^7.14.1",
5252
"@vscode/codicons": "^0.0.33",
5353
"@vscode/test-electron": "^2.3.8",
54-
"@vscode/test-web": "^0.0.54",
54+
"@vscode/test-web": "^0.0.65",
5555
"@vscode/vsce": "^2.19.0",
5656
"eslint": "^8.56.0",
5757
"eslint-config-prettier": "^9.1.0",
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"date": "2025-01-30",
3+
"version": "1.45.0-SNAPSHOT",
4+
"entries": [
5+
{
6+
"type": "Bug Fix",
7+
"description": "Allow AB users with an overridden customization to go back to the default customization"
8+
},
9+
{
10+
"type": "Bug Fix",
11+
"description": "For security reasons, disabled auto linkify for link texts coming in markdown other than [TEXT](URL) format"
12+
},
13+
{
14+
"type": "Feature",
15+
"description": "Add setting to allow Q /dev to run code and test commands"
16+
}
17+
]
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"date": "2025-01-30",
3+
"version": "1.45.0",
4+
"entries": [
5+
{
6+
"type": "Bug Fix",
7+
"description": "Allow AB users with an overridden customization to go back to the default customization"
8+
},
9+
{
10+
"type": "Bug Fix",
11+
"description": "For security reasons, disabled auto linkify for link texts coming in markdown other than [TEXT](URL) format"
12+
},
13+
{
14+
"type": "Feature",
15+
"description": "Add setting to allow Q /dev to run code and test commands"
16+
}
17+
]
18+
}

packages/amazonq/.changes/next-release/Bug Fix-1d7e776d-333a-4f39-a8e6-29ea2ecb19c9.json

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Citation links are not clickable as numbers, but appear as non-clickable texts"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Fix language server start failure in AL2023 ARM64"
4+
}

packages/amazonq/.changes/next-release/Bug Fix-8212e8e4-f65f-4594-a04f-76d47c61b41e.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)