Review 2026-12-02 W1.1: historian outage dead-letters alarm events; transient classified permanent; outbox truncation #976

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

Findings

  • G-16 (High) A historian outage longer than about 6.5 minutes dead-letters queued alarm events: every writer answers an outage with RetryPlease, and the sink counts each one against MaxAttempts — docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md
  • K-2 (High) Alarm store-and-forward dead-letters events during a historian outage — docs/reviews/2026-12-02/06-core.md
  • G-8 (Medium) GatewayAlarmHistorianWriter classifies gRPC Cancelled / Unknown (and every non-RPC exception) as PermanentFail, dead-lettering alarm events on a transient gateway condition — docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md
  • G-7 (Medium) FasterLogHistorizationOutbox.RemoveAsync can truncate an entry that was enqueued but not yet indexed — a silently lost historized value — docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md

Notes

G-16 and K-2 are the same defect found by two reviewers. RetryPlease must not consume MaxAttempts.

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.1. Summary: `docs/reviews/2026-12-02/00-SUMMARY.md`. ## Findings - **G-16** (High) A historian outage longer than about 6.5 minutes dead-letters queued alarm events: every writer answers an outage with `RetryPlease`, and the sink counts each one against `MaxAttempts` — `docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md` - **K-2** (High) Alarm store-and-forward dead-letters events during a historian outage — `docs/reviews/2026-12-02/06-core.md` - **G-8** (Medium) `GatewayAlarmHistorianWriter` classifies gRPC `Cancelled` / `Unknown` (and every non-RPC exception) as `PermanentFail`, dead-lettering alarm events on a transient gateway condition — `docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md` - **G-7** (Medium) `FasterLogHistorizationOutbox.RemoveAsync` can truncate an entry that was enqueued but not yet indexed — a silently lost historized value — `docs/reviews/2026-12-02/07-galaxy-opcuaclient-historians.md` ## Notes G-16 and K-2 are the same defect found by two reviewers. RetryPlease must not consume MaxAttempts. 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:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#976