letzte Kanten: Hermes-Abruf 60 s statt 25 s, kein Pfeil auf dieselbe Version, Homelab-Container mit Sicherheitsupdates

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hitonabi
2026-09-24 19:05:56 +02:00
co-authored by Claude Opus 5.5
parent 39320b446d
commit 83c33584e4
13 changed files with 18 additions and 15 deletions
+3 -3
View File
@@ -201,7 +201,7 @@ def _hermes_agent_update() -> dict:
branch = (subprocess.run(["git", "-C", path, "rev-parse", "--abbrev-ref", "HEAD"],
capture_output=True, text=True, timeout=8).stdout.strip() or "main")
fetch = subprocess.run(["git", "-C", path, "fetch", "-q", "origin", branch],
capture_output=True, text=True, timeout=25)
capture_output=True, text=True, timeout=60)
info["reachable"] = (fetch.returncode == 0)
if fetch.returncode == 0:
cnt = subprocess.run(["git", "-C", path, "rev-list", "--count", f"HEAD..origin/{branch}"],
@@ -311,7 +311,7 @@ def _os_held_back() -> list[dict]:
try:
out = subprocess.run(
["bash", "-c", "LC_ALL=C apt-get -s upgrade 2>/dev/null"],
capture_output=True, text=True, timeout=25)
capture_output=True, text=True, timeout=60)
reason: str | None = None
for line in (out.stdout or "").splitlines():
hdr = sections.get(line.strip())
@@ -513,7 +513,7 @@ def hermes_update_details() -> dict:
capture_output=True, text=True, timeout=8).stdout.strip() or "main")
info["branch"] = branch
subprocess.run(["git", "-C", path, "fetch", "-q", "origin", branch],
capture_output=True, text=True, timeout=25)
capture_output=True, text=True, timeout=60)
log = subprocess.run(["git", "-C", path, "log", "--pretty=format:%h\x1f%s\x1f%cr",
f"HEAD..origin/{branch}"], capture_output=True, text=True, timeout=10)
commits = []