exhausted() is false. */ interface Stage { /** Stable identifier stored in state.json. */ public function name(): string; /** Translated, human-readable status line. */ public function label(): string; /** Share of the overall progress bar. Only the ratios between stages matter. */ public function weight(): int; public function run( JobState $job, Budget $budget ): StageResult; }