From 84946b1fef64ee619f1c161d57ef4afdc533eae2 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sat, 17 Oct 2026 19:08:52 +0200 Subject: fix(spa): search hears a refused local network from the connection On a Pixel, Chrome still lists the refused address when search gives up, so nothing tells it from a silent node. The connection given up on now runs to its own verdict and the refusal is reported then. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-hub/tests/test_search_fanout.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages/meshbay-hub/tests/test_search_fanout.py') diff --git a/packages/meshbay-hub/tests/test_search_fanout.py b/packages/meshbay-hub/tests/test_search_fanout.py index 73ba4ac0..303045cd 100644 --- a/packages/meshbay-hub/tests/test_search_fanout.py +++ b/packages/meshbay-hub/tests/test_search_fanout.py @@ -189,3 +189,8 @@ def test_the_search_page_shows_the_refused_groups_with_a_way_in(): start = source.index("lanBlocked.length > 0") hint = source[start:start + 400] assert "t('search.lan_blocked'" in hint and "groupLinkRoute(g)" in hint + # The refusals heard after the pass, from the pool, join the same list. + pool = source[source.index("new ConnectionPool(HUB,"):] + pool = pool[:pool.index("return () =>")] + assert "addLanBlocked([g])" in pool + assert "addLanBlocked(refused)" in source and "setLanBlocked(refused)" not in source -- cgit v1.2.3