This is an automated email from the ASF dual-hosted git repository.

arm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new fc9529a  Accept string from github
fc9529a is described below

commit fc9529ae2f76d92a54ac53935a76e84c3b0c8d4a
Author: Alastair McFarlane <[email protected]>
AuthorDate: Wed Jan 14 11:17:50 2026 +0000

    Accept string from github
---
 atr/api/__init__.py | 2 +-
 atr/models/api.py   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/atr/api/__init__.py b/atr/api/__init__.py
index 2cb7b68..b9da6cd 100644
--- a/atr/api/__init__.py
+++ b/atr/api/__init__.py
@@ -293,7 +293,7 @@ async def update_distribution_task_status(data: 
models.api.DistributeStatusUpdat
         status = await db_data.workflow_status(
             workflow_id=data.workflow,
             project_name=data.project_name,
-            run_id=data.run_id,
+            run_id=int(data.run_id),
         ).demand(exceptions.NotFound(f"Workflow {data.workflow} not found"))
         status.status = data.status
         status.message = data.message
diff --git a/atr/models/api.py b/atr/models/api.py
index e4dcb59..85c79ca 100644
--- a/atr/models/api.py
+++ b/atr/models/api.py
@@ -88,7 +88,7 @@ class DistributeStatusUpdateArgs(schema.Strict):
     publisher: str = schema.example("user")
     jwt: str = schema.example("eyJhbGciOiJIUzI1[...]mMjLiuyu5CSpyHI=")
     workflow: str = schema.description("Workflow name")
-    run_id: int = schema.description("Workflow run ID")
+    run_id: str = schema.description("Workflow run ID")
     project_name: str = schema.description("Project name in ATR")
     status: str = schema.description("Workflow status")
     message: str = schema.description("Workflow message")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to