fix(actions): preserve admitted jobs and runs in their concurrency group (#39461)

This commit is contained in:
Stochastic authored and GitHub committed 2026-09-29 04:36:33 +00:00
1 parent fba8d7eace
commit 6bb74ed65d
13 files changed
+255 -103

No files matched your search

+1
View File
@@ -226,6 +226,7 @@ func TestPrepareRunAndInsert_MaxParallelStarvedSkipsConcurrency(t *testing.T) {
holder = unittest.AssertExistsAndLoadBean(t, &actions_model.ActionRunJob{ID: holder.ID})
assert.Equal(t, actions_model.StatusRunning, holder.Status, "the starved job must not cancel the group holder")
assert.Empty(t, unittest.AssertExistsAndLoadBean(t, &actions_model.ActionRunJob{RunID: run.ID, Status: actions_model.StatusBlocked}).ConcurrencyGroup)
}
func Test_jobStatusResolver_MaxParallelStarvedSkipsConcurrency(t *testing.T) {