Applying resolutions generated by the solution server
When you request code resolutions by enabling the Solution Server, an issue displays the success metric when the metric becomes available. A success metric indicates the confidence level in applying the fix suggestion from the LLM based on how many times the update was applied in past analysis.
You can review the code updates and edit the suggested code resolutions before accepting the suggestions.
Prerequisites
-
You opened a Java project in your VS Code workspace.
-
You configured a profile on the Konveyor Analysis View page.
-
You ran an analysis after enabling the Solution Server.
Procedure
-
Review the issues from the Analysis results space of the Konveyor view analysis page by the following tabs:
-
All: lists all incidents identified in your project.
-
Files: lists all the files in your project for which the analysis identified issues that must be resolved.
-
Issues: lists all issues across different files in your project.
-
-
Use the Category drop-down to filter issues based on how crucial the fix is for the target migration. You can filter mandatory, potential, and optional issues.
-
Click Has Success Rate to check how many times the same issue resolution was accepted in previous analysis.
-
Click the solution tool to trigger automated updates to your code.
If you applied any category filter, code updates are made for all incidents, specific files, or specific issues based on the filter.
-
Review and (optionally) edit the code.
-
Click Apply all in the Resolutions pane to permanently apply the changes to your code.