fix(heidenhain): #990 deterministic control-loop stop, stable down-host status, throttled optional-role login, backoff survives re-init

This commit is contained in:
Joseph Doherty
2026-12-03 10:12:29 -05:00
parent 89c7f5d49c
commit cfd453ae34
6 changed files with 261 additions and 22 deletions
+5
View File
@@ -440,6 +440,11 @@ overrides, axes, tool, the whole alarm walk) and aliased custom addresses are re
then drops is backed off, not re-dialled every `InitialDelayMs`. Unlike the Java base, an initial connect
failure also retries (no manual restart). The loop survives any unexpected fault (logged, retired, backed off);
JSON-`null` config sections are normalised to defaults by the parser.
(#990) A deliberate stop (deploy / Force Reconnect) is never an outage: the runtime's generation is bumped before
the session closes, and its values are invalidated. The backoff count is carried across a watchdog re-init, so a
`MaxDelayMs` above ~90 s is reachable. While a control is down its host status stays `Stopped` (no
`Stopped`/`Unknown` flap, "since" time stable). A refused optional DNC/DATA login is retried per session on a
5 s to 5 min exponential schedule instead of on every poll batch.
- Subscriptions: the initial push and later publications are ordered under one lock, so a subscriber never
receives an older value after a newer one. A re-init disposes every control loop first; a late start of a
disposed loop is a no-op.