Let do-epic's config name the statuses that unblock an issue and leave the moves to a team's automation

This commit is contained in:
Lilleman
2026-11-19 21:44:08 +01:00
parent 005a23f431
commit 111cb9248e
11 changed files with 132 additions and 36 deletions
+2 -2
View File
@@ -18,9 +18,9 @@ def since(folder: pathlib.Path, chunk: Parked) -> str:
return ""
def lines(key: str, home: pathlib.Path, issues: list[EpicIssue], team: LabelRepos, run: tmux.Tmux) -> list[str] | Failure:
def lines(key: str, home: pathlib.Path, issues: list[EpicIssue], team: LabelRepos, unblocking: tuple[str, ...], run: tmux.Tmux) -> list[str] | Failure:
"""A line per open issue of the epic called key, in the tracker's rank order: that its chunk runs or asks the human, or why it waits. It doesn't start anything or check any limit, so the line of a chunk that has yet to start doesn't say which limit holds it back."""
found, waits = chunks(issues, team)
found, waits = chunks(issues, team, unblocking)
folder = home / STATE / key
parked = parked_chunks(folder)
if isinstance(parked, Failure):