From 120140365d2c39dcdb5a19dc477a741cd87ba168 Mon Sep 17 00:00:00 2001 From: jmbardallo Date: Mon, 27 Jul 2026 18:58:53 +0200 Subject: [PATCH] Fix(ogagent): completely remove START_SCRIPT webhook to avoid trace duplication race conditions in client paths --- src/opengnsys/modules/server/OpenGnSys/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/opengnsys/modules/server/OpenGnSys/__init__.py b/src/opengnsys/modules/server/OpenGnSys/__init__.py index 07c762a..d66b03f 100644 --- a/src/opengnsys/modules/server/OpenGnSys/__init__.py +++ b/src/opengnsys/modules/server/OpenGnSys/__init__.py @@ -505,14 +505,6 @@ class OpenGnSysWorker(ServerWorker): with open (job_id_path, 'w') as fd: fd.write (job_id) self.client_jobs.add(job_id) - - 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 client job {job_id}: {e}") return True