diff --git a/bin/do_epic/config.py b/bin/do_epic/config.py index f9cc3732..2740651b 100644 --- a/bin/do_epic/config.py +++ b/bin/do_epic/config.py @@ -132,4 +132,6 @@ def load(home: pathlib.Path, ladder_file: pathlib.Path = SHIPPED) -> DoEpicConfi assert clone_folder and env_file and isinstance(url, str) and isinstance(model, str) and isinstance(language, str) and isinstance(rule, str) labels = values.get(LABEL_REPOS, {}) assert isinstance(labels, dict) - return DoEpicConfig(folder, url, env_file, clone_folder, language, model, rule, finish_of(values), types.MappingProxyType(labels), tuple(values.get(UNBLOCKING_STATUSES, ())), values.get(AUTOMATION_MOVES) is True) + statuses = values.get(UNBLOCKING_STATUSES, []) + assert isinstance(statuses, list) + return DoEpicConfig(folder, url, env_file, clone_folder, language, model, rule, finish_of(values), types.MappingProxyType(labels), tuple(statuses), values.get(AUTOMATION_MOVES) is True) diff --git a/bin/do_epic/scheduler.py b/bin/do_epic/scheduler.py index b2901a85..f39789a7 100644 --- a/bin/do_epic/scheduler.py +++ b/bin/do_epic/scheduler.py @@ -10,8 +10,8 @@ from chunk_driver.claims import CHUNK_FLAG, epic_chunks, HANDED, loop_chunks, pr from do_epic.backend.protocol import EpicIssue from failure import Failure from do_epic.split import finished, is_split, SPLIT_LABEL -from text_files.markdown_text import listed from do_epic.repo_pick import HumanTask, LabelRepos, Pick, recorded, Repo +from text_files.markdown_text import listed from project_config.settings import PARALLEL_CHUNKS from do_epic.parked import parked_chunks from chunk_pr.approval import PARKS