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

[WIP ]Toolbox ramp up #532

Open
wants to merge 15 commits into
base: asher/toolbox
Choose a base branch
from
Open

[WIP ]Toolbox ramp up #532

wants to merge 15 commits into from

Conversation

fioan89
Copy link
Collaborator

@fioan89 fioan89 commented Feb 11, 2025

Work in progress to make the plugin load in the latest Toolbox versions (2.6.0).

- toolbox can't load the plugin because
  of serialization issues.
- backgroundColors is no longer recognized
- include latest 2.6.0 builds
Copy link
Contributor

github-actions bot commented Feb 11, 2025

Qodana Community for JVM

16 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 11
Class member can have 'private' visibility ◽️ Notice 3
String concatenation that can be converted to string template ◽️ Notice 1
Function or property has platform type ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format for details)

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/[email protected]
        with:
          upload-result: true
Contact Qodana team

Contact us at [email protected]

- needed to build plugins for toolbox 2.6.0
- removed gateway api's no longer available in Toolbox 2.6.0
- replaced it with a couple of new toolbox api libraries
- removed gateway api's no longer available in Toolbox 2.6.0
- replaced it with a couple of new toolbox api libraries
- updated KSP to match Kotlin version
- removed unused dependencies
- to reflect the new toolbox api
@bcpeinhardt
Copy link
Collaborator

@fioan89 hello!
Would you mind keeping a PR like this in Draft status until it's ready for review and then requesting my review when it's ready so I get a Github notification?

@fioan89 fioan89 marked this pull request as draft February 13, 2025 19:33
@fioan89
Copy link
Collaborator Author

fioan89 commented Feb 13, 2025

Sure, sorry about that.

@bcpeinhardt
Copy link
Collaborator

Don't be! I'm communicating it for the first time now 💀

- to reflect the new toolbox api
- like core-api, ui-api, remote-dev-api which should no longer be packaged.
- okhttp is no longer provided by Toolbox
- with this commit we package our own libraries
- slf4j runtime is no longer provided by Toolbox
- the sample code promotes the usage of service locator
  to resolve a logger. However, this approach has a couple
  of downsides, mainly it tightly couples all layers of code
  because the service locator needs to be propagated from the
  dev extension down to the lowest level of coder business
  implementation.
- instead, we now pack tinylog with slf4j bindings to avoid
  classloading issues.
- quality of life improvement to automate some recurring manual tasks
  like cleaning up the plugin install dir
- without the need to go through a "field accessor"
- fixes some NPE when reading the url
@fioan89 fioan89 marked this pull request as ready for review February 18, 2025 18:58
@fioan89 fioan89 requested a review from bcpeinhardt February 18, 2025 18:59
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