Merge #1109 flake: respawn/restart dependent gap was a real race (#1070 stale-connectivity drop vs #1041's PostStop Bad) — host now tells dependents BadNoCommunication directly at child stop/restart; deterministic regression test
This commit is contained in:
@@ -614,6 +614,15 @@ A retired child's Bad edge is still applied while the replacement has not connec
|
||||
cover above. Same rule the condition-signal tracker already applied. Pinned by `DriverHostStaleConnectivityTests` (the race
|
||||
made deterministic by wedging the old child in `GetHostStatuses`).
|
||||
|
||||
⚠️ **…so mux dependents are told by the HOST, not by that edge (#1109).** #1041 relied on the old child's `PostStop` Bad to
|
||||
hand dependency-mux dependents (virtual tags, scripted alarms, Calculation) a non-Good input until the new driver object
|
||||
publishes. With the rule above that edge is dropped whenever the replacement connects first, which left dependents computing
|
||||
from the stopped object's last Good — indefinitely for an on-change source that does not republish an unchanged value (the
|
||||
#1109 flake: 15 of 30 stressed runs). `StopChild` and an operator Restart now fan `BadNoCommunication` for the driver's value
|
||||
refs to the mux themselves (`TellDependentsDriverObjectEnded`), on the host→mux pair the new incarnation's values travel and
|
||||
before `SourceRemoved`, so it is ordered ahead of the new driver's first value and is never retained. Value nodes are
|
||||
unchanged (they keep the #1070 rule). Pinned by `DriverHostRespawnDependentGapTests` (same wedge).
|
||||
|
||||
### The connect path feeds the circuit breaker (R2-10 T10 closure)
|
||||
|
||||
`IDriver.InitializeAsync` is routed through the capability invoker as
|
||||
|
||||
Reference in New Issue
Block a user