fix(dcl): seeds never overwrite a newer live value; Good on reconnect resets only the subscribe backoff (DCL-1, SRT-6, WP3 tasks 3.1 + 3.8)

3.1: seed values are flagged on TagValueReceived; a reconnect/resolution
re-seed for a tag that already delivered a live value in the current
adapter generation is dropped, an initial-subscribe seed is replaced by the
latest live value (a joining instance may have missed earlier live values).
3.8: the connection actor tells subscribers ConnectionQualityChanged(Good)
on re-entering Connected; InstanceActor's Good branch only resets the
Lever-1 backoff and no longer stamps bound attributes Good.
This commit is contained in:
Joseph Doherty
2026-12-03 09:49:57 -05:00
parent 1aa8710e72
commit 6adfc9f449
8 changed files with 411 additions and 13 deletions
@@ -188,6 +188,8 @@ public class DataConnectionReconfigureTests : TestKit
ExpectMsg<ConnectionQualityChanged>(TimeSpan.FromSeconds(5));
AwaitCondition(() => Subscribed(newAdapter), TimeSpan.FromSeconds(5));
// Re-entering Connected tells the subscriber Good (SRT-6 restore signal).
ExpectMsg<ConnectionQualityChanged>(m => m.Quality == QualityCode.Good, TimeSpan.FromSeconds(5));
ExpectNoMsg(TimeSpan.FromMilliseconds(300));
oldCallback!("sensor/temp", new TagValue(999, QualityCode.Good, DateTimeOffset.UtcNow));