Skip to content

feat(amazonq): include minimal flare assets in plugin bundle #5769

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

Merged
merged 3 commits into from
Jun 2, 2025

Conversation

rli
Copy link
Contributor

@rli rli commented May 30, 2025

as discussed internally

$ 7zz plugins/amazonq/build/distributions/plugin-amazonq-[...].zip | grep flare
2025-05-30 12:56:02 D....            0            2  plugin-amazonq/flare
2025-05-30 12:56:02 .....     15211717      2363455  plugin-amazonq/flare/aws-lsp-codewhisperer.js
2025-05-30 12:56:02 .....      6316632      1604490  plugin-amazonq/flare/amazonq-ui.js
2025-05-30 12:56:02 .....            0            2  plugin-amazonq/flare/1.7.0
2025-05-30 12:56:02 .....      1668250       100619  plugin-amazonq/flare/THIRD_PARTY_LICENSES
2025-05-30 12:56:02 .....         3888         1052  plugin-amazonq/flare/aws-lsp-codewhisperer.js.LICENSE.txt

build avoidance:

$ ./gradlew :p-a:pBF

> Configure project :plugin-toolkit:jetbrains-rider
Using rd-gen: 2025.1.1

> Task :plugin-amazonq:downloadFlareManifest UP-TO-DATE
Download https://aws-toolkit-language-servers.amazonaws.com/qAgenticChatServer/0/manifest.json

> Task :plugin-amazonq:downloadFlareArtifacts UP-TO-DATE
Download https://aws-language-servers.us-east-1.amazonaws.com/8a9212d9-901b-4d96-ab9b-b26342258356/qAgenticChatServer/mac-arm64/servers.zip
Download https://aws-language-servers.us-east-1.amazonaws.com/8a9212d9-901b-4d96-ab9b-b26342258356/clients.zip
Download https://aws-language-servers.us-east-1.amazonaws.com/8a9212d9-901b-4d96-ab9b-b26342258356/THIRD_PARTY_LICENSES
Kotlin build report is written to file:///Users/richali/idetools/aws-toolkit-jetbrains/build/reports/kotlin-build/aws-toolkit-jetbrains-build-2025-05-30-12-45-58-0.txt

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@rli rli requested a review from a team as a code owner May 30, 2025 19:44
Copy link

github-actions bot commented May 30, 2025

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@rli rli changed the title feat: include minimal flare assets in plugin bundle feat(amazonq): include minimal flare assets in plugin bundle Jun 2, 2025
@@ -51,3 +58,81 @@ tasks.check {
}
}
}

val downloadFlareManifest by tasks.registering(Download::class) {
src("https://aws-toolkit-language-servers.amazonaws.com/qAgenticChatServer/0/manifest.json")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: assign to a const?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we cannot share this with the plugin code

@rli rli merged commit 535b8e2 into feature/q-lsp-chat Jun 2, 2025
13 of 16 checks passed
@rli rli deleted the rli/download-flare branch June 2, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants