Review 2026-12-02: TwinCAT online-change staleness, serial reads, probe replay, refusal mapping #982

Open
opened 2026-12-02 16:06:20 -05:00 by dohertj2 · 0 comments
Owner

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

Findings

  • P-1 (High) TwinCAT: an online change or program download leaves stale symbol offsets and dead notifications in place — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-3 (High) TwinCAT: reads are serial across devices with no per-device fail-fast — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-4 (High) TwinCAT: probe tick replays every native registration against an offline PLC before probing — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-12 (Medium) TwinCAT: device-layer ADS refusals default to BadCommunicationError — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-19 (Medium) TwinCAT: per-tag health snapshot and symbol-path re-parse on every poll — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-22 (Low–Medium) AbCip / TwinCAT: the probe's timeout silently replaces the driver's — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-25 (Low) TwinCAT / FOCAS: smaller correctness items — docs/reviews/2026-12-02/09-ab-twincat-focas.md

Notes

Gate on TCBSD VM. P-1 relies partly on decompiled Beckhoff cache behaviour. P-22/P-25 are shared with AbCip/FOCAS (TwinCAT parts here).

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/W2. Summary: `docs/reviews/2026-12-02/00-SUMMARY.md`. ## Findings - **P-1** (High) TwinCAT: an online change or program download leaves stale symbol offsets and dead notifications in place — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-3** (High) TwinCAT: reads are serial across devices with no per-device fail-fast — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-4** (High) TwinCAT: probe tick replays every native registration against an offline PLC before probing — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-12** (Medium) TwinCAT: device-layer ADS refusals default to `BadCommunicationError` — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-19** (Medium) TwinCAT: per-tag health snapshot and symbol-path re-parse on every poll — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-22** (Low–Medium) AbCip / TwinCAT: the probe's timeout silently replaces the driver's — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-25** (Low) TwinCAT / FOCAS: smaller correctness items — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` ## Notes Gate on TCBSD VM. P-1 relies partly on decompiled Beckhoff cache behaviour. P-22/P-25 are shared with AbCip/FOCAS (TwinCAT parts here). 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 driver/twincattype:review-findingpriority:p1 labels 2026-12-02 16:06:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#982