Merge pull request #22377 from mvdbeek/fix-job-not-ready-exception

[26.0] Don't retry JobNotReadyException in job destination mapping
This commit is contained in:
Marius van den Beek
2026-04-05 10:17:33 +02:00
committed by GitHub
+2
View File
@@ -227,6 +227,8 @@ class JobRunnerMapper:
def __handle_rule(self, rule_function: Callable, destination: JobDestination) -> JobDestination:
try:
job_destination = self.__invoke_expand_function(rule_function, destination)
except JobNotReadyException:
raise
except Exception as e:
# Rules have varying quality and don't raise a consistent set of standard exceptions.
# so ... if we get an error here let's try again without resource params encoded