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

Support tracking and cancelling long running requests to kai-rpc-server #149

Open
sjd78 opened this issue Dec 11, 2024 · 0 comments
Open

Comments

@sjd78
Copy link
Member

sjd78 commented Dec 11, 2024

Followup to issue #131, and PR #139.

With the synchronous nature of the kai-rpc-server requests, specifically analysis_engine.Analyze and getCodeplanAgentSolution, there is currently no real way to have Kai abort the request without killing the server process. Once the kai-rpc-server supports tracking and aborting long running requests, add the ability to actually cancel an analysis or a get solution request along with unblocking the UI.

This will probably involve using a LSP server style Work Done Progress or Cancellation support. The request would include a generated uuid. Then the server can send messages back with progress notes. Another request from the extension could be made to cancel the operation using the originally generated uuid.

See konveyor/kai#525 for getting the necessary support for this in the server process.

@sjd78 sjd78 changed the title Support tracking and aborting long running requests to kai-rpc-server Support tracking and cancelling long running requests to kai-rpc-server Dec 11, 2024
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

No branches or pull requests

1 participant