List the split repos in a fixed order
CI / tests (pull_request) Successful in 3m20s

This commit is contained in:
2026-11-18 19:13:42 +01:00
parent 1b9a5e39bc
commit 860ff80973
+1 -1
View File
@@ -72,7 +72,7 @@ def split(store: EpicStore, issue: EpicIssue, by_person: bool, rule: str, langua
if isinstance(read, Failure):
return read
have = {pick.name for task in read if task.parent == issue.key for label in task.labels if isinstance(pick := of_label(label), Repo)}
repos = tuple(dict.fromkeys([*have, *(part.repo for part in predicted.parts)]))
repos = tuple(dict.fromkeys([*sorted(have), *(part.repo for part in predicted.parts)]))
if len(repos) < 2:
return Split((), ())
if by_person and not predicted.comment: