Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
635 commits
Select commit Hold shift + click to select a range
04d9e8f
fix(lambda):[getting-started] fix install checker in walkthrough (#1697)
roger-zhangg Sep 10, 2024
c47d85e
fix(lambda):[getting-started] Walkthrough bugbash fixes (#1705)
roger-zhangg Sep 11, 2024
67d604a
fix(getting started): Preselect inline in Remote Invoke Webview (#1708)
jonife Sep 11, 2024
15d0214
fix(getting started): Preselect inline in Local Invoke Webview (#1707)
jonife Sep 11, 2024
4afa292
fix(getting started): Add metrics for OpenTemplate and OpenHandler (#…
mbfreder Sep 12, 2024
c617361
fix(lambda): [Getting Started] Webview header (#1713)
jonife Sep 12, 2024
cf1803b
fix(getting started): Fix Appbuilder failure related to invalid value…
jonife Sep 12, 2024
3c2ce7d
fix(getting started): Use info Icon for all resources with no icon (#…
jonife Sep 12, 2024
76aa9ff
feat(lambda): [Getting Started] Adjust arn length (#1717)
Vandita2020 Sep 13, 2024
8986862
fix(lambda getting started): add build unit tests (#1703)
mbfreder Sep 13, 2024
c869098
feat(getting started): Support template parameters (#1706)
mbfreder Sep 13, 2024
5b70454
fix(lambda): [Getting started]Using `FunctionArn` instead of `StackNa…
Vandita2020 Sep 13, 2024
d2b33f3
fix(lambda): [Getting Started] Fix latency issue with the Webview (#1…
jonife Sep 16, 2024
2ab49af
fix(lambda): [Getting Started]Correcting fields for Local and Remote …
Vandita2020 Sep 17, 2024
34c1943
feat(lambda): [getting started] Add unit tests for log search (#1719)
seshubaws Sep 18, 2024
385ba68
feat(lambda): [Getting started] String updates needed from doc writer…
seshubaws Sep 18, 2024
87846f9
fix(getting started): Debug command name update (#1726)
mbfreder Sep 18, 2024
a17a48b
fix(getting started): Bug 58 update logic for getting root folders b…
vicheey Sep 18, 2024
61e913a
fix(lambda): [Getting Started]Changing UX for Function Name in Remote…
Vandita2020 Sep 18, 2024
4b8144d
fix(lambda): [getting started] Update Local Invoke Webview name to co…
seshubaws Sep 18, 2024
c436aaa
fix(lambda): [Getting Started]Button fixes for remote invoke (#1735)
Vandita2020 Sep 19, 2024
a146753
fix(lambda): [Getting Started]Button fixes for local invoke (#1733)
Vandita2020 Sep 19, 2024
f462b3a
fix(lambda):[getting started] dup treenode register issue (#1734)
roger-zhangg Sep 19, 2024
2429a31
fix(lambda): [Getting Started] New local invoke webView for the Gener…
jonife Sep 19, 2024
0e5b994
fix(lambda): [Getting Started] Show File name in webview instead of c…
jonife Sep 19, 2024
3055a23
fix(appbuilder): Refactor appBuilder Codebase to awsService (#1740)
roger-zhangg Sep 19, 2024
8c675dc
merged staging branch and npm installed
seshubaws Sep 19, 2024
871c365
Merge fix/feature/lambda-get-started
justinmk3 Sep 19, 2024
c730ca0
Merge staging into feature/lambda-get-started
justinmk3 Sep 19, 2024
fc7e89c
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 20, 2024
8089be9
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 20, 2024
adcd9f0
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 20, 2024
08d9196
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 20, 2024
8829594
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 20, 2024
1a29997
add dynamic options based on valid sam config file in project root
vicheey Sep 17, 2024
fb99b06
update unit test for sam sync
vicheey Sep 20, 2024
9f34307
refactoring code to comment
vicheey Sep 20, 2024
97a2202
fix(lambda): [Getting Started] Keeping Remote Event name updated (#1742)
Vandita2020 Sep 23, 2024
a3404be
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 23, 2024
2f314df
fix(getting started): Add descriptions for sync and deploy options in…
mbfreder Sep 23, 2024
d146c15
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 23, 2024
46d0992
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 23, 2024
742c746
remove project folder prompt and update unit test
vicheey Sep 23, 2024
b78aa09
remove duplicate getConfigFileUri function
vicheey Sep 24, 2024
da4c1f3
Prompt for template params even with defaults provided
mbfreder Sep 24, 2024
240f98c
add logic for dynamic build options
vicheey Sep 24, 2024
cb2fc15
Prefill params prompters with default values
mbfreder Sep 24, 2024
1b62312
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 24, 2024
49bac19
fix(getting started): deploy command using the wrong template (#1730)
mbfreder Sep 24, 2024
92062f6
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 24, 2024
4440ba2
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 24, 2024
14dc2bf
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 24, 2024
4210b42
Update text and string in walkthrough
roger-zhangg Sep 24, 2024
091833d
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 24, 2024
64b862a
Change icons colors to white
mbfreder Sep 24, 2024
956d535
fix(lambda): [Getting Started] New local invoke webView (#1754)
jonife Sep 25, 2024
3d0d48e
Merge branch 'feature/lambda-get-started' into autoMerge/feature/lamb…
mbfreder Sep 25, 2024
da632f8
feat(lambda): [Getting Started] Add file name in LaunchConfig (#1761)
jonife Sep 25, 2024
dbf140a
refactor samconfig class
vicheey Sep 25, 2024
51a99d2
Merge branch 'feature/lambda-get-started' into feature/lambda-get-sta…
vicheey Sep 25, 2024
777f3bb
update samconfig.fromUri name
vicheey Sep 25, 2024
668d103
remove apigw event from sidebar
roger-zhangg Sep 25, 2024
aff6b98
Show a toast message and log when reading samconfig.toml encouter syn…
vicheey Sep 24, 2024
4ea925b
revert few changes to approved version
roger-zhangg Sep 25, 2024
3c5b2d2
Invoke correct button selection
Vandita2020 Sep 23, 2024
d1f0a1b
fix linting
seshubaws Sep 26, 2024
a1b36af
Merge branch 'autoMerge/feature/lambda-get-started' into autoMerge/fe…
seshubaws Sep 26, 2024
dd58af4
Merge pull request #1768 from seshubaws/autoMerge/feature/lambda-get-…
jpinkney-aws Sep 26, 2024
4cd2a2e
Merge pull request #1746 from vicheey/feature/lambda-get-started-bug-…
jpinkney-aws Sep 26, 2024
4736a1e
Merge pull request #1751 from Vandita2020/radio_button_ri
jpinkney-aws Sep 26, 2024
dc1ed55
Merge pull request #1753 from mbfreder/deploy-template-params
jpinkney-aws Sep 26, 2024
f35b166
Merge pull request #1759 from mbfreder/icons-same-color
jpinkney-aws Sep 26, 2024
6a693a5
Merge pull request #1763 from roger-zhangg/remove_event
jpinkney-aws Sep 26, 2024
2769c50
Merge pull request #1760 from aws/autoMerge/feature/lambda-get-started
jpinkney-aws Sep 26, 2024
f0c7b6b
nit
roger-zhangg Sep 26, 2024
06a3879
Merge pull request #1756 from roger-zhangg/wt_update
jpinkney-aws Sep 26, 2024
f666f0a
Removing text area from Local file payload
Vandita2020 Sep 26, 2024
d1658cc
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 26, 2024
fe3b6a4
Merge pull request #1772 from Vandita2020/remove-text-area
jpinkney-aws Sep 27, 2024
e78d67d
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 27, 2024
4e39195
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 27, 2024
d4c364c
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 27, 2024
bef3414
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 27, 2024
195f321
feat(env): resolveEnv.ts can get augmented $PATH
roger-zhangg Sep 27, 2024
18dff88
Merge staging into feature/lambda-get-started
aws-toolkit-automation Sep 27, 2024
a279e75
feat(appbuilder): Auto refresh appbuilder when config or template cha…
roger-zhangg Sep 30, 2024
f6e8f01
feat(lambda): [Getting Started] Remove remoteTestEvent from Local Web…
jonife Sep 30, 2024
20b92e5
fix(getting started): update samconfig validation logic (#1773)
vicheey Sep 30, 2024
86fa9a7
feat(lambda): [Getting Started] Onboard missen runtime versions (#1774)
jonife Sep 30, 2024
2a8792c
fix(lambda): [Getting Started] exclude app builder explorer in web mo…
vicheey Sep 30, 2024
9ed0b7d
fix(lambda): [Getting Started]Correcting path for Cross-Platform comp…
Vandita2020 Sep 30, 2024
58c9098
fix(lambda): [Getting started] Correcting UX for Local and Remote Inv…
Vandita2020 Sep 30, 2024
bafc658
fix automerge
seshubaws Sep 30, 2024
1fe02cd
Merge pull request #1783 from seshubaws/autoMerge/feature/lambda-get-…
jpinkney-aws Oct 1, 2024
1cc19be
fix(lambda): [Getting Started] skip deployed stack node in App Builde…
vicheey Oct 1, 2024
6a10323
fix(lambda): [Getting Started Fixing error logs (#1769)
Vandita2020 Oct 1, 2024
0df54ae
feat(lambda): [Getting Started] Add unittest for walkthrough (#1755)
roger-zhangg Oct 1, 2024
4bf9c81
Merge pull request #1781 from aws/autoMerge/feature/lambda-get-started
jpinkney-aws Oct 1, 2024
f580a83
Merge branch 'feature/lambda-get-started' into autoMerge/feature/lamb…
roger-zhangg Oct 1, 2024
5d63f56
lint fix
roger-zhangg Oct 1, 2024
a33cf8d
Merge pull request #1785 from aws/autoMerge/feature/lambda-get-started
jpinkney-aws Oct 1, 2024
2814fe5
fix(lambda): Remove "AWS" references (#1787)
mbfreder Oct 2, 2024
9ddfd03
fix(lambda): [Getting Started] Pass events to lambda handler from the…
jonife Oct 2, 2024
4527441
test(lambda): DeployWizard
mbfreder Oct 2, 2024
23397e3
fix(appbuilder): update toolkit/package.json (#1791)
roger-zhangg Oct 2, 2024
405216f
fix(lambda): [Getting Started] Update Web-view button
jonife Oct 2, 2024
834d9e2
fix(appbuilder): update walkthrough text and images
roger-zhangg Oct 2, 2024
fc3bef8
fix(lambdd): [Getting Started] error handling, updating samconfig.toml
vicheey Oct 2, 2024
b3c38d6
feat(lambda): [Getting Started] Allow only a single file events path …
jonife Oct 4, 2024
327ef38
Merge branch 'feature/lambda-get-started' into autoMerge/feature/lamb…
roger-zhangg Oct 4, 2024
4d71632
merge fix
roger-zhangg Oct 4, 2024
d1bd483
Merge into feature/lambda-get-started
justinmk3 Oct 4, 2024
c53229f
feat(lambda): [Getting Started] Display all remote resources, actions
seshubaws Oct 7, 2024
78bf8f5
test(lambda): SAM build integ tests
mbfreder Oct 9, 2024
6c40985
feat(appbuilder): walkthrough #1815
roger-zhangg Oct 11, 2024
0050247
test(appbuilder): more tests for tool autoinstall
roger-zhangg Oct 11, 2024
3c92a0c
test(lambda): Local invoke and Debug
jonife Oct 11, 2024
3a76882
fix(appbuilder): increase walkthrough image resolution
roger-zhangg Oct 14, 2024
3623ee9
test(lambda): [Getting Started] Remote Invoke
Vandita2020 Oct 14, 2024
b60bfef
test(appbuilder): fix walkthrough tes on Windows
roger-zhangg Oct 15, 2024
4b9ae66
test(lambda): [Getting started] Application Builder explorer sidebar …
vicheey Oct 15, 2024
0b4d420
fix(appbuilder): cleanup, move walkthrough out of help
roger-zhangg Oct 15, 2024
1ba881d
Merge branch 'feature/lambda-get-started' into autoMerge/feature/lamb…
roger-zhangg Oct 15, 2024
b26612a
fix conflict & lint
roger-zhangg Oct 15, 2024
326406a
nit
roger-zhangg Oct 15, 2024
1a5923a
feat(lambda): [Getting started] "Go to console" action
seshubaws Oct 16, 2024
c12524c
Merge staging into feature/lambda-get-started
justinmk3 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
1019fec
Merge staging into feature/lambda-get-started
aws-toolkit-automation 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
c9fd395
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 17, 2024
2608a5c
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 17, 2024
61f8b30
Merge staging into feature/lambda-get-started
aws-toolkit-automation 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
87f15cd
Merge staging into feature/lambda-get-started
aws-toolkit-automation 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
c7a2393
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 17, 2024
b6736df
Merge staging into feature/lambda-get-started
aws-toolkit-automation 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
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
5dd08a2
test(lambda): avoid mocks in sam/utils tests
valerena Oct 21, 2024
8a2377d
test(lambda): fix unit test
Vandita2020 Oct 21, 2024
4723a1e
npm install
roger-zhangg Oct 22, 2024
1b755c1
Merge staging into feature/lambda-get-started
justinmk3 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
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
55295d6
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 23, 2024
61bcdf2
Merge staging into feature/lambda-get-started
aws-toolkit-automation 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
aac8347
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 23, 2024
59ad182
Merge staging into feature/lambda-get-started
aws-toolkit-automation 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
934c415
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
731e268
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
f53e3dc
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
d5b44e1
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
052395c
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
473edfb
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
e841813
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
3111a11
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
5f64338
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 24, 2024
08e2400
Merge staging into feature/lambda-get-started
aws-toolkit-automation 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
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
8c9689c
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 25, 2024
999d4c4
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 25, 2024
e9ba72d
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 25, 2024
9fba6b2
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 25, 2024
b84e5e8
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 28, 2024
4b9e761
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 28, 2024
078073b
Merge staging into feature/lambda-get-started
aws-toolkit-automation Oct 28, 2024
0171683
Merge branch 'feature/lambda-get-started' into autoMerge/feature/lamb…
seshubaws Oct 28, 2024
53c4c09
Merge staging into feature/lambda-get-started
justinmk3 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
7f4517d
fix(lambda): drop delete action for lambda, s3 in AppBuilder #5922
seshubaws Nov 5, 2024
a4662aa
build(lint): throw error on JSON.stringify within a logging statement…
Hweinstock Nov 5, 2024
5e0ff12
ci(lint): expand jscpd to use branch comparison #5862
Hweinstock Nov 5, 2024
090bfc9
Merge remote-tracking branch 'upstream/master' into HEAD
Nov 5, 2024
1486e3a
fix(jscpd): exclude nested /scripts/ dir #5930
Hweinstock Nov 5, 2024
34b695a
fix(amazonq): Improve indexing auto start-stop strategy #5929
leigaol Nov 5, 2024
89375c4
refactor(amazonq): add BaseConnector Abstract class for common logic …
ivikash Nov 6, 2024
2c356e3
feat(notifications): setup and activation (#5932)
hayemaxi Nov 6, 2024
6989ed6
feat(amazonq): add new languages for auto scan (#5934)
ctlai95 Nov 6, 2024
bb6c5c1
Merge https://github.com/aws/aws-toolkit-vscode into HEAD
Nov 6, 2024
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
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ module.exports = {
'aws-toolkits/no-incorrect-once-usage': 'error',
'aws-toolkits/no-string-exec-for-child-process': 'error',
'aws-toolkits/no-console-log': 'error',

'aws-toolkits/no-json-stringify-in-log': 'error',
'no-restricted-imports': [
'error',
{
Expand Down
86 changes: 86 additions & 0 deletions .github/workflows/copyPasteDetection.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# github actions: https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-nodejs
# setup-node: https://github.com/actions/setup-node

name: Copy-Paste Detection

on:
pull_request:
branches: [master, feature/*, staging]

jobs:
jscpd:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
env:
NODE_OPTIONS: '--max-old-space-size=8192'

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Fetch fork upstream
run: |
git remote add forkUpstream https://github.com/${{ github.event.pull_request.head.repo.full_name }} # URL of the fork
git fetch forkUpstream # Fetch fork

- name: Determine base and target branches for comparison.
run: |
echo "CURRENT_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
echo "TARGET_BRANCH=${{ github.event.pull_request.base.ref }}" >> $GITHUB_ENV
- run: git diff --name-only origin/$TARGET_BRANCH forkUpstream/$CURRENT_BRANCH > diff_output.txt
- run: |
npm install -g jscpd

- run: jscpd --config "$GITHUB_WORKSPACE/.github/workflows/jscpd.json"

- if: always()
uses: actions/upload-artifact@v4
with:
name: unfiltered-jscpd-report
path: ./jscpd-report.json

- name: Filter jscpd report for changed files
run: |
if [ ! -f ./jscpd-report.json ]; then
echo "jscpd-report.json not found"
exit 1
fi
echo "Filtering jscpd report for changed files..."
CHANGED_FILES=$(jq -R -s -c 'split("\n")[:-1]' diff_output.txt)
echo "Changed files: $CHANGED_FILES"
jq --argjson changed_files "$CHANGED_FILES" '
.duplicates | map(select(
(.firstFile?.name as $fname | $changed_files | any(. == $fname)) or
(.secondFile?.name as $sname | $changed_files | any(. == $sname))
))
' ./jscpd-report.json > filtered-jscpd-report.json
cat filtered-jscpd-report.json

- name: Check for duplicates
run: |
if [ $(wc -l < ./filtered-jscpd-report.json) -gt 1 ]; then
echo "filtered_report_exists=true" >> $GITHUB_ENV
else
echo "filtered_report_exists=false" >> $GITHUB_ENV
fi
- name: upload filtered report (if applicable)
if: env.filtered_report_exists == 'true'
uses: actions/upload-artifact@v4
with:
name: filtered-jscpd-report
path: ./filtered-jscpd-report.json

- name: Fail and log found duplicates.
if: env.filtered_report_exists == 'true'
run: |
cat ./filtered-jscpd-report.json
echo "Duplications found, failing the check."
exit 1
8 changes: 5 additions & 3 deletions .github/workflows/jscpd.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"pattern": "packages/**/*.ts",
"ignore": ["**node_modules**", "**dist**"],
"ignore": ["**node_modules**", "**dist**", "**/scripts/**"],
"gitignore": true,
"threshold": 1.34,
"minLines": 15
"threshold": 3.0,
"minLines": 3,
"output": "./",
"reporters": ["json"]
}
18 changes: 0 additions & 18 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,6 @@ 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
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
8 changes: 4 additions & 4 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,11 +209,11 @@ 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
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
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
Loading
Loading