marge/pipeline_message: print details for any pipeline that hasn't succeeded

Not just the ones that have failed.

Again, this now includes "still running past timeout" and "blocked on a manual job".

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39815>
This commit is contained in:
Eric Engestrom 2026-02-10 18:57:37 +01:00 committed by Marge Bot
parent 95eb133c17
commit 60d7c3f32f

View file

@ -352,7 +352,7 @@ async def main(pipeline_id: str, project_id: str = "176") -> str:
session, project_id, pipeline_id
)
logging.debug(f"Pipeline status: {pipeline_status}")
if pipeline_status != "failed":
if pipeline_status == "success":
return message
jobs = await get_jobs_for_pipeline(session, project_id, pipeline_id)