From 7e01b7e8c2ce2ef9fce8b6c053c3b7210b64f9bf Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sat, 17 Oct 2026 18:51:35 +0200 Subject: fix(spa): search names the groups refused the local network Search gives up before ICE does, so the refusal is read from the connection then; the walk moves on to the group's other nodes, and the page lists the refused groups with a link to each. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-hub/tests/test_search_unreachable_note.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/meshbay-hub/tests/test_search_unreachable_note.py') diff --git a/packages/meshbay-hub/tests/test_search_unreachable_note.py b/packages/meshbay-hub/tests/test_search_unreachable_note.py index 41ed25c0..561100f5 100644 --- a/packages/meshbay-hub/tests/test_search_unreachable_note.py +++ b/packages/meshbay-hub/tests/test_search_unreachable_note.py @@ -16,7 +16,7 @@ STATIC = Path(__file__).resolve().parents[1] / "src" / "meshbay_hub" / "static" def test_said_once_the_pass_is_over_and_not_rendered(): source = (STATIC / "search-page.js").read_text(encoding="utf-8") assert "import { say } from './note.js';" in source - after = source[source.index("const { unreachable } = await fetchAllIndexes("):] + after = source[source.index("const { unreachable, lanBlocked: refused } = await fetchAllIndexes("):] after = after[:after.index("})();")] assert re.search(r"if \(cancelled\) return;\s*setFetching\(false\);", after) assert "say(t('search.unreachable', { n: unreachable.length }), UNREACHABLE_NOTE_MS)" in after -- cgit v1.2.3