Skip to content

Commit 3c0e982

Browse files
authored
Bumped the max number of jobs to 128. (#2120)
Over at `rules_rust` we are organically (not due to matrix abuse) hitting the 80 job limit and would benefit from having the ability to run more jobs to support bzlmod refactors we're looking to do.
1 parent 34820ae commit 3c0e982

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

buildkite/bazelci.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@
473473

474474
# The maximum number of tasks allowed in one pipeline yaml config file.
475475
# This is to prevent accidentally creating too many tasks with the martix testing feature.
476-
MAX_TASK_NUMBER = 80
476+
MAX_TASK_NUMBER = 128
477477

478478
_TEST_BEP_FILE = "test_bep.json"
479479
_SHARD_RE = re.compile(r"(.+) \(shard (\d+)\)")
@@ -946,7 +946,8 @@ def load_config(http_url, file_config, allow_imports=True, bazel_version=None):
946946

947947
if len(config["tasks"]) > MAX_TASK_NUMBER:
948948
raise BuildkiteException(
949-
"The number of tasks in one config file is limited to %s!" % MAX_TASK_NUMBER
949+
"The number of tasks in one config file is limited to %s, found %s!"
950+
% (MAX_TASK_NUMBER, len(config["tasks"])),
950951
)
951952

952953
return config

0 commit comments

Comments
 (0)