Метод journaled

private

Сигнатура метода

private function journaled(int $launchedId, AgentUpgradeResult $result): AgentUpgradeResult

Возвращает: AgentUpgradeResult

Описание

Records a terminal upgrade outcome for observability (NFR): Updated at INFO, Conflict/Failed at WARNING. NeedsReview is not a terminal outcome (the review master is opened on the first call and on every re-validation), so it is not journaled, to keep the event log free of that noise. A journaling failure must never roll back an already-applied upgrade, so it is best-effort and swallows its own errors.

Параметры

2
Имя Тип По умолчанию Флаги
$launchedId int —
—
$result AgentUpgradeResult —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Service/AiAgentGrid/Upgrade/AgentUpgradeService.php
Расположение метода в файле
Строки 318–350

Исходный код

PHP