diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-05 09:33:45 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-05 09:33:45 +0200 |
| commit | 146cee08ec9c4313bec5f69bb7ed7fbf73770aac (patch) | |
| tree | bc2aa524868d55869625ef4cd78b1f8300e28300 /packages/meshbay-hub/tests/test_recovery_email.py | |
| parent | cce8a911553597ada33e275bc9b29fd34121074d (diff) | |
| download | meshbay-146cee08ec9c4313bec5f69bb7ed7fbf73770aac.tar.gz | |
fix: read the node token per call and detect before polling the index dock
node:op only knew the daemon's token once a page had called detect(), and
kept it after the daemon replaced it on restart: the index dock stayed empty
on a node machine until the Node page was opened, every operation answered
401 after a node restart, and on a machine without a node each 30 s poll was
a rejected IPC call Electron printed to the terminal ("Node not detected").
node:op now reads the config and token from disk on every call, and the dock
asks detect() before its first operation and after any failure.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/tests/test_recovery_email.py')
0 files changed, 0 insertions, 0 deletions