The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(telemetry): a parked update receipt never claims it stopped before apply
Tekniumeb47ca507c79
diff --git a/hermes_cli/observability/shared_metrics_update.py b/hermes_cli/observability/shared_metrics_update.pyindex cb590f4ee08..7ed77391ff0 100644--- a/hermes_cli/observability/shared_metrics_update.py+++ b/hermes_cli/observability/shared_metrics_update.py@@ -128,9 +128,13 @@ def update_failure_class(receipt: dict[str, Any], stages: list[dict[str, Any]],if "build" not in marked:return "build_failed"return "other"+ if "schema" not in receipt:+ # A parked copy (update_receipt._metric_receipt): parked only when the checkout already+ # moved under the pre-pull interpreter, and it carries no stop reason or exit code.+ return "other"# update_cmd._handle_update_called_process_error is the one finalize("failed") with neither a# stop reason nor an exit code: a git/installer subprocess failed before the checkout moved.- if "schema" in receipt and not reason and exit_code is None:+ if not reason and exit_code is None:return "git_failed"return "aborted_before_apply"# ---- end iuf c1 ----