Review 2026-12-02 W4: deploy-path performance (alarm predicate recompiles, full re-subscribe, artifact re-parse) #995

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

Findings

  • K-3 (High) Every deploy recompiles every scripted-alarm predicate under the engine gate — docs/reviews/2026-12-02/06-core.md
  • R-11 (Medium) Every apply re-subscribes every kept driver's whole data set, even when its set is unchanged — docs/reviews/2026-12-02/01-runtime.md
  • R-14 (Medium) Apply-time artifact work is repeated: data projection ×3–7, pinned-thread parse and hashes — docs/reviews/2026-12-02/01-runtime.md
  • U-5 (Medium) Stood-down-item sweep makes rebuilds and removals O(nodes × live items) under Lock — docs/reviews/2026-12-02/02-opcuaserver.md
  • R-17 (Low) VirtualTag source-binding-retry replays the whole apply every 250 ms while a binding fails — docs/reviews/2026-12-02/01-runtime.md
  • R-19 (Low) VirtualTagActor evaluation backlog is uncoalesced, and array results never dedup — docs/reviews/2026-12-02/01-runtime.md
  • S-9 (Medium) Calculation: no coalescing of change-triggered evaluations; unbounded queue — 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` §W4. Summary: `docs/reviews/2026-12-02/00-SUMMARY.md`. ## Findings - **K-3** (High) Every deploy recompiles every scripted-alarm predicate under the engine gate — `docs/reviews/2026-12-02/06-core.md` - **R-11** (Medium) Every apply re-subscribes every kept driver's whole data set, even when its set is unchanged — `docs/reviews/2026-12-02/01-runtime.md` - **R-14** (Medium) Apply-time artifact work is repeated: data projection ×3–7, pinned-thread parse and hashes — `docs/reviews/2026-12-02/01-runtime.md` - **U-5** (Medium) Stood-down-item sweep makes rebuilds and removals O(nodes × live items) under `Lock` — `docs/reviews/2026-12-02/02-opcuaserver.md` - **R-17** (Low) VirtualTag `source-binding-retry` replays the whole apply every 250 ms while a binding fails — `docs/reviews/2026-12-02/01-runtime.md` - **R-19** (Low) `VirtualTagActor` evaluation backlog is uncoalesced, and array results never dedup — `docs/reviews/2026-12-02/01-runtime.md` - **S-9** (Medium) Calculation: no coalescing of change-triggered evaluations; unbounded queue — `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:p2 labels 2026-12-02 16:06:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#995