+ tasks.push(debugPromise)
+
+ if (runnerJobs) {
+ const runnerJobsPromise = server.runnerJobs.list({ count: 100 })
+ .then(({ data }) => {
+ for (const job of data) {
+ if (job.state.id !== RunnerJobState.COMPLETED) {
+ pendingRequests = true
+ }
+ }
+ })
+ tasks.push(runnerJobsPromise)
+ }