Review 2026-12-02: Galaxy secured-write routing dead, dead gateway connection never faults, pump/deploy-watcher issues #991

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

Findings

  • G-1 (Medium) GalaxyDriver secured-write routing is dead: the security map is only filled by DiscoverAsync, which the runtime never calls on the live driver — docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md
  • G-19 (Medium) A silently dead gateway connection (no FIN/RST) never faults the event stream, so Galaxy stays Healthy with stale Good values — docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md
  • G-2 (Low) StatusCodeMap.FromQualityByte logs a Warning for every event carrying an unlisted quality byte, on the pump's dispatch thread — docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md
  • G-3 (Low) DeployWatcher re-subscribes with no delay when the gateway completes the stream cleanly — docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md
  • G-4 (Low) A data-change event dropped by the full EventPump channel leaves its tag stale-Good with no resync (still present; listed under "no findings" in the 2026-10-21 review) — docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md
  • G-5 (Low) Per-event allocations in the Galaxy fan-out path — docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md
  • G-6 (Low) Replay-gap re-snapshot re-advises every tag without releasing the previous handles (latent — unreachable today) — docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md

Notes

G-19 needs HTTP/2 keep-alive / stream idle timeout in the mxaccessgw client (cross-repo). G-4 is also listed under W1.5.

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` §W2.2/W5. Summary: `docs/reviews/2026-12-02/00-SUMMARY.md`. ## Findings - **G-1** (Medium) `GalaxyDriver` secured-write routing is dead: the security map is only filled by `DiscoverAsync`, which the runtime never calls on the live driver — `docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md` - **G-19** (Medium) A silently dead gateway connection (no FIN/RST) never faults the event stream, so Galaxy stays Healthy with stale Good values — `docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md` - **G-2** (Low) `StatusCodeMap.FromQualityByte` logs a Warning for every event carrying an unlisted quality byte, on the pump's dispatch thread — `docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md` - **G-3** (Low) `DeployWatcher` re-subscribes with no delay when the gateway completes the stream cleanly — `docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md` - **G-4** (Low) A data-change event dropped by the full `EventPump` channel leaves its tag stale-Good with no resync (still present; listed under "no findings" in the 2026-10-21 review) — `docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md` - **G-5** (Low) Per-event allocations in the Galaxy fan-out path — `docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md` - **G-6** (Low) Replay-gap re-snapshot re-advises every tag without releasing the previous handles (latent — unreachable today) — `docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md` ## Notes G-19 needs HTTP/2 keep-alive / stream idle timeout in the mxaccessgw client (cross-repo). G-4 is also listed under W1.5. 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:p2cross-repo labels 2026-12-02 16:06:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#991