Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
822 commits
Select commit Hold shift + click to select a range
326406a
nit
roger-zhangg Oct 15, 2024
9597f25
fix(dev): update strings
tverney Oct 16, 2024
e9ef770
chore(dev): include changelog
tverney Oct 16, 2024
5e194ae
fix(dev): update tests
tverney Oct 16, 2024
aaa0a5d
fix(dev): fill args in constructor
tverney Oct 16, 2024
1a5923a
feat(lambda): [Getting started] "Go to console" action
seshubaws Oct 16, 2024
8f7fa07
fix(dev): update failing test to assert items that should be equal
tverney Oct 16, 2024
e63536b
fix(dev): validate files and paths on failing test
tverney Oct 16, 2024
c12524c
Merge staging into feature/lambda-get-started
justinmk3 Oct 16, 2024
8a5b8d9
test(credentials): do not modify developer $HOME #5791
roger-zhangg Oct 16, 2024
ecadcbc
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 16, 2024
015559c
fix(lambda): [Getting started] only accept a single event type
jonife Oct 16, 2024
4c9c6e3
fix(appbuilder): remove appbuilder walkthrough from aws explorer drop…
roger-zhangg Oct 16, 2024
6fa3a9e
docs(tests): mention performance tests in TESTPLAN.md #5793
Hweinstock Oct 16, 2024
1019fec
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 16, 2024
5cbe42b
refactor(fs): use node:fs, drop fs-extra in copyFiles.ts #5761
Hweinstock Oct 16, 2024
cba0d2e
deps: bump @types/readline-sync from 1.4.4 to 1.4.8 (#5795)
dependabot[bot] Oct 16, 2024
af41d26
deps: bump webpack from 5.94.0 to 5.95.0 (#5794)
dependabot[bot] Oct 16, 2024
24473f7
Merge branch 'feature/lambda-get-started' into autoMerge/feature/lamb…
seshubaws Oct 16, 2024
bbed634
Merge staging into feature/lambda-get-started
justinmk3 Oct 16, 2024
449de46
fix(crash): handle sleep/wake appropriately (#5787)
nkomonen-amazon Oct 17, 2024
c9fd395
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 17, 2024
b958880
feat(notifications): initial rule engine (#5783)
hayemaxi Oct 17, 2024
2608a5c
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 17, 2024
192d1ea
test(crash): Crash minor fixes (#5804)
nkomonen-amazon Oct 17, 2024
61f8b30
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 17, 2024
2d4f779
fix(amazonq): display animation for Apply Diff and View Diff buttons …
ivikash Oct 17, 2024
1a13512
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 17, 2024
e0af5f5
test(lambda): side bar app builder integ tests
vicheey Oct 17, 2024
63de784
fix(lambda): [Getting Started]change error to warning
Vandita2020 Oct 17, 2024
3a03e12
test(lambda): sam build
mbfreder Oct 17, 2024
2dbfb3a
test(lambda): sam deploy
mbfreder Oct 17, 2024
17e951c
fix(release): changelog item (#5808)
nkomonen-amazon Oct 17, 2024
87f15cd
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 17, 2024
c44940f
Release 3.29.0
Oct 17, 2024
ff1deb0
Release 1.30.0
Oct 17, 2024
1b5e1bb
Update version to snapshot version: 3.30.0-SNAPSHOT
Oct 17, 2024
5245923
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 17, 2024
cbfda36
refactor(appbuilder): move unrelated appBuilder change out of SAM
roger-zhangg Oct 17, 2024
e129b9e
Update version to snapshot version: 1.31.0-SNAPSHOT
Oct 17, 2024
f1a8089
Merge release into master
Oct 17, 2024
c7a2393
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 17, 2024
30f21dc
deps: drop fs-extra #5803
Hweinstock Oct 17, 2024
b6736df
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 17, 2024
c44fa30
deps: more-precise version of `@types/node` #5801
Hweinstock Oct 17, 2024
9b204fd
Merge branch 'feature/lambda-get-started' into autoMerge/feature/lamb…
seshubaws Oct 17, 2024
d0a02d2
test(lambda): [Getting started] Local Invoke/Debug
jonife Oct 17, 2024
e60746d
test(lambda): [Getting started] SAM CLI List Resources
seshubaws Oct 18, 2024
0447e22
test(lambda): Remote Invoke
Vandita2020 Oct 18, 2024
748adf9
fix(lambda): overwrite template parameters with quickpick values
mbfreder Oct 18, 2024
ed323d7
feat(ec2): provide link for customer to view system logs (#5633)
Hweinstock Oct 18, 2024
87831ea
test(ec2): ensure that private key is not written to telemetry (#5779)
Hweinstock Oct 18, 2024
1bfeebd
test(lambda): [Getting Started] Remote Invoke across classes
Vandita2020 Oct 18, 2024
78e025f
test(lambda): samProject.ts
vicheey Oct 18, 2024
730495e
test(lambda): listSamResources.test.ts
vicheey Oct 18, 2024
a25e103
test(lambda): sam/utils
valerena Oct 18, 2024
e900737
feat(time): Add Interval class (#5792)
nkomonen-amazon Oct 19, 2024
c716995
fix(test): flaky test (#5809)
nkomonen-amazon Oct 19, 2024
f9e4124
ci: don't output code coverage table in logs (#5813)
hayemaxi Oct 21, 2024
effbbfc
ci: cleanup core code coverage paths
hayemaxi Oct 21, 2024
1814cc8
fix(telemetry): session_end not caching events (#5817)
nkomonen-amazon Oct 21, 2024
326b4a9
refactor(amazonq): move getIndentedCode, cleanup telemetry #5765
ivikash Oct 10, 2024
937fb13
telemetry(amazonq): Add new fields in UserTriggerDecision and UserMod…
andrewyuq Oct 10, 2024
5f38a7c
fix(telemetry): Crash monitoring fixes (#5741)
nkomonen-amazon Oct 10, 2024
2859246
telemetry(messages): maybeShowMinVscodeWarning #5762
justinmk3 Oct 10, 2024
600db42
Release 1.29.0
Oct 10, 2024
2b9c0c0
Update version to snapshot version: 1.30.0-SNAPSHOT
Oct 10, 2024
16c587f
Release 3.28.0
Oct 10, 2024
36c7296
Update version to snapshot version: 3.29.0-SNAPSHOT
Oct 10, 2024
af64f36
feat(dev-mode): always log to aws.dev.logfile at "debug" log-level #5770
justinmk3 Oct 10, 2024
78f3968
build: revert "build: temporarily relax min vscode version" #5771
justinmk3 Oct 11, 2024
fe0ec31
fix(tests): use node:fs when globals are not initialized #5772
Hweinstock Oct 11, 2024
674e80a
build(deps): bump the npm_and_yarn group across 1 directory with 2 up…
dependabot[bot] Oct 11, 2024
b3dbfd1
docs(amazonq): sequence diagram for performance telemetry #5743
jpinkney-aws Oct 11, 2024
62d6c88
refactor(tests): move performance tests to testInteg/perf/ #5735
Hweinstock Oct 14, 2024
b944d5a
fix(test): fix flaky test related to ec2.updateStatus (#5758)
Hweinstock Oct 14, 2024
dbd54c5
test(amazonq): performance test for registerNewFiles (#5727)
Hweinstock Oct 14, 2024
eedbda2
test(amazonq): performance test for hashing file in LSP. (#5720)
Hweinstock Oct 14, 2024
fe4adf7
test(amazonq): implement performance test for downloadExportResultArc…
Hweinstock Oct 14, 2024
3e355ac
deps: bump prettier from 3.3.2 to 3.3.3 (#5781)
dependabot[bot] Oct 15, 2024
9f368da
refactor(q-feature-dev): remove errorName from Error classes #5769
chengoramazon Oct 15, 2024
002d2c4
deps: bump sass-loader from 12.6.0 to 16.0.2 #5784
dependabot[bot] Oct 15, 2024
00a6d29
fix(test): unreliable "AuthUtil CodeWhisperer uses fallback connectio…
nkomonen-amazon Oct 15, 2024
bc52d13
telemetry(amazonq): cwsprChatProgrammingLanguage on insertAtCursor, C…
laileni-aws Oct 15, 2024
360cb28
deps: bump @types/webpack-env from 1.18.1 to 1.18.5 (#5606)
dependabot[bot] Oct 15, 2024
aa92cc4
test(credentials): do not modify developer $HOME #5791
roger-zhangg Oct 16, 2024
59ba5f9
docs(tests): mention performance tests in TESTPLAN.md #5793
Hweinstock Oct 16, 2024
ddfc64b
refactor(fs): use node:fs, drop fs-extra in copyFiles.ts #5761
Hweinstock Oct 16, 2024
7def140
deps: bump @types/readline-sync from 1.4.4 to 1.4.8 (#5795)
dependabot[bot] Oct 16, 2024
2944c4b
deps: bump webpack from 5.94.0 to 5.95.0 (#5794)
dependabot[bot] Oct 16, 2024
b08ef6e
fix(crash): handle sleep/wake appropriately (#5787)
nkomonen-amazon Oct 17, 2024
9d91760
feat(notifications): initial rule engine (#5783)
hayemaxi Oct 17, 2024
a12bef2
test(crash): Crash minor fixes (#5804)
nkomonen-amazon Oct 17, 2024
3c29518
fix(amazonq): display animation for Apply Diff and View Diff buttons …
ivikash Oct 17, 2024
4e51c45
fix(release): changelog item (#5808)
nkomonen-amazon Oct 17, 2024
3b51ec5
Release 1.30.0
Oct 17, 2024
4ca6b1b
Update version to snapshot version: 1.31.0-SNAPSHOT
Oct 17, 2024
9608507
Release 3.29.0
Oct 17, 2024
1391ad5
Update version to snapshot version: 3.30.0-SNAPSHOT
Oct 17, 2024
9a6a097
deps: drop fs-extra #5803
Hweinstock Oct 17, 2024
d7dc67e
deps: more-precise version of `@types/node` #5801
Hweinstock Oct 17, 2024
751d87c
feat(ec2): provide link for customer to view system logs (#5633)
Hweinstock Oct 18, 2024
701792a
test(ec2): ensure that private key is not written to telemetry (#5779)
Hweinstock Oct 18, 2024
7528a62
feat(time): Add Interval class (#5792)
nkomonen-amazon Oct 19, 2024
fe6ea9a
fix(test): flaky test (#5809)
nkomonen-amazon Oct 19, 2024
c733e26
ci: don't output code coverage table in logs (#5813)
hayemaxi Oct 21, 2024
d70bb9e
feat(amazonqFeatureDev): include stop generation based on token cance…
tverney Sep 6, 2024
b99f4db
refactor(amazonqFeatureDev): include updated rts model
tverney Sep 11, 2024
5bfde04
fix(amazonqFeatureDev): include currentCodeGenerationId to track refe…
tverney Sep 12, 2024
14a620a
refactor(amazonqFeatureDev): add logic for codeGenerationId
tverney Sep 17, 2024
12e1376
fix(amazonqFeatureDev): create a new token to stop and iterate in the…
tverney Sep 25, 2024
7b7da92
fix(dev): apply fixes based on new eslint rules
tverney Sep 26, 2024
3cfaf44
fix(amazonqFeatureDev): use shared context from action to check cance…
tverney Sep 26, 2024
1fd35af
fix(amazonqFeatureDev): require isCancellation to localize in the ins…
tverney Sep 26, 2024
597a92d
fix(amazonqFeatureDev): don't share state to prepare code since code …
tverney Oct 2, 2024
f45a4bb
fix(dev): merge conflicts and missing commas
tverney Oct 15, 2024
189f0e9
ci: fix windows tests
hayemaxi Oct 21, 2024
67d1958
fix(dev): fix merge conflicts
tverney Oct 21, 2024
904b4d6
Merge branch 'master' into feature/stop-progress-status
tverney Oct 21, 2024
5dd08a2
test(lambda): avoid mocks in sam/utils tests
valerena Oct 21, 2024
0f30f19
Merge pull request #5822 from hayemaxi/codecov
hayemaxi Oct 21, 2024
8a2377d
test(lambda): fix unit test
Vandita2020 Oct 21, 2024
5f816f1
test(ec2): add security related unit tests (#5778)
Hweinstock Oct 21, 2024
14593a9
fix(dev): update messaging for total iterations
tverney Oct 22, 2024
d2bc2d6
feat(ui): multipick prompter #5815
roger-zhangg Oct 22, 2024
3bafa50
fix(dev): safe check for remainingIterations
tverney Oct 22, 2024
4723a1e
npm install
roger-zhangg Oct 22, 2024
1b755c1
Merge staging into feature/lambda-get-started
justinmk3 Oct 22, 2024
5fddd1e
test(build): Sync fonts to Toolkit (#5832)
nkomonen-amazon Oct 22, 2024
6783d07
Merge branch 'feature/lambda-get-started' into autoMerge/feature/lamb…
roger-zhangg Oct 22, 2024
c16af9e
revert merging issue in invokeLambda.ts
roger-zhangg Oct 22, 2024
596ebb2
fix(lambda): sync, deploy params source prompter labels
mbfreder Oct 22, 2024
096973a
test(lambda): sam sync
mbfreder Oct 22, 2024
7b1bece
test(lambda): deploySamApplication.ts
vicheey Oct 22, 2024
1ca1501
fix(ssh): remove extra call to findSshPath in test. (#5836)
Hweinstock Oct 23, 2024
4413f25
Merge branch 'staging' of github.com:aws/aws-toolkit-vscode-staging i…
roger-zhangg Oct 23, 2024
14eabad
Merge staging into feature/lambda-get-started
justinmk3 Oct 23, 2024
a79f086
test(lambda): fix deploy wizard, sync wizard tests
vicheey Oct 23, 2024
e8dddc1
fix(dev): apply feedback
tverney Oct 23, 2024
16d19c1
test(performance): make tests more deterministic by relying more on s…
Hweinstock Oct 23, 2024
55295d6
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 23, 2024
c6e4516
deps(ci node): update node in ci to 18.x [WIP] (#5810)
Hweinstock Oct 23, 2024
61bcdf2
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 23, 2024
566f83e
refactor(shared): replace archiver with `@zip.js/zip.js` #4769
ctlai95 Oct 23, 2024
4d4145c
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 23, 2024
ffa544b
fix(lambda): [Getting Started] wrong template path after saving Debug…
Vandita2020 Oct 23, 2024
e6c1e4f
telemetry(amazonq): use ui_click telemetry for stop code generate but…
kelvin-klchu Oct 23, 2024
1017632
refactor(ec2): enforce ssh key inside global storage. (#5814)
Hweinstock Oct 23, 2024
aac8347
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 23, 2024
509f835
Merge pull request #2 from kelvin-klchu/fix/telemetry
tverney Oct 23, 2024
d67d933
feat(amazonq): Increase polling rate for Q agent code summary (#5843)
juusticeTG Oct 23, 2024
59ad182
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 23, 2024
c7bf2b1
Merge branch 'master' into feature/stop-progress-status
tverney Oct 23, 2024
46a12cb
test(lambda): Local Invoke/Debug
jonife Oct 23, 2024
f9665ce
test(lambda): sam/config.ts
vicheey Oct 23, 2024
f030e35
refactor(appBuilder): move WalkthroughNode
jonife Oct 23, 2024
18fe3db
fix(appbuilder): improve open handler logic
roger-zhangg Oct 23, 2024
2700942
fix(appbuilder): update serverlessland URL
roger-zhangg Oct 23, 2024
871b894
deps: remove archiver #5844
ctlai95 Oct 24, 2024
934c415
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
3b20744
Merge pull request #5675 from tverney/feature/stop-progress-status
hayemaxi Oct 24, 2024
731e268
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
4d7431f
fix(auth): Fix device code detection when running auth through tunnel…
jpinkney-aws Oct 24, 2024
dc4887c
telemetry(amazonq): Create server request metrics that include conver…
jpinkney-aws Oct 24, 2024
f53e3dc
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
798a4fd
telemetry(bug): sessionId not unique (#5845)
nkomonen-amazon Oct 24, 2024
d5b44e1
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
fb62929
feat(amazonq): Add project context to inline completion (#5729)
Will-ShaoHua Oct 24, 2024
052395c
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
f2f9495
fix(telemetry): fix grammer in time to first usable chunk metric (#5855)
jpinkney-aws Oct 24, 2024
473edfb
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
1621b4d
fix(crash): Add more telemetry info to crash reporting (#5850)
nkomonen-amazon Oct 24, 2024
e841813
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
96783ea
telemetry: add acceptedCharCount to UserTriggerDecision STE (#5846)
andrewyuq Oct 24, 2024
3111a11
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
5e8ad31
docs(crash): sequence diagram #5827
nkomonen-amazon Oct 24, 2024
5f64338
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
50d62ba
Update CrashMonitoring
nkomonen-amazon Oct 25, 2024
08e2400
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 25, 2024
41f64ae
feat(notifications): notifications controller and view panel (#5828)
hayemaxi Oct 25, 2024
4e9f806
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 25, 2024
34bf571
fix(lambda): Adding note in Local Invoke (#1862)
Vandita2020 Oct 25, 2024
e8d62f1
config(amazonq): patch language configuration not added correctly #56…
Will-ShaoHua Oct 25, 2024
64f3bbd
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 25, 2024
dc6de32
refactor(appbuilder): combine sync/deploy wizard, add multipick
roger-zhangg Oct 25, 2024
6ee28d4
test(lambda): detectSamProjects.ts
vicheey Oct 25, 2024
800f536
refactor(cw): duplicate language list #5859
Hweinstock Oct 25, 2024
8c9689c
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 25, 2024
7dabb7c
ci(lint): run jscpd in CI, compare to static threshold. (#5833)
Hweinstock Oct 25, 2024
999d4c4
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 25, 2024
142761e
feat(ec2): try to dispose SSM session state #5616
Hweinstock Oct 25, 2024
e9ba72d
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 25, 2024
42f49a8
refactor(sam): duplicate code in sam test #5861
Hweinstock Oct 25, 2024
9fba6b2
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 25, 2024
caba5dd
fix(amazonq): utg findSourceFileByContent passes wrong context #5873
Will-ShaoHua Oct 28, 2024
b84e5e8
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 28, 2024
980710d
telemetry(amazonq inline): perceivedLatency calculated incorrectly #5871
andrewyuq Oct 28, 2024
4b9e761
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 28, 2024
e14e285
fix(amazonq): limit maximum size of supplementalContext being sent (#…
Will-ShaoHua Oct 28, 2024
078073b
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 28, 2024
67225e2
feat(amazonq): Add inline chat (#5835)
grant0417 Oct 28, 2024
0171683
Merge branch 'feature/lambda-get-started' into autoMerge/feature/lamb…
seshubaws Oct 28, 2024
54158ba
feat(amazonq): Add inline chat to context menu and reject empty input…
grant0417 Oct 29, 2024
6c420c7
ci: run generateIcons for extensions (#5880)
hayemaxi Oct 29, 2024
53c4c09
Merge staging into feature/lambda-get-started
justinmk3 Oct 29, 2024
ffae386
feat(sagemaker): free tier Q Chat with auto-login for iam users and l…
ahusseinali Oct 29, 2024
e57e155
Revert "feat(sagemaker): free tier Q Chat with auto-login for iam use…
hayemaxi Oct 29, 2024
584d0a7
Release 1.31.0
Oct 29, 2024
ed4d91c
Release 3.30.0
Oct 29, 2024
5c27670
Update version to snapshot version: 1.32.0-SNAPSHOT
Oct 29, 2024
975891f
Update version to snapshot version: 3.31.0-SNAPSHOT
Oct 29, 2024
84d28f9
Merge release into master
Oct 29, 2024
10b0455
fix(lambda appbuilder): v3 client use toolkit cred
roger-zhangg Oct 29, 2024
6ce3832
feat(sagemaker): free tier Q Chat with auto-login for iam users and l…
ahusseinali Oct 29, 2024
629dcac
fix(amazonq): remove warning on empty inputs to inline chat (#5892)
grant0417 Oct 29, 2024
ca9f66b
Release 1.32.0
Oct 29, 2024
f806ae0
Update version to snapshot version: 1.33.0-SNAPSHOT
Oct 29, 2024
2eb7891
Merge branch 'feature/lambda-get-started' of github.com:aws/aws-toolk…
roger-zhangg Oct 29, 2024
da7d870
Merge pull request #1877 from aws/autoMerge/feature/lambda-get-started
jpinkney-aws Oct 30, 2024
9c89c53
fix(dev): conditional for stop code gen on async event #5896
tverney Oct 30, 2024
5afb2fc
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 30, 2024
7ca344b
added changelog
seshubaws Oct 30, 2024
0239af6
added changelogs
seshubaws Oct 30, 2024
c7325af
test(techdebt): snooze to after re:Invent #5903
Hweinstock Oct 30, 2024
f58de3a
build(vue): warnings from vue about unset flags #5899
Hweinstock Oct 30, 2024
e90b433
added runtime changelogs
seshubaws Oct 30, 2024
e1dfc6f
corrected core/package.json and added docstring
seshubaws Oct 30, 2024
80aaf73
added cloudformation client to deps
seshubaws Oct 30, 2024
fe602c6
lint fix
seshubaws Oct 30, 2024
98cd776
Merge #5902 feat(lambda): Lambda Getting Started
justinmk3 Oct 30, 2024
afd3e4b
fix(lambda): walkthrough strings #5906
seshubaws Oct 30, 2024
6605489
ci: skip "test files required" for Merge prs #5907
justinmk3 Oct 30, 2024
9e425af
ci: condense messages, clarify "changelog" message #5908
justinmk3 Oct 30, 2024
2f2f75f
Release 1.33.0
Oct 30, 2024
9edf2a9
Release 3.31.0
Oct 30, 2024
5ad0484
Update version to snapshot version: 3.32.0-SNAPSHOT
Oct 31, 2024
21f1f17
Update version to snapshot version: 1.34.0-SNAPSHOT
Oct 31, 2024
9fd91dd
Merge release into master
Oct 31, 2024
d660430
feat(amazonq): user can View and Apply diff #5904
ivikash Nov 1, 2024
412f175
feat(amazonq): support SQL conversions (#5775)
dhasani23 Nov 1, 2024
c6f0d5f
feat(notifications): notifications rendering (#5876)
tomcat323 Nov 1, 2024
0d7d7e3
feat(amazonq): upgrade Q LSP to 0.1.24 for UTG (#5891)
leigaol Nov 1, 2024
65d0e93
fix(lambda): skip ecrRepoUri, syncFlags prompts if provided by samcon…
vicheey Nov 3, 2024
c1b76df
fix(lambda): drop template path from sam deploy command #5912
vicheey Nov 3, 2024
77bd8a7
fix(amazonq): Align example help text with the prompt message that it…
jpinkney-aws Nov 4, 2024
cee0fa3
docs(amazonq): Add latency metric diagrams for amazon q chat (#5865)
jpinkney-aws Nov 4, 2024
9f63bbf
fix(amazonq): default requestedConversions to undefined in manifest (…
dhasani23 Nov 5, 2024
b963abb
deps: resolve http-proxy-middleware vulnerability by updating webpack…
hayemaxi Nov 5, 2024
987e2fc
config(beta): support per-extension beta URLs #5921
justinmk3 Nov 5, 2024
e40d586
style(amazonq): remove file with no contents in it (#5927)
jpinkney-aws Nov 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ module.exports = {
message:
'Avoid fs-extra, use shared/fs/fs.ts. Notify the Toolkit team if your required functionality is not available.',
},
{
name: 'fs',
message: 'Avoid node:fs and use shared/fs/fs.ts when possible.',
},
],
},
],
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/jscpd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"pattern": "packages/**/*.ts",
"ignore": ["**node_modules**", "**dist**"],
"gitignore": true,
"threshold": 1.34,
"minLines": 15
}
48 changes: 22 additions & 26 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
vscode-version: [stable]
env:
NODE_OPTIONS: '--max-old-space-size=8192'
Expand All @@ -55,14 +55,32 @@ jobs:
- run: npm run testCompile
- run: npm run lint

jscpd:
needs: lint-commits
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
env:
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 }}
- run: npm install jscpd
- name: Run jscpd
run: npx jscpd --config "$GITHUB_WORKSPACE/.github/workflows/jscpd.json"

macos:
needs: lint-commits
name: test macOS
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
node-version: [16.x]
node-version: [18.x]
vscode-version: [minimum, stable, insiders]
env:
VSCODE_TEST_VERSION: ${{ matrix.vscode-version }}
Expand All @@ -80,17 +98,6 @@ jobs:
uses: coactions/setup-xvfb@v1
with:
run: npm test
- name: Code coverage (Core)
env:
# Unset NODE_OPTIONS because of https://github.com/codecov/uploader/issues/475
NODE_OPTIONS: ''
if: ${{ github.repository == 'aws/aws-toolkit-vscode' && github.ref == 'master' }}
uses: codecov/codecov-action@v4
with:
flags: macos-core-unittests
verbose: true
file: ./coverage/core/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
- name: Code coverage (Toolkit)
env:
# Unset NODE_OPTIONS because of https://github.com/codecov/uploader/issues/475
Expand All @@ -113,17 +120,6 @@ jobs:
verbose: true
file: ./coverage/amazonq/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
- name: Code coverage (CodeWhisperer)
env:
# Unset NODE_OPTIONS because of https://github.com/codecov/uploader/issues/475
NODE_OPTIONS: ''
if: ${{ github.repository == 'aws/aws-toolkit-vscode' && github.ref == 'master' }}
uses: codecov/codecov-action@v4
with:
flags: codewhisperer
verbose: true
file: ./coverage/core/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}

web:
needs: lint-commits
Expand All @@ -132,7 +128,7 @@ jobs:
strategy:
fail-fast: true
matrix:
node-version: [16.x]
node-version: [18.x]
vscode-version: [stable, insiders]
env:
VSCODE_TEST_VERSION: ${{ matrix.vscode-version }}
Expand All @@ -158,7 +154,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x]
node-version: [18.x]
vscode-version: [stable, insiders]
env:
VSCODE_TEST_VERSION: ${{ matrix.vscode-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
if: github.event_name == 'pull_request_target'
with:
node-version: '20'
- name: Check for tests
- name: Comment about contribution guidelines
uses: actions/github-script@v7
if: github.event_name == 'pull_request_target'
with:
Expand Down
22 changes: 16 additions & 6 deletions .github/workflows/notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
const { hasPath, dedupComment } = require('./utils')

const testFilesMessage =
'This pull request modifies code in src/ but no tests were added/updated. Confirm whether tests should be added or ensure the PR description explains why tests are not required.'
'- This pull request modifies code in `src/*` but no tests were added/updated.\n - Confirm whether tests should be added or ensure the PR description explains why tests are not required.\n'

const changelogMessage = `This pull request implements a feature or fix, so it must include a changelog entry. See [CONTRIBUTING.md#changelog](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#changelog) for instructions.`
const changelogMessage =
'- This pull request implements a `feat` or `fix`, so it must include a changelog entry (unless the fix is for an *unreleased* feature). Review the [changelog guidelines](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#changelog).\n - Note: beta or "experiment" features that have active users *should* announce fixes in the changelog.\n - If this is not a feature or fix, use an appropriate type from the [title guidelines](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#pull-request-title). For example, telemetry-only changes should use the `telemetry` type.\n'

/**
* Remind partner teams that tests are required. We don't need to remind them if:
Expand Down Expand Up @@ -44,12 +45,16 @@ module.exports = async ({ github, context }) => {
issue_number: pullRequestId,
})

let msg = ''
if (shouldAddTestFileMessage) {
await dedupComment({ github, comments, owner, repo, pullRequestId, message: testFilesMessage })
msg += testFilesMessage
}

if (shouldAddChangelogMessage) {
await dedupComment({ github, comments, owner, repo, pullRequestId, message: changelogMessage })
msg += changelogMessage
}

if (shouldAddTestFileMessage || shouldAddChangelogMessage) {
await dedupComment({ github, comments, owner, repo, pullRequestId, message: msg })
}
}

Expand All @@ -69,7 +74,12 @@ function requiresChangelogMessage(filenames, title) {
* Require the test files message if there are changes to source files but aren't any
* changes to the test files
*/
function requiresTestFilesMessage(filenames) {
function requiresTestFilesMessage(filenames, title) {
if (/^\s*[mM]erge/.test(title)) {
console.log('"Merge" pull request')
return
}

// Check if src directory changed
if (!hasPath(filenames, 'src/')) {
console.log('Did not find src files in the code changes')
Expand Down
28 changes: 15 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ To run a single test in VSCode, do any one of:

- Unix/macOS/POSIX shell:
```
TEST_FILE=src/test/foo.test.ts npm run test
TEST_FILE=../core/src/test/foo.test.ts npm run test
```
- Powershell:
```
$Env:TEST_FILE = "src/test/foo.test.ts"; npm run test
$Env:TEST_FILE = "../core/src/test/foo.test.ts"; npm run test
```

- To run all tests in a particular subdirectory, you can edit
Expand All @@ -209,16 +209,16 @@ To run tests against a specific folder in VSCode, do any one of:
- Run in your terminal
- Unix/macOS/POSIX shell:
```
TEST_DIR=src/test/foo npm run test
TEST_DIR=../core/src/test/foo npm run test
```
- Powershell:
```
$Env:TEST_DIR = "src/test/foo"; npm run test
$Env:TEST_DIR = "../core/src/test/foo"; npm run test
```

### Coverage report

You can find the coverage report at `./coverage/amazonq/lcov-report/index.html` and `./coverage/core/lcov-report/index.html` after running the tests. Tests ran from the workspace launch config won't generate a coverage report automatically because it can break file watching.
You can find the coverage report at `./coverage/amazonq/lcov-report/index.html` and `./coverage/toolkit/lcov-report/index.html` after running the tests. Tests ran from the workspace launch config won't generate a coverage report automatically because it can break file watching.

### CodeCatalyst Blueprints

Expand Down Expand Up @@ -345,14 +345,16 @@ The `aws.dev.forceDevMode` setting enables or disables Toolkit "dev mode". Witho
- Example: `getLogger().error('topic: widget failed: %O', { foo: 'bar', baz: 42 })`
- Log messages are written to the extension Output channel, which you can view in vscode by visiting the "Output" panel and selecting `AWS Toolkit Logs` or `Amazon Q Logs`.
- Use the `aws.dev.logfile` setting to set the logfile path to a fixed location, so you can follow
and filter logs using shell tools like `tail` and `grep`. For example in settings.json,
```
"aws.dev.logfile": "~/awstoolkit.log",
```
then you can tail the logfile in your terminal:
```
tail -F ~/awstoolkit.log
```
and filter logs using shell tools like `tail` and `grep`.
- Note: this always logs at **debug log-level** (though you can temporarily override that from the `AWS Toolkit Logs` UI).
- Example `settings.json`:
```
"aws.dev.logfile": "~/awstoolkit.log",
```
then you can tail the logfile in your terminal:
```
tail -F ~/awstoolkit.log
```
- Use the `AWS (Developer): Watch Logs` command to watch and filter Toolkit logs (including
telemetry) in VSCode.
- Only available if you enabled "dev mode" (`aws.dev.forceDevMode` setting, see above).
Expand Down
2 changes: 1 addition & 1 deletion buildspec/linuxE2ETests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ phases:
- VCS_COMMIT_ID="${CODEBUILD_RESOLVED_SOURCE_VERSION}"
- CI_BUILD_URL=$(echo $CODEBUILD_BUILD_URL | sed 's/#/%23/g')
- CI_BUILD_ID="${CODEBUILD_BUILD_ID}"
- test -n "${CODECOV_TOKEN}" && [ "$TARGET_BRANCH" = "master" ] && ./codecov --token=${CODECOV_TOKEN} --branch=${CODEBUILD_RESOLVED_SOURCE_VERSION} --repository=${CODEBUILD_SOURCE_REPO_URL} --file=./coverage/core/lcov.info --file=./coverage/amazonq/lcov.info --file=./coverage/toolkit/lcov.info
- test -n "${CODECOV_TOKEN}" && [ "$TARGET_BRANCH" = "master" ] && ./codecov --token=${CODECOV_TOKEN} --branch=${CODEBUILD_RESOLVED_SOURCE_VERSION} --repository=${CODEBUILD_SOURCE_REPO_URL} --file=./coverage/amazonq/lcov.info --file=./coverage/toolkit/lcov.info
finally:
- rm -rf ~/.aws/sso/cache || true
reports:
Expand Down
4 changes: 2 additions & 2 deletions buildspec/linuxIntegrationTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ phases:
install:
run-as: root
runtime-versions:
nodejs: 16
nodejs: 18
dotnet: 6.0
java: latest

Expand Down Expand Up @@ -75,7 +75,7 @@ phases:
- VCS_COMMIT_ID="${CODEBUILD_RESOLVED_SOURCE_VERSION}"
- CI_BUILD_URL=$(echo $CODEBUILD_BUILD_URL | sed 's/#/%23/g')
- CI_BUILD_ID="${CODEBUILD_BUILD_ID}"
- test -n "${CODECOV_TOKEN}" && [ "$TARGET_BRANCH" = "master" ] && ./codecov --token=${CODECOV_TOKEN} --branch=${CODEBUILD_RESOLVED_SOURCE_VERSION} --repository=${CODEBUILD_SOURCE_REPO_URL} --file=./coverage/core/lcov.info --file=./coverage/amazonq/lcov.info --file=./coverage/toolkit/lcov.info
- test -n "${CODECOV_TOKEN}" && [ "$TARGET_BRANCH" = "master" ] && ./codecov --token=${CODECOV_TOKEN} --branch=${CODEBUILD_RESOLVED_SOURCE_VERSION} --repository=${CODEBUILD_SOURCE_REPO_URL} --file=./coverage/amazonq/lcov.info --file=./coverage/toolkit/lcov.info
post_build:
commands:
# Destroy .netrc to avoid leaking $GITHUB_READONLY_TOKEN.
Expand Down
4 changes: 2 additions & 2 deletions buildspec/linuxTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ phases:
install:
run-as: root
runtime-versions:
nodejs: 16
nodejs: 18
commands:
- bash buildspec/shared/linux-install.sh

Expand Down Expand Up @@ -48,7 +48,7 @@ phases:
- VCS_COMMIT_ID="${CODEBUILD_RESOLVED_SOURCE_VERSION}"
- CI_BUILD_URL=$(echo $CODEBUILD_BUILD_URL | sed 's/#/%23/g') # Encode `#` in the URL because otherwise the url is clipped in the Codecov.io site
- CI_BUILD_ID="${CODEBUILD_BUILD_ID}"
- test -n "${CODECOV_TOKEN}" && [ "$TARGET_BRANCH" = "master" ] && ./codecov --token=${CODECOV_TOKEN} --branch=${CODEBUILD_RESOLVED_SOURCE_VERSION} --repository=${CODEBUILD_SOURCE_REPO_URL} --file=./coverage/core/lcov.info --file=./coverage/amazonq/lcov.info --file=./coverage/toolkit/lcov.info
- test -n "${CODECOV_TOKEN}" && [ "$TARGET_BRANCH" = "master" ] && ./codecov --token=${CODECOV_TOKEN} --branch=${CODEBUILD_RESOLVED_SOURCE_VERSION} --repository=${CODEBUILD_SOURCE_REPO_URL} --file=./coverage/amazonq/lcov.info --file=./coverage/toolkit/lcov.info

reports:
unit-test:
Expand Down
2 changes: 1 addition & 1 deletion buildspec/packageTestVsix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ phases:
install:
run-as: root
runtime-versions:
nodejs: 16
nodejs: 18
commands:
- bash buildspec/shared/linux-install.sh

Expand Down
2 changes: 1 addition & 1 deletion buildspec/shared/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# - "Webview is disposed": only happens on vscode "minimum" (1.68.0)
# - "HTTPError: Response code …": caused by github rate-limiting.
# - "npm WARN deprecated querystring": transitive dep of aws sdk v2 (check `npm ls querystring`), so that's blocked until we migrate to v3.
_ignore_pat='Timed-out waiting for browser login flow\|HTTPError: Response code 403\|HTTPError: Response code 404\|npm WARN deprecated querystring'
_ignore_pat='Timed-out waiting for browser login flow\|HTTPError: Response code 403\|HTTPError: Response code 404\|npm WARN deprecated querystring\|npm WARN deprecated'
if [ "$VSCODE_TEST_VERSION" = 'minimum' ]; then
_ignore_pat="$_ignore_pat"'\|Webview is disposed'
fi
Expand Down
2 changes: 1 addition & 1 deletion buildspec/shared/linux-pre_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ if [ "$TOOLKITS_CODEARTIFACT_DOMAIN" ] && [ "$TOOLKITS_CODEARTIFACT_REPO" ] && [
fi

# TODO: move this to the "install" phase?
export NODE_OPTIONS=--max-old-space-size=8192
export NODE_OPTIONS='--max-old-space-size=8192'
npm 2>&1 ci | run_and_report 2 'npm WARN deprecated' 'Deprecated dependencies must be updated.'
2 changes: 1 addition & 1 deletion buildspec/windowsTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ env:
phases:
install:
runtime-versions:
nodejs: 16
nodejs: 18
commands:
- |
if(-Not($Env:CODECOV_TOKEN -eq $null)) {
Expand Down
5 changes: 5 additions & 0 deletions docs/TESTPLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ The test suite has the following categories of tests:
- Live in `src/testE2E`
- These tests are heavier than Integration tests.
- Some E2E tests have a more complicated architecture, described in [TEST_E2E](./TEST_E2E.md)
- Performance Tests: **slow** tests
- Live in `src/testInteg/perf`.
- A subset of integration tests focused on catching performance regressions.
- Use a combination of operation counting and system usage statistics such as cpu usage, memory usage, and duration.
- Each test is often repeated 10 or more times for less variant system usage statistics, then median of runs is used.

## Test files

Expand Down
20 changes: 16 additions & 4 deletions docs/build.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
# Build

The AmazonQ features rely on the `codewhisperer-streaming` service, who's client
is generated from the service's smithy models and placed in
`src.gen/@amzn/codewhisperer-streaming` (For more
information about this client and how it is generated, please see this
The AmazonQ features rely on the `codewhisperer-streaming` service, to support both Sigv4 and Bearer token modes of this service,
two clients are generated from the service's smithy models and placed in
`src.gen/@amzn/amazon-q-developer-streaming-client` and `src.gen/@amzn/codewhisperer-streaming` respectively (For more
information about these clients and how they are generated, please see this
[quip document](https://quip-amazon.com/2dAWAvTIYXXr/Build-instructions-for-AWS-CodeWhisperer-Streaming-Typescript-client)).

## @amzn/amazon-q-developer-streaming client

This client is a standalone npm project in typescript, and it is added to
the project as a workspace in the project's root `package.json` with the line `"workspaces": [ ..., "src.gen/@amzn/amazon-q-developer-streaming" ]`.
The client may be manually built using `npm run build -w @amzn/amazon-q-developer-streaming"`.
The `generateClients` run script ensures that this dependency is
built before the toolkit project itself. Workspaces are automatically ready to
be imported in the root toolkit project by their declared package.json name,
(`@amzn/amazon-q-developer-streaming` in this case).

## @amzn/codewhisperer-streaming client

This client is a standalone npm project in typescript, and it is added to
the project as a workspace in the project's root `package.json` with the line `"workspaces": [ ..., "src.gen/@amzn/codewhisperer-streaming" ]`.
The client may be manually built using `npm run build -w @amzn/codewhisperer-streaming"`.
Expand Down
Binary file added docs/marketplace/vscode/infraComposer.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading