Review 2026-12-02 W1.3: deploy/apply bookkeeping (empty boot after failed deploy, planner blind spots, degraded flag) #977

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

Findings

  • R-1 (High) Direct-mode boot with a Failed newest node row starts an empty node — docs/reviews/2026-12-02/01-runtime.md
  • U-2 (High) Scripted-alarm Enabled / AlarmType / Severity / Name edits never reach the address space — docs/reviews/2026-12-02/02-opcuaserver.md
  • U-3 (High) A UNS Line re-parented to another Area is invisible to the plan; with ACLs on, everything under it is denied — docs/reviews/2026-12-02/02-opcuaserver.md
  • U-9 (Low) A removed VirtualTag's sub-folder is left behind — docs/reviews/2026-12-02/02-opcuaserver.md
  • R-4 (Medium) A clean surgical deploy after a degraded rebuild clears the degraded flag without repairing anything — docs/reviews/2026-12-02/01-runtime.md
  • R-15 (Low) The revision advances before the last throwing steps of an apply; a same-revision re-dispatch acks clean — docs/reviews/2026-12-02/01-runtime.md
  • R-20 (Low) A supervision restart of OpcUaPublishActor resets _lastApplied while the sink keeps the address space — docs/reviews/2026-12-02/01-runtime.md
  • H-4 (Low) ConfigPublishCoordinator.HandleDispatch supersedes a different in-flight deployment without closing it — docs/reviews/2026-12-02/05-host-controlplane-cluster.md

Notes

Add a reflection test over planner-diffed records so a new field can't be silently skipped.

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.3. Summary: `docs/reviews/2026-12-02/00-SUMMARY.md`. ## Findings - **R-1** (High) Direct-mode boot with a `Failed` newest node row starts an empty node — `docs/reviews/2026-12-02/01-runtime.md` - **U-2** (High) Scripted-alarm Enabled / AlarmType / Severity / Name edits never reach the address space — `docs/reviews/2026-12-02/02-opcuaserver.md` - **U-3** (High) A UNS Line re-parented to another Area is invisible to the plan; with ACLs on, everything under it is denied — `docs/reviews/2026-12-02/02-opcuaserver.md` - **U-9** (Low) A removed VirtualTag's sub-folder is left behind — `docs/reviews/2026-12-02/02-opcuaserver.md` - **R-4** (Medium) A clean surgical deploy after a degraded rebuild clears the degraded flag without repairing anything — `docs/reviews/2026-12-02/01-runtime.md` - **R-15** (Low) The revision advances before the last throwing steps of an apply; a same-revision re-dispatch acks clean — `docs/reviews/2026-12-02/01-runtime.md` - **R-20** (Low) A supervision restart of `OpcUaPublishActor` resets `_lastApplied` while the sink keeps the address space — `docs/reviews/2026-12-02/01-runtime.md` - **H-4** (Low) `ConfigPublishCoordinator.HandleDispatch` supersedes a different in-flight deployment without closing it — `docs/reviews/2026-12-02/05-host-controlplane-cluster.md` ## Notes Add a reflection test over planner-diffed records so a new field can't be silently skipped. 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:15 -05:00
Author
Owner

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