v0.2.2-series4 endpoint added, dev branch set up at :1001

This commit is contained in:
serversdwn
2025-12-08 22:15:54 +00:00
parent 83593f7b33
commit 690669c697
8 changed files with 206 additions and 13 deletions

View File

@@ -113,12 +113,12 @@ def emit_status_snapshot():
# Separate buckets for UI
active_units = {
uid: u for uid, u in units.items()
if not u["retired"] and u["deployed"]
if not u["retired"] and u["deployed"] and uid not in ignored
}
benched_units = {
uid: u for uid, u in units.items()
if not u["retired"] and not u["deployed"]
if not u["retired"] and not u["deployed"] and uid not in ignored
}
retired_units = {
@@ -140,7 +140,7 @@ def emit_status_snapshot():
"retired": retired_units,
"unknown": unknown_units,
"summary": {
"total": len(units),
"total": len(active_units) + len(benched_units),
"active": len(active_units),
"benched": len(benched_units),
"retired": len(retired_units),