MTConnect: live-gate the refused-connection fast path; expose CommsLossConfirmMs in the AdminUI #852
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From #846. A refused Agent connection now marks subscribed values BadNoCommunication after
CommsLossConfirmMs(default 2000 ms) instead of waiting for the ~90 s watchdog. Remaining:CommsLossConfirmMsis JSON-only — the AdminUI form preserves it but has no field;Progress (Pushed to master in
03e51457.,340d9d26): AdminUI MTConnect form has a "Comms-loss confirm (ms)" field (negatives preserved; JSON pinned through the driver parser); native MTConnect conditions now get quality-onlyBadNoCommunicationon a confirmed refused connection and recover to Good without re-raise. A dedicated gate Agent overlaydocker-dev/docker-compose.mtconnect-gate.ymlkeeps the hostname resolving while the Agent is stopped (a plain container stop gives a DNS failure = ambiguous = watchdog path); recipe in docs/drivers/MTConnect.md. Keeping open for the live gate on docker-dev.Live gate PASS on docker-dev (
03e51457, gate overlaydocker-dev/docker-compose.mtconnect-gate.yml, driver seeded againsthttp://mtconnect-gate:5000,CommsLossConfirmMs2000):mtconnect/agentignores SIGTERM, socompose stopkills at the 10 s grace) ⇒ logrefused every connection for 2001 ms (definite loss); marking 2 subscribed value(s) BadNoCommunication+annotated 1 native condition(s) BadNoCommunicationat 13:27:17; subscribedx_poswentBadNoCommunicationat 13:27:17 (2.0 s, was ~94–118 s via the watchdog). Thex_travelcondition got one event, state kept Inactive/Acknowledged./samplereconnect backoff (attempt 9 ≈ 26 s), not the fast path. RE-BROWSE chip raised for the new instanceId as documented.Recorded in docs/drivers/MTConnect.md (
b4ab403c). The UI field was not round-tripped in the browser on this pass (unit-pinned).