Infrastructure outage handling (MCP/A4H down: wait, clean up, rerun), dashboard fix, budget limit 129

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Kral
2026-10-05 22:27:48 +02:00
parent 5c07026bbb
commit 9c753a37ff
5 changed files with 105 additions and 3 deletions

View File

@@ -361,7 +361,9 @@ def render(d):
next50 = (n_acc // 50 + 1) * 50
est = d["panel_est"]
pcls = "good" if est < 50 else ("warn" if est < 57 else "bad")
eta = ("%.1f h (%s)" % (d["eta_h"], time.strftime("%a %H:%M", time.localtime(d["now"] + d["eta_h"] * 3600)))) if d["eta_h"] else "n/a"
eta = ("%.1f h (%s)" % (d["eta_h"], time.strftime("%a %H:%M", time.localtime(d["now"] + d["eta_h"] * 3600)))) if d["eta_h"] and alive else "n/a"
if not alive: # a stopped pipeline has no burn rate and no speed
d["burn_ledger_h"] = d["rate_runs_h"] = d["rate_acc_h"] = None
a30 = d["acc30"]
a30s = "%.0f %%" % (100 * a30) if a30 is not None else "n/a (<30 runs)"
cost_per = d["run_cost"] / n_acc if n_acc else 0