From 5f577460a949813404fbea4d674eb56262157b34 Mon Sep 17 00:00:00 2001 From: RazvanLiviuVarzaru Date: Fri, 26 Jun 2026 16:03:02 +0300 Subject: [PATCH] MDBF-1223: Cancelled RelWithDebInfo builders trigger autobake builders This was a nice feature in the past, when playing whack-a-mole to stop a build and immediatly trigger one that will deliver packages on CI. Now, with MDBF-1200, we may forget this childhood game, and allow the build canceller to stop older build requests without any side-effects (i.e. triggering other builds). We still don't stop failed tests from triggering package builders, and it is ok; dev's should decide if the generated packages are worth a dime. --- common_factories.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common_factories.py b/common_factories.py index 76169f5c..c369ce90 100644 --- a/common_factories.py +++ b/common_factories.py @@ -119,7 +119,10 @@ def addPostTests(factory): "mariadb_version": Property("mariadb_version"), "master_branch": Property("master_branch"), }, - doStepIf=hasAutobake, + doStepIf=( + lambda step: hasAutobake(step) + and step.build.results != results.CANCELLED + ), ) ) # create package and upload to master