evaluationRunId); if (! $run || $run->isCanceled()) { return; } $coordinator = app(EvaluationCoordinator::class); try { $coordinator->eventInfo($run, 'Pause: krok spuštěn.', [ 'step' => $this->step, 'round_id' => $run->round_id, ]); $coordinator->transition($run, '*', $this->status, $this->step); // WAITING_* stavy umožňují manuální zásah rozhodčího mezi fázemi pipeline. $coordinator->eventInfo($run, $this->message, [ 'step' => $this->step, 'round_id' => $run->round_id, ]); $coordinator->eventInfo($run, 'Pause: krok dokončen.', [ 'step' => $this->step, 'round_id' => $run->round_id, ]); } catch (Throwable $e) { $coordinator->eventError($run, 'Pause: krok selhal.', [ 'step' => $this->step, 'round_id' => $run->round_id, 'error' => $e->getMessage(), ]); throw $e; } } }