Review 2026-12-02: Heidenhain loop stop, host-status flap, login retry, backoff reset #990

Closed
opened 2026-12-02 16:06:26 -05:00 by dohertj2 · 1 comment
Owner

From the 2026-12-02 full code review (master 708a4889c). Plan: docs/superpowers/plans/2026-12-02-review-remediation.md §W6. Summary: docs/reviews/2026-12-02/00-SUMMARY.md.

Findings

  • M-16 (Low) Heidenhain: stopping a control loop is non-deterministic — a spurious comms-loss retire, or a cache left Good — docs/reviews/2026-12-02/08-mtconnect-mqtt-heidenhain.md
  • M-17 (Low) Heidenhain: a down control's host status flaps Stopped↔Unknown and its "since" time resets on every retry — docs/reviews/2026-12-02/08-mtconnect-mqtt-heidenhain.md
  • M-18 (Low) Heidenhain: optional-role login is retried on every poll batch with no throttle — docs/reviews/2026-12-02/08-mtconnect-mqtt-heidenhain.md
  • M-19 (Low) Heidenhain: the watchdog's re-init resets the reconnect backoff; Reconnect.MaxDelayMs above ~90 s is unreachable — docs/reviews/2026-12-02/08-mtconnect-mqtt-heidenhain.md

Each finding in the slice report carries file:line, failure scenario, suggested fix and the test to add. Most are from code reading: reproduce in a failing test first; close as not-a-defect with evidence if it doesn't reproduce.

From the 2026-12-02 full code review (master `708a4889c`). Plan: `docs/superpowers/plans/2026-12-02-review-remediation.md` §W6. Summary: `docs/reviews/2026-12-02/00-SUMMARY.md`. ## Findings - **M-16** (Low) Heidenhain: stopping a control loop is non-deterministic — a spurious comms-loss retire, or a cache left Good — `docs/reviews/2026-12-02/08-mtconnect-mqtt-heidenhain.md` - **M-17** (Low) Heidenhain: a down control's host status flaps Stopped↔Unknown and its "since" time resets on every retry — `docs/reviews/2026-12-02/08-mtconnect-mqtt-heidenhain.md` - **M-18** (Low) Heidenhain: optional-role login is retried on every poll batch with no throttle — `docs/reviews/2026-12-02/08-mtconnect-mqtt-heidenhain.md` - **M-19** (Low) Heidenhain: the watchdog's re-init resets the reconnect backoff; `Reconnect.MaxDelayMs` above ~90 s is unreachable — `docs/reviews/2026-12-02/08-mtconnect-mqtt-heidenhain.md` Each finding in the slice report carries file:line, failure scenario, suggested fix and the test to add. Most are from code reading: reproduce in a failing test first; close as not-a-defect with evidence if it doesn't reproduce.
dohertj2 added the type:review-findingpriority:p3 labels 2026-12-02 16:06:26 -05:00
Author
Owner

Fixed and pushed to master (origin/master da23fd970; push 708a4889c..da23fd970). See git log --grep '#990'; any remaining deploy gates / follow-ups are tracked as their own issues.

Fixed and pushed to master (origin/master da23fd970; push 708a4889c..da23fd970). See `git log --grep '#990'`; any remaining deploy gates / follow-ups are tracked as their own issues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#990