Skip to content

GraphQL: Add bulkRunnerDelete mutation

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR implements the bulkRunnerDelete mutation, which allows deleting runners in bulk by global ID.

Part of Select individual runners to delete from the ad... (#339525 - closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

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

  1. Ensure that you have at least one CI runner registered against the GDK instance
  2. Open gd Mutation:
mutation bulkRunnerDelete($input: BulkRunnerDeleteInput!) {
  bulkRunnerDelete(input: $input) {
    errors
    count
  }
}

Arguments:

{
  "input": {
    "ids": [
      "gid://gitlab/Ci::Runner/1200",
      "gid://gitlab/Ci::Runner/1201"
    ]
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports