Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

317 B
Raw Blame
import type { RunnerQueueRun } from '@/lib/api/endpoints/runnerQueue';

export function waitsForRunner(
  run: RunnerQueueRun,
): run is RunnerQueueRun & { runnerState: 'offline' | 'never' } {
  return (
    run.executionState === 'queued' &&
    (run.runnerState === 'offline' || run.runnerState === 'never')
  );
}