The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
ci: address review comments
Maciej Lisiewskidd7cb3ab1bc2
diff --git a/hermes_cli/update_abort_recovery.py b/hermes_cli/update_abort_recovery.pyindex a1e0993adae..ef27a838957 100644--- a/hermes_cli/update_abort_recovery.py+++ b/hermes_cli/update_abort_recovery.py@@ -115,7 +115,7 @@ def _run_fresh_recovery_process("profiles": profiles, "supervisors": candidates,"serve_units": {"recover": recover_serve, "skip": _qualified_serve_skips(skip_units)}}),"capture_output": True, "text": True, "encoding": "utf-8", "errors": "replace",- "check": False, "env": env,+ "env": env,# Gateway profiles run sequentially at up to 90s each, plus the serve pass's own# restart + settle budget — don't kill a recovery that was working."timeout": max(180, 30 + 90 * len(profiles) + (150 if recover_serve else 0))}diff --git a/hermes_cli/web_routers/files.py b/hermes_cli/web_routers/files.pyindex cf9b299b5c0..26dd0729747 100644--- a/hermes_cli/web_routers/files.py+++ b/hermes_cli/web_routers/files.py@@ -250,7 +250,7 @@ def _fs_git_branch(cwd: str) -> str:# git emits UTF-8 (branch names, localized "not a git repository" stderr); the locale codec# (cp936 on zh-CN Windows) raised inside communicate()'s reader threads on every poll (#83851).run_kwargs: dict[str, Any] = {"capture_output": True, "text": True, "encoding": "utf-8",- "errors": "replace", "timeout": 2, "check": False}+ "errors": "replace", "timeout": 2}if sys.platform == "win32":run_kwargs["creationflags"] = windows_hide_flags()result = subprocess.run(["git", "-C", cwd, "branch", "--show-current"], **run_kwargs, check=False)