Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes after 2 PRs #4939

Draft
wants to merge 103 commits into
base: auto-trigger-revamp
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
e93f1a2
Updating version to 3.31
Oct 3, 2024
7c4a996
Updating SNAPSHOT version to 3.32-SNAPSHOT
Oct 3, 2024
cc5fb89
Fix EDT issue on CodeWhispererEditorListener (#4934)
rli Oct 4, 2024
cd63f65
Isolate HOME to `build/` directory (#4930)
rli Oct 7, 2024
687cb2d
fix inline completion not supported language UI is rendered in backgr…
Will-ShaoHua Oct 8, 2024
c8cec7f
config(amazonq): update crossfile config (#4945)
Will-ShaoHua Oct 8, 2024
90fda64
feat(amazonq): loosen inline suggestion restriction for json/yaml fil…
Will-ShaoHua Oct 9, 2024
6afc927
config(amazonq) unblock several languages generateCompletion requests…
Will-ShaoHua Oct 9, 2024
8f9c157
feat(amazonq): Adding userIntent for insertAtCursor and copyToClipboa…
laileni-aws Oct 9, 2024
7e4f6e3
fix(dev): add error messages for upload URL expiry (#4949)
chengoramazon Oct 9, 2024
07640ec
Fix sign out button in reauth panel in Q chat (#4935)
manodnyab Oct 9, 2024
280b6fd
feat(amazonq): Automatically pause and resume @workspace indexing whe…
leigaol Oct 9, 2024
a74994d
Add metadata to authAddConnection metrics (#4943)
manodnyab Oct 9, 2024
96331c8
fix(amazonq): raise max @workspace indexing size to 4GB (#4954)
leigaol Oct 10, 2024
aa3ba5e
fix(amazonq): Update exception handling for feature dev to improve ob…
ctidd Oct 10, 2024
5c91df6
Fix toolkit connection dropdown hiding when panel is small (#4933)
samgst-amazon Oct 10, 2024
a35a059
fix(dev): Include "no change required exception" for EmptyPatch (#4938)
tverney Oct 10, 2024
d18218c
Update STE UserTriggerDecision and UserModification events (#4955)
andrewyuq Oct 10, 2024
dd95f40
Updating version to 3.32
Oct 10, 2024
dc67222
Updating SNAPSHOT version to 3.33-SNAPSHOT
Oct 10, 2024
84b50bc
Fix lint errors (#4963)
laileni-aws Oct 11, 2024
80abea5
Support more options for running with `runIdeVariant` (#4960)
rli Oct 11, 2024
f39d792
Add 243 build profile (#4899)
rli Oct 16, 2024
bae4f07
Fix missing Rider model imports in Qodana (#4964)
rli Oct 16, 2024
379b1ec
Fix deadlock in CodeWhispererStatusBarWidget (#4967)
rli Oct 16, 2024
fbfb3a1
Include `contents: read` permission in Qodana workflow (#4969)
rli Oct 16, 2024
dd00e96
Fix build failure in `main` (#4973)
rli Oct 16, 2024
bf33e46
telemetry(amazonq): Adding cwsprChatProgrammingLanguage parameter to …
laileni-aws Oct 16, 2024
9796f7e
fix(amazonq): Fix bug for `@workspace` cannot properly locate certain…
leigaol Oct 17, 2024
91924e4
fix(amazonq): Fix memory report telemetry of Amazon Q LSP (#4974)
leigaol Oct 17, 2024
12e7803
auto-trigger a/b (#4961)
andrewyuq Oct 17, 2024
1bb707d
Updating version to 3.33
Oct 17, 2024
4319d6d
Updating SNAPSHOT version to 3.34-SNAPSHOT
Oct 17, 2024
6af6a46
refactor(amazonq): move codewhisperer utils/contants to amazonq/share…
Will-ShaoHua Oct 17, 2024
4a3dfbf
refactor(amazonq): move CodeWhisperer FeatureConifgService, Settings …
Will-ShaoHua Oct 18, 2024
5c97bcc
refactor(amazonq): move projectContext folder to amazonq/shared (#4972)
Will-ShaoHua Oct 18, 2024
6955ef9
Fix broken Gateway / Rider profiles due to missing assets (#4984)
rli Oct 19, 2024
764905c
test(amazonq) fix broken FileContextProvider test (#4989)
Will-ShaoHua Oct 21, 2024
e9bfb9a
refactor(amazonq) refactor ProjectContextProvider.kt and add tests (#…
Will-ShaoHua Oct 21, 2024
13e5d8d
config(amazonq): setup project context ab for inline completion (#4990)
Will-ShaoHua Oct 21, 2024
e3c47d7
Decouple LSP from vector index creation; start LSP by default (#4978)
Will-ShaoHua Oct 21, 2024
f331fb6
Fix Jackson classloader issue while reading tokens from disk (#4994)
rli Oct 22, 2024
b8306c7
Updating version to 3.34
Oct 22, 2024
0c30f6e
Updating SNAPSHOT version to 3.35-SNAPSHOT
Oct 22, 2024
fa44967
test(amazonq) patch #4978 (#4999)
Will-ShaoHua Oct 22, 2024
6a849a8
test(amazonq) should not install and try run encoderserver in test en…
Will-ShaoHua Oct 23, 2024
8dc4b81
feat(dev): Stop code generation action (#4948)
tverney Oct 23, 2024
4eb0b30
Mark IDE 233 and GW 242 as deprecated (#4998)
rli Oct 23, 2024
41965f8
config(amazonq): Add project context to inline completion (#4976)
Will-ShaoHua Oct 24, 2024
a81caf6
Add accetpedCharCount into UserTriggerDecision STE (#5008)
andrewyuq Oct 24, 2024
987e2ae
Don't yield in tight loop when context process hasn't started (#5011)
rli Oct 28, 2024
39c13ea
Add an extra . before the file extensions recorded in metrics (#4980)
manodnyab Oct 28, 2024
4eb2943
feat(amazonq): support in editor chat (#5004)
zixlin7 Oct 28, 2024
f8d7360
Add metric for location of reauth (#5021)
manodnyab Oct 29, 2024
343be58
feat(Amazonq): Remove forced read-only view from before diff on agent…
juusticeTG Oct 29, 2024
ecda124
fix telemetry first response latency (#5022)
zixlin7 Oct 29, 2024
4f3cd21
Improve Client Registration Error Collection (#4993)
samgst-amazon Oct 29, 2024
e611154
Updating version to 3.35
Oct 29, 2024
e676cea
Updating SNAPSHOT version to 3.36-SNAPSHOT
Oct 29, 2024
2d679ef
fix perceivedLatency being calculated incorrectly (#5013)
andrewyuq Oct 29, 2024
5d1de02
fix(amazonq): default keybinding for inline chat conflicts (#5026)
zixlin7 Oct 30, 2024
ea3e986
Updating version to 3.36
Oct 30, 2024
11397c3
Updating SNAPSHOT version to 3.37-SNAPSHOT
Oct 30, 2024
f258ea9
fix(amazonq): Crossfile query config not configured correctly (#5028)
Will-ShaoHua Oct 30, 2024
e121827
See if managed GHA saves more space than manually deleting directorie…
rli Oct 31, 2024
fcb4f88
Fix: Replacing onCodeBlockActionClicked with onCodeInsertToCursorPosi…
laileni-aws Oct 31, 2024
1b266b2
fix(amazonq): hide inline chat shortcut hint on remote/gateway (#5034)
zixlin7 Oct 31, 2024
4581534
fix(dev): Add state reassign to keep consistent across (#5035)
tverney Oct 31, 2024
6501364
chore(dev): Updated changelog to update wording for /dev bugfix (#5037)
neilk-aws Oct 31, 2024
300d9d8
Updating version to 3.37
Oct 31, 2024
46f88ae
Updating SNAPSHOT version to 3.38-SNAPSHOT
Nov 1, 2024
8085719
fix supplemental context log latency always says 0ms (#5040)
Will-ShaoHua Nov 1, 2024
c765d61
use lambda version of logger (#5033)
samgst-amazon Nov 4, 2024
06181dd
Add OpenTelemetry base classes (#4982)
rli Nov 5, 2024
5f74b1e
Fix detekt source override dropping all source (#5049)
rli Nov 6, 2024
49e31b2
Tweak otelbase classes slightly to meet requirements from generator (…
rli Nov 6, 2024
bb851ec
Emit OTel spans to toolkit telemetry service (#5046)
rli Nov 6, 2024
e2a950c
fix(amazonq): improve indexing auto start stop strategy (#5050)
leigaol Nov 6, 2024
7f3b222
Telemetry: Emit session_start during startup activities (#4981)
samgst-amazon Nov 6, 2024
0f1e099
Fix popup not init in EDT for remote (#5045)
andrewyuq Nov 6, 2024
0b83303
Move Q Chat 'TelemetryHelper' metrics to OTel (#5036)
rli Nov 7, 2024
ad03841
fix(amazonq): better location for inline chat editor hint (#5057)
zixlin7 Nov 7, 2024
82f2275
Update telemetry: emit auth scopes in user state (#4944)
samgst-amazon Nov 7, 2024
c65f2b8
Change debug/warn logs to info (#5058)
samgst-amazon Nov 7, 2024
404329f
Emit metric on OAuth callback failure (#5060)
rli Nov 7, 2024
a834c96
Scrub names from messages in logging/telemetry (#5053)
manodnyab Nov 7, 2024
eb68069
Updating version to 3.38
Nov 7, 2024
640c686
Updating SNAPSHOT version to 3.39-SNAPSHOT
Nov 8, 2024
53302d9
update Q API model (#5069)
Will-ShaoHua Nov 8, 2024
2d03e06
fix(amazonq): wrongly formatted supplemental context for inline sugge…
Will-ShaoHua Nov 11, 2024
1b6357a
config(amazonq): update supplementalContext timeout from 50 to 100ms …
Will-ShaoHua Nov 11, 2024
5f3cb69
Add source to load registration metrics (#5075)
samgst-amazon Nov 12, 2024
d56512c
Updating version to 3.39
Nov 12, 2024
33bdc9b
Updating SNAPSHOT version to 3.40-SNAPSHOT
Nov 12, 2024
2c5ea56
fix(amazonq): Amazon Q chat should not mention indexing in progress w…
leigaol Nov 12, 2024
6694753
Hack together on-push builds for feature/q-mega (#5074)
rli Nov 12, 2024
26602bc
Run Qodana on more branches (#5078)
rli Nov 12, 2024
c36ef1c
Bump 243 EAP targets to IJ / RD RC1 (#5055)
rli Nov 12, 2024
a30e37c
fix(amazonq): fix an accidental revert to make max @workspace indexin…
andrewyuq Nov 12, 2024
2032a57
fix(amazonq): fix inline chat can be invoked in non-editor windows (#…
zixlin7 Nov 12, 2024
7895e6e
Merge branch 'main' into main
andrewyuq Nov 12, 2024
7c89b10
patch for #5076 (#5081)
zixlin7 Nov 13, 2024
5bc2573
Merge branch 'main' into main
rli Nov 13, 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
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions .changes/3.31.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"date" : "2024-10-03",
"version" : "3.31",
"entries" : [ {
"type" : "feature",
"description" : "Amazon Q Developer: Updated legal disclaimer text"
}, {
"type" : "feature",
"description" : "Amazon Q Code Transformation: allow users to skip tests"
}, {
"type" : "bugfix",
"description" : "Fix issue where multiple SSO login attempts in a short time result in 404"
}, {
"type" : "bugfix",
"description" : "Fix issue where a user may get stuck while attempting to login to Builder ID"
} ]
}
32 changes: 32 additions & 0 deletions .changes/3.32.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"date" : "2024-10-10",
"version" : "3.32",
"entries" : [ {
"type" : "feature",
"description" : "Loosen inline completion support limitations for YAML/JSON"
}, {
"type" : "bugfix",
"description" : "Fix error occuring when Amazon Q attempts to show UI hints on manually triggerred inline suggestion (#4929)"
}, {
"type" : "bugfix",
"description" : "Amazon Q (/dev): provide error messaging when no code changes are required for the prompt"
}, {
"type" : "bugfix",
"description" : "Fix 'Slow operations are prohibited on EDT.' when Amazon Q is determining if a file supports inline suggestions (#4823)"
}, {
"type" : "bugfix",
"description" : "Amazon Q Feature Dev: Add error messages when the upload URL expires"
}, {
"type" : "bugfix",
"description" : "Fix toolkit connection dropdown getting hidden when panel width is small."
}, {
"type" : "bugfix",
"description" : "Fix inability to sign out in reauth view in Q chat panel"
}, {
"type" : "bugfix",
"description" : "Raise max `@workspace` indexing size to 4GB"
}, {
"type" : "bugfix",
"description" : "Automatically pause and resume `@workspace` indexing when OS CPU load is high"
} ]
}
14 changes: 14 additions & 0 deletions .changes/3.33.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"date" : "2024-10-17",
"version" : "3.33",
"entries" : [ {
"type" : "feature",
"description" : "Add support for 2024.3"
}, {
"type" : "bugfix",
"description" : "`@workspace` cannot properly locate certain folders for certain project setup"
}, {
"type" : "bugfix",
"description" : "Fix an IDE deadlock that may occur while attempting to initialize Amazon Q UI elements (#4966)"
} ]
}
8 changes: 8 additions & 0 deletions .changes/3.34.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"date" : "2024-10-22",
"version" : "3.34",
"entries" : [ {
"type" : "bugfix",
"description" : "Fix issue where the plugin can't read SSO tokens from disk / always returns 'Unable to load client registration'"
} ]
}
26 changes: 26 additions & 0 deletions .changes/3.35.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"date" : "2024-10-29",
"version" : "3.35",
"entries" : [ {
"type" : "feature",
"description" : "Remove read-only mode on before diff of code changes generated by agent"
}, {
"type" : "feature",
"description" : "Provide more frequent updates about code changes made by agent"
}, {
"type" : "feature",
"description" : "Amazon Q /dev: Add stop generation action"
}, {
"type" : "feature",
"description" : "Added inline chat support. Select some code and hit ⌘+I on Mac or Ctrl+I on Windows to start"
}, {
"type" : "bugfix",
"description" : "Fix pointless busy loop in Amazon Q wasting CPU cycles (#5000)"
}, {
"type" : "bugfix",
"description" : "Update `@workspace` index when adding or deleting a file"
}, {
"type" : "deprecation",
"description" : "An upcoming release will remove support for JetBrains Gateway version 2024.2 and for IDEs based on the 2023.3 platform"
} ]
}
8 changes: 8 additions & 0 deletions .changes/3.36.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"date" : "2024-10-30",
"version" : "3.36",
"entries" : [ {
"type" : "bugfix",
"description" : "Fix inline chat default key binding not working on windows and linux"
} ]
}
11 changes: 11 additions & 0 deletions .changes/3.37.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"date" : "2024-10-31",
"version" : "3.37",
"entries" : [ {
"type" : "bugfix",
"description" : "Amazon Q /dev: Fix the issue resulting in the first request per conversation to /dev failing"
}, {
"type" : "bugfix",
"description" : "Fix inline chat shortcut hint breaking text selection on remote editors"
} ]
}
14 changes: 14 additions & 0 deletions .changes/3.38.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"date" : "2024-11-07",
"version" : "3.38",
"entries" : [ {
"type" : "bugfix",
"description" : "Improve the position that inline chat shortcut hint is shown in editor"
}, {
"type" : "bugfix",
"description" : "Improve `@workspace` index start stop strategy"
}, {
"type" : "bugfix",
"description" : "Fixed an issue where Q inline won't appear in JetBrains remote 2024.2+"
} ]
}
8 changes: 8 additions & 0 deletions .changes/3.39.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"date" : "2024-11-12",
"version" : "3.39",
"entries" : [ {
"type" : "bugfix",
"description" : "Fix poor inline suggestions from Amazon Q caused by improperly formatted supplemental context"
} ]
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type" : "bugfix",
"description" : "Fix a bug when Amazon Q responds with still indexing message even when `@workspace` index is done"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type" : "bugfix",
"description" : "Fix issue where Amazon Q inline chat can be invoked from non-editor windows"
}

This file was deleted.

This file was deleted.

This file was deleted.

11 changes: 9 additions & 2 deletions .github/workflows/generateUpdatesXml.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
xml = ['<?xml version="1.0" encoding="UTF-8"?>', '<plugins>']

buildRegex = r'.*(\d{3}).zip'
# given plugin-amazonq-3.39-SNAPSHOT-1731096007-241.zip,
# capture 3.39-SNAPSHOT-1731096007-241 in group 1
versionRegex = r'.*?\-(\d.*-\d{3})\.zip'
for asset in data['assets']:
name = asset['name']
if ('plugin-amazonq' in name):
Expand All @@ -21,9 +24,13 @@
plugin = 'aws.toolkit.core'
else:
plugin = 'aws.toolkit'
build = re.match(buildRegex, name).group(1)
build = re.match(buildRegex, name)
if build == None:
continue
build = build.group(1)
version = re.match(versionRegex, name).group(1)

xml.append(f'''<plugin id="{plugin}" url="{asset['url']}" version="999">
xml.append(f'''<plugin id="{plugin}" url="{asset['url']}" version="{version}">
<idea-version since-build="{build}" until-build="{build}.*"/>
</plugin>''')

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:
generate_artifact_toolkit_standalone:
strategy:
matrix:
supported_versions: [ '2023.3', '2024.1', '2024.2' ]
supported_versions: [ '2023.3', '2024.1', '2024.2', '2024.3' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: remove unwanted dependencies
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Maximize Build Space
if: runner.os == 'Linux'
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
large-packages: false
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
Expand All @@ -46,7 +46,7 @@ jobs:
generate_artifact_q:
strategy:
matrix:
supported_versions: [ '2023.3', '2024.1', '2024.2' ]
supported_versions: [ '2023.3', '2024.1', '2024.2', '2024.3' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
generate_artifact_core:
strategy:
matrix:
supported_versions: [ '2023.3', '2024.1', '2024.2' ]
supported_versions: [ '2023.3', '2024.1', '2024.2', '2024.3' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
Loading
Loading