Fix(ogagent): prevent duplicate trace creation by removing START_SCRIPT webhook for synchronous execution paths
ogagent/pipeline/head This commit looks good Details

pull/76/head
Juan Manuel Bardallo 2026-07-27 18:52:00 +02:00
parent 5b286e005c
commit 88297c60c3
1 changed files with 0 additions and 7 deletions

View File

@ -472,13 +472,6 @@ class OpenGnSysWorker(ServerWorker):
if post_params.get('client', 'false') == 'false':
job_id = self.jobmgr.launch_job (script, False)
try:
self.REST.sendMessage('clients/status/webhook', {
"nfn": "START_SCRIPT",
"job_id": job_id
})
except Exception as e:
logger.error(f"Failed to send START_SCRIPT webhook for job {job_id}: {e}")
return {'op': 'launched', 'job_id': job_id}
else: ## post_params.get('client') is not 'false'