From c4afecfb288e9e4f42fcf18c9fc0614b833bc220 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 10 Feb 2026 21:52:02 +0100 Subject: [PATCH] marge/pipeline_message: print job status for jobs still running or waiting for manual action Part-of: --- .marge/hooks/pipeline_message.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.marge/hooks/pipeline_message.py b/.marge/hooks/pipeline_message.py index 13527409f1a..807d4f7b48b 100755 --- a/.marge/hooks/pipeline_message.py +++ b/.marge/hooks/pipeline_message.py @@ -277,6 +277,12 @@ async def process_single_job(session, project_id, job): job_name = job.get("name", "Unnamed Job") message = f"[{job_name}]({job_url})" + if job["status"] == "running": + return f"{message}: still running
" + + if job["status"] == "manual": + return f"{message}: waiting for manual action
" + # if a job times out it's cancelled, so worth mentioning here if job["status"] == "canceled": return f"{message}: canceled
"