Review 2026-12-02: FOCAS health contract, session desync, slot index, alarm truncation #985

Closed
opened 2026-12-02 16:06:24 -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/W2. Summary: docs/reviews/2026-12-02/00-SUMMARY.md.

Findings

  • P-6 (Medium) FOCAS: fixed-tree CNC refusals are counted as comms loss — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-7 (Medium) FOCAS: a transient failure during fixed-tree bootstrap permanently latches capabilities as unsupported — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-8 (Medium) FOCAS: Dispose runs an unbounded synchronous close handshake, and the recycle path holds ConnectGate across it — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-9 (Medium) FOCAS: axis and spindle slot index is discarded, so a blank name slot shifts every later axis — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-10 (Medium) FOCAS: non-transient protocol errors leave the session open and desynchronised; replies are not matched to requests — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-11 (Medium) FOCAS: one dead CNC's probe connect holds ConnectGate ahead of the backoff fast-fail — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-20 (Low–Medium) FOCAS: a truncated alarm list (≥32 active) falsely clears specific-selector conditions — docs/reviews/2026-12-02/09-ab-twincat-focas.md
  • P-21 (Low–Medium) FOCAS: MACRO/PARAM tags cost one round trip each; CoalesceRejected latches on transient codes — 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

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-6** (Medium) FOCAS: fixed-tree CNC refusals are counted as comms loss — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-7** (Medium) FOCAS: a transient failure during fixed-tree bootstrap permanently latches capabilities as unsupported — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-8** (Medium) FOCAS: `Dispose` runs an unbounded synchronous close handshake, and the recycle path holds `ConnectGate` across it — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-9** (Medium) FOCAS: axis and spindle slot index is discarded, so a blank name slot shifts every later axis — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-10** (Medium) FOCAS: non-transient protocol errors leave the session open and desynchronised; replies are not matched to requests — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-11** (Medium) FOCAS: one dead CNC's probe connect holds `ConnectGate` ahead of the backoff fast-fail — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-20** (Low–Medium) FOCAS: a truncated alarm list (≥32 active) falsely clears specific-selector conditions — `docs/reviews/2026-12-02/09-ab-twincat-focas.md` - **P-21** (Low–Medium) FOCAS: MACRO/PARAM tags cost one round trip each; `CoalesceRejected` latches on transient codes — `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` 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/focastype:review-findingpriority:p1 labels 2026-12-02 16:06:24 -05:00
Author
Owner

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