<?php

declare(strict_types=1);

namespace App\Domain\Jobs;

/**
 * Terminal status of a job invocation. `Running` is the in-flight value
 * `JobRunner` writes before the body executes; the final row always carries
 * one of the other three.
 */
enum JobStatus: string
{
    case Running = 'running';
    case Success = 'success';
    case Failure = 'failure';
    case SkippedLocked = 'skipped_locked';
}
