refactor(s7): retire the bespoke poll fork onto PollGroupEngine v2 (CONV-1; fixes PERF-3 + STAB-6-S7; deletes the fork's bare-OCE poll-death — cross-ref plan R2-01)

This commit is contained in:
Joseph Doherty
2026-07-13 12:07:39 -04:00
parent 0d879363f8
commit 85ef74ea86
3 changed files with 43 additions and 204 deletions
@@ -91,8 +91,10 @@ public sealed class S7DiscoveryAndSubscribeTests
var h1 = await drv.SubscribeAsync(["T1"], TimeSpan.FromMilliseconds(200), TestContext.Current.CancellationToken);
var h2 = await drv.SubscribeAsync(["T2"], TimeSpan.FromMilliseconds(200), TestContext.Current.CancellationToken);
h1.DiagnosticId.ShouldStartWith("s7-sub-");
h2.DiagnosticId.ShouldStartWith("s7-sub-");
// Post poll-fork retirement (CONV-1) the subscription handle is the shared engine's
// PollSubscriptionHandle (`poll-sub-<id>`), not the retired S7SubscriptionHandle (`s7-sub-`).
h1.DiagnosticId.ShouldStartWith("poll-sub-");
h2.DiagnosticId.ShouldStartWith("poll-sub-");
h1.DiagnosticId.ShouldNotBe(h2.DiagnosticId);
await drv.UnsubscribeAsync(h1, TestContext.Current.CancellationToken);