From 2c6921aa2c35ffd41b6c453e6700574ef631ba2c Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Wed, 30 Sep 2026 12:57:58 +0200 Subject: fix(client): the page names node operations, and the app confirms what widens the node node:call is replaced by named operations with checked arguments; hosting a group, sharing an unpicked folder, key rotation, denylist clearing and a change of node account are confirmed by a native dialog. Every channel checks its sender, secrets:get/set/clear are gone, node:start writes the app's own hub. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-hub/tests/test_connect_never_hangs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/meshbay-hub/tests/test_connect_never_hangs.py') diff --git a/packages/meshbay-hub/tests/test_connect_never_hangs.py b/packages/meshbay-hub/tests/test_connect_never_hangs.py index 5680877..1fb4d3d 100644 --- a/packages/meshbay-hub/tests/test_connect_never_hangs.py +++ b/packages/meshbay-hub/tests/test_connect_never_hangs.py @@ -69,7 +69,7 @@ def test_a_timed_out_gathering_still_sends_the_offer(): @pytest.mark.skipif(not MAIN.exists(), reason="the desktop client is not present") def test_every_hub_call_from_the_client_has_a_deadline(): source = MAIN.read_text(encoding="utf-8") - block = source.split("ipcMain.handle('hub:fetch'", 1)[1].split("ipcMain.handle", 1)[0] + block = source.split("handle('hub:fetch'", 1)[1].split("\n handle(", 1)[0] assert "AbortSignal.timeout" in block, ( "a hub that accepts the connection and says nothing holds this for " "as long as the OS allows") @@ -88,5 +88,5 @@ def test_the_deadline_outlasts_the_hubs_own_longest_call(): @pytest.mark.skipif(not MAIN.exists(), reason="the desktop client is not present") def test_a_timeout_says_so_rather_than_saying_fetch_failed(): source = MAIN.read_text(encoding="utf-8") - block = source.split("ipcMain.handle('hub:fetch'", 1)[1].split("ipcMain.handle", 1)[0] + block = source.split("handle('hub:fetch'", 1)[1].split("\n handle(", 1)[0] assert "TimeoutError" in block and "did not answer" in block -- cgit v1.2.3