From bd38dfacc7c4eb1b190c24f2b749085b7e3b8f65 Mon Sep 17 00:00:00 2001 From: Chuck Driesler Date: Tue, 26 Nov 2024 14:48:43 +0000 Subject: [PATCH] fix(automate): include project id in run reporting (#356) --- src/speckle_automate/automation_context.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/speckle_automate/automation_context.py b/src/speckle_automate/automation_context.py index 1043664d..5c55ac75 100644 --- a/src/speckle_automate/automation_context.py +++ b/src/speckle_automate/automation_context.py @@ -206,6 +206,7 @@ def report_run_status(self) -> None: query = gql( """ mutation AutomateFunctionRunStatusReport( + $projectId: String! $functionRunId: String! $status: AutomateRunStatus! $statusMessage: String @@ -213,6 +214,7 @@ def report_run_status(self) -> None: $contextView: String ){ automateFunctionRunStatusReport(input: { + projectId: $projectId functionRunId: $functionRunId status: $status statusMessage: $statusMessage @@ -236,6 +238,7 @@ def report_run_status(self) -> None: object_results = None params = { + "projectId": self.automation_run_data.project_id, "functionRunId": self.automation_run_data.function_run_id, "status": self.run_status.value, "statusMessage": self._automation_result.status_message,