Skip to content

Draft: feat: Implement GraphQL mutation for AbortAiAction

What does this MR do and why?

This MR resolves DuoChat: Implement Abort Functionality in GitLa... (#458397 - closed) by:

  • adding a new mutation called AbortAiAction
  • adding an update method to the current ai_completion_response subscription that aborts the response
  • trigger the update in AbortAiAction which returns a message to the client that the action has been aborted and the user can continue to type

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports