Skip to content

The agent that grows with you

fix(update): identity-pending fleet row no longer claims 'restarted by this update'

teknium1fe52c4a78b64
diff --git a/hermes_cli/update_receipt.py b/hermes_cli/update_receipt.py
index eacc5e6e173..0f12d465676 100644
--- a/hermes_cli/update_receipt.py
+++ b/hermes_cli/update_receipt.py
@@ -365,10 +365,12 @@ _FLEET_ROW_LINES = {
"down": " ✗ {profile} — DOWN (gateway was running before the update; pid {pid} is gone and nothing replaced it)",
}
_FLEET_ROW_UNKNOWN = " ? {profile} (pid {pid}) — version unknown (gateway predates version stamping; restart to enable)"
-# A gateway this update relaunched that had not published its code identity when the settle window
-# closed (#112634): it was just restarted on the new code, so "restart to enable" would be wrong.
+# A gateway pid the pre-update snapshot did not know that had not published its code identity when
+# the settle window closed (#112634): most likely the successor this update relaunched, still
+# booting, so "restart to enable" would be wrong — but the poll never observed the restart itself,
+# so the copy does not claim one.
_FLEET_ROW_IDENTITY_PENDING = (
- " ? {profile} (pid {pid}) — restarted by this update, code identity not published yet"
+ " ? {profile} (pid {pid}) — new pid since the update, code identity not published yet"
" — re-check with `hermes gateway status`"
)