Review 2026-12-02: Modbus RTU-over-TCP desync, deadband initial publish, DL205 octal fallback #981

Closed
opened 2026-12-02 16:06:20 -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 §W1.2/W1.5/W1.6. Summary: docs/reviews/2026-12-02/00-SUMMARY.md.

Findings

  • S-1 (High) Modbus RTU-over-TCP: a caller-cancelled transaction desynchronises the stream and later reads return another request's data at Good — docs/reviews/2026-12-02/10-s7-modbus-sql-calc-clients.md
  • S-2 (High) Modbus deadband baseline survives a re-subscribe; the forced initial publish is suppressed — docs/reviews/2026-12-02/10-s7-modbus-sql-calc-clients.md
  • S-8 (Medium) Modbus DL205: an invalid octal C… address silently resolves to a different coil — docs/reviews/2026-12-02/10-s7-modbus-sql-calc-clients.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` §W1.2/W1.5/W1.6. Summary: `docs/reviews/2026-12-02/00-SUMMARY.md`. ## Findings - **S-1** (High) Modbus RTU-over-TCP: a caller-cancelled transaction desynchronises the stream and later reads return another request's data at Good — `docs/reviews/2026-12-02/10-s7-modbus-sql-calc-clients.md` - **S-2** (High) Modbus deadband baseline survives a re-subscribe; the forced initial publish is suppressed — `docs/reviews/2026-12-02/10-s7-modbus-sql-calc-clients.md` - **S-8** (Medium) Modbus DL205: an invalid octal `C…` address silently resolves to a different coil — `docs/reviews/2026-12-02/10-s7-modbus-sql-calc-clients.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:p1 labels 2026-12-02 16:06:20 -05:00
Author
Owner

Fixed and pushed to master (origin/master da23fd970; push 708a4889c..da23fd970). See git log --grep '#981'; 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 '#981'`; 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#981