Fix(RunScriptAction): default trace status to IN_PROGRESS for Windows/Linux to prevent duplicate traces in combination with ogagent
ogcore-debian-package/pipeline/head This commit looks good Details
testing/ogcore-api/pipeline/head There was a failure building this commit Details

pull/125/head
Juan Manuel Bardallo 2026-07-27 18:52:06 +02:00
parent e2d1483134
commit ddeea59173
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ class RunScriptAction extends AbstractOgAgentController
if ($existingTrace) {
$this->updateExistingTrace($existingTrace, $jobId, $inputData, $client);
} else {
$status = ($this->isLinuxOrWindows($client) || $this->isLinuxOrWindowsSession($client)) ? TraceStatus::SENT : TraceStatus::IN_PROGRESS;
$status = TraceStatus::IN_PROGRESS;
$this->createService->__invoke($client, CommandTypes::RUN_SCRIPT, $status, $jobId, $inputData);
}
}