From 52c3a7d3ceb99fbc45bf5a69bdbbd5974ed8d707 Mon Sep 17 00:00:00 2001 From: Zettat123 Date: Fri, 23 Jan 2026 04:11:56 -0700 Subject: [PATCH] Bugfix: Potential incorrect runID in run status update (#36437) `jobs[0]` may not belong to the run for `runID`. Co-authored-by: Giteabot --- services/actions/job_emitter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/actions/job_emitter.go b/services/actions/job_emitter.go index 74a8a127ef..27e540f5cc 100644 --- a/services/actions/job_emitter.go +++ b/services/actions/job_emitter.go @@ -114,7 +114,7 @@ func checkJobsByRunID(ctx context.Context, runID int64) error { } } if runUpdated { - NotifyWorkflowRunStatusUpdateWithReload(ctx, jobs[0]) + NotifyWorkflowRunStatusUpdateWithReload(ctx, js[0]) } } return nil