chain-studio/lib
flemming-it c18bb7f357 fix(test): kill the a11y suite's pending-timer flake at its root
Finally caught with a creation stack trace: when the last gRPC
stream closes, Http2ClientConnection arms the channel's 5-minute
idleTimeout timer — even on a shut-down connection — so the
test's 1-minute drain never covered it and the framework's
pending-timer invariant tripped whenever the arm landed inside
the test window (frequent while a real hub listens on 50051).

The suite now closes the channel in real-async space at the end
of the body (new @visibleForTesting HubService.debugResetChannel;
shutdown is deliberately not awaited — it wedges on a mid-connect
socket, but cancels its timers synchronously) and pumps past the
idle timeout so the timer fires inside the test. 6 consecutive
full-suite runs + 3 isolated runs green; before, roughly 1 in 3
full runs failed.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-18 18:02:03 +02:00
..
data fix(test): kill the a11y suite's pending-timer flake at its root 2026-07-18 18:02:03 +02:00
l10n fix(runs): stop claiming the hub is unreachable on RPC-level errors 2026-07-18 17:33:11 +02:00
pages fix(audit): cancel the live-stream reconnect timer on dispose 2026-07-18 17:33:11 +02:00
theme fix(shell): daemon-start and health-poll auth handling; policy panel freshness 2026-07-15 05:50:24 +02:00
widgets fix(store,audit,workspace): usertest low-findings tail (0.72.1) 2026-07-18 01:08:09 +02:00
main.dart feat(settings): About section — vendor, versions, license, contact 2026-07-17 23:40:21 +02:00