Time retries its own parked cards (error / stuck) #132

Merged
time merged 6 commits from time/card-78 into main 2026-10-18 07:17:33 +00:00
Showing only changes of commit 5c46d27564 - Show all commits
+1 -1
View File
@@ -1490,7 +1490,7 @@ def tick() -> None:
print(f"#{n}: {type(e).__name__}: {e}")
again = mode == "live" and auto_used.get(n, 0) + (1 if auto else 0) < auto_max
comment(n, f"⏱️ Time: the worker call failed: `{str(e)[:300]}`. "
+ (f"I'll retry on my own next beat (TIME_AUTO_RETRY={auto_max} times in all); comment `/time retry` for one more."
+ ("I'll retry on my own next beat (TIME_AUTO_RETRY times in all); comment `/time retry` for one more."
if again else "Comment `/time retry` to try again."),
{"beat": "error", **({"auto_retry": True} if auto else {})})
if tripped: