Kai has introduced a new binary (written in Go) that is called kai_analyzer_rpc.
The code is located at: https://github.com/konveyor/kai/tree/main/kai_analyzer_rpc
We will need multi arch/os builds to cover:
Windows x86_64 (unsure if arm64 is required at this point)
Linux x86_64 and arm64
MacOS arm64 and x86_64
We expect the Windows x86_64 use-case to be the most popular for our intended user.
This binary will work with the IDE plugin to perform static code analysis, it is unique from Kantra in that this binary will leverage the language servers which the IDE deploys.
The expected workflow is that the end user of Kai will install VSCode on their laptop and will download the Kai IDE extension from the VSCode marketplace. Then the user will configure Kai to override the location of kai_analyzer_rpc to use the version we build from downstream.
We do not know at the moment what distribution mechanism we will use for kai_analyzer_rpc, it may be part of the same workflow of zipping this and publish via developers.redhat.com, or there could be a smoother approach of having the IDE extension programmatically discover this binary from known Red Hat URL.
For first stage of work, lets get this component built via downstream means to aid testing as we work through distribution questions.
Note we have a discussion of how this will be published and downloaded from IDE below:
https://issues.redhat.com/browse/MTA-5356
- account is impacted by
-
MTA-5356 [KAI] VSCode IDE plugin needs ability to download kai_analyzer_rpc binary from remote URL
-
- Testing
-