Skip to content

GraphQL: Allow filtering runners by active status

!74619 (merged) deprecated the ACTIVE and PAUSED values (among others) and started redirecting users to use active instead. For that transition to be complete, we need to offer the possibility of filtering runners by the active field value as well.

Basically the following query:

query getRunners {
  runners(status:PAUSED) {
    nodes {
      id
      description
      shortSha
      contactedAt
      legacyStatus: status
      newStatus: status(legacyMode: null)
    }
  }
}

would be written instead as:

query getRunners {
  runners(active:false) {
    nodes {
      id
      description
      shortSha
      contactedAt
      legacyStatus: status
      newStatus: status(legacyMode: null)
    }
  }
}
Edited by Pedro Pombeiro