Review 2026-12-02: Configuration validation gaps (ZTag/SAPID, historian tagname collision, filtered indexes, RowVersion, dead rules) #998

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

Findings

  • C-3 (Medium) ZTag / SAPID uniqueness is not enforced; the reservation pre-flight has no data to check — docs/reviews/2026-12-02/03-configuration.md
  • C-5 (Medium) Two historized tags can resolve to the same effective historian tagname — docs/reviews/2026-12-02/03-configuration.md
  • C-8 (Low) Two unique indexes are filtered by EF and do not cover the NULL case — docs/reviews/2026-12-02/03-configuration.md
  • C-9 (Low) ClusterNode and ServerCluster have no concurrency token — docs/reviews/2026-12-02/03-configuration.md
  • C-10 (Low) Dead deploy-gate rules and comments that cite rules which do not exist — docs/reviews/2026-12-02/03-configuration.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` §W5. Summary: `docs/reviews/2026-12-02/00-SUMMARY.md`. ## Findings - **C-3** (Medium) ZTag / SAPID uniqueness is not enforced; the reservation pre-flight has no data to check — `docs/reviews/2026-12-02/03-configuration.md` - **C-5** (Medium) Two historized tags can resolve to the same effective historian tagname — `docs/reviews/2026-12-02/03-configuration.md` - **C-8** (Low) Two unique indexes are filtered by EF and do not cover the NULL case — `docs/reviews/2026-12-02/03-configuration.md` - **C-9** (Low) `ClusterNode` and `ServerCluster` have no concurrency token — `docs/reviews/2026-12-02/03-configuration.md` - **C-10** (Low) Dead deploy-gate rules and comments that cite rules which do not exist — `docs/reviews/2026-12-02/03-configuration.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:p2 labels 2026-12-02 16:06:30 -05:00
Author
Owner

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