Print each chunk that asks a question and since when each parked chunk awaits its gate in do-epic --status
CI / tests (pull_request) Failing after 3m23s

This commit is contained in:
2026-11-19 00:40:16 +01:00
parent a49479948a
commit 8e210eaa09
8 changed files with 104 additions and 31 deletions
+3 -1
View File
@@ -51,6 +51,8 @@ class Listed:
dead: bool
# What its name says its parked chunk awaits, as the words after PARKED; empty for a chunk that isn't parked.
awaits: str = ""
# Whether its name ended in WAITS: its chunk's worker asks the human a question.
asks: bool = False
@property
def parked(self) -> bool:
@@ -90,7 +92,7 @@ def listed(session: str, run: Tmux) -> list[Listed]:
def as_listed(shown: str, id: str, pane_dead: str) -> Listed:
"""The window tmux shows under the name shown, with the ID id and `#{pane_dead}` as pane_dead."""
name, _, awaits = shown.removesuffix(WAITS).partition(PARKED)
return Listed(name, id, pane_dead == "1", awaits)
return Listed(name, id, pane_dead == "1", awaits, shown.endswith(WAITS))
def everywhere(run: Tmux) -> list[Placed]: