#1107/#1108 follow-ups (p3): remembered acks in-memory only; Failed ack replayed not retried (+5 more) #1111

Closed
opened 2026-12-04 22:43:18 -05:00 by dohertj2 · 1 comment
Owner

From the 2026-12-04 follow-up round 7 (#1107–#1109 fixed by parallel agents, merged on local master, unpushed).

Low-priority follow-ups; split out any item that grows.

  • #1107: remembered acks (last 16) are in memory only — a node restarted after acking treats a re-send as a fresh dispatch (acks immediately or re-applies an unconfirmed revision). Persist only if this shows up.
  • #1107: a lost Failed ack is replayed rather than retried; a failed apply leaves the node on last-good, so a re-send could safely retry it (fetch failure and lost ack often coincide during a central blip).
  • #1107: a node first reached by the +35 s re-send has ~85 s to central's deadline but a 105 s address-space wait — a very slow rebuild ends TimedOut instead of "Applied (degraded)".
  • ControlPlane.Tests ConfigPublishCoordinatorRecoveryTests.On_sql_server_a_closure_between_guard_and_flip_is_not_reopened failed once in a rerun (real SQL Server), green in full run/alone/2 class reruns; failure message not captured — capture and investigate.
  • #1108: TwoNodeClusterHarness waits only for boot-time topics; alarm-commands / opcua-endpoint-state / driver-health / driver-resilience-status / script-logs subscribe lazily — a cross-node test publishing on them must call WaitForPubSubConvergedAsync itself (none does today).
  • #1108: AllHostTopics is a hand-kept list — add a guard test that finds every new Subscribe( topic in src/ and fails on an unlisted one.
  • #1103/#1109: .claude/rules/historian.md "Unimplemented ⇒ PermanentFail" summary should note the client-fabricated-status exception.
From the 2026-12-04 follow-up round 7 (#1107–#1109 fixed by parallel agents, merged on local master, unpushed). Low-priority follow-ups; split out any item that grows. - [ ] #1107: remembered acks (last 16) are in memory only — a node restarted after acking treats a re-send as a fresh dispatch (acks immediately or re-applies an unconfirmed revision). Persist only if this shows up. - [ ] #1107: a lost **Failed** ack is replayed rather than retried; a failed apply leaves the node on last-good, so a re-send could safely retry it (fetch failure and lost ack often coincide during a central blip). - [ ] #1107: a node first reached by the +35 s re-send has ~85 s to central's deadline but a 105 s address-space wait — a very slow rebuild ends TimedOut instead of "Applied (degraded)". - [ ] ControlPlane.Tests `ConfigPublishCoordinatorRecoveryTests.On_sql_server_a_closure_between_guard_and_flip_is_not_reopened` failed once in a rerun (real SQL Server), green in full run/alone/2 class reruns; failure message not captured — capture and investigate. - [ ] #1108: TwoNodeClusterHarness waits only for boot-time topics; alarm-commands / opcua-endpoint-state / driver-health / driver-resilience-status / script-logs subscribe lazily — a cross-node test publishing on them must call `WaitForPubSubConvergedAsync` itself (none does today). - [ ] #1108: `AllHostTopics` is a hand-kept list — add a guard test that finds every `new Subscribe(` topic in src/ and fails on an unlisted one. - [ ] #1103/#1109: `.claude/rules/historian.md` "Unimplemented ⇒ PermanentFail" summary should note the client-fabricated-status exception.
dohertj2 added the type:followuppriority:p3 labels 2026-12-04 22:43:18 -05:00
Author
Owner

Pushed in da23fd970..961ca2897. All items done: Failed ack retried on re-send + DeadlineRemaining cap + Applied-wins-over-late-Failed (767ce15cb, reviewed); harness topic guard + historian.md note (865dc4120); SQL recovery test — no product race, harness timeouts + diagnostics (961ca2897); in-memory acks documented. Residuals → #1114.

Pushed in `da23fd970..961ca2897`. All items done: Failed ack retried on re-send + DeadlineRemaining cap + Applied-wins-over-late-Failed (767ce15cb, reviewed); harness topic guard + historian.md note (865dc4120); SQL recovery test — no product race, harness timeouts + diagnostics (961ca2897); in-memory acks documented. Residuals → #1114.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#1111