mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Real-env console: signerStatus "present" but every block/hashtag decrypt timed out at the 15s service budget, forever, retrying every ~15s for 15+ minutes — lists never loaded. Reproduced deterministically with the channel-sim harness (latency override): with per-call latency BELOW the service budget all lists load; the instant it crosses the budget every list fails (NO) and retries forever. A nip-07 decrypt is a postMessage round-trip to the extension's single-threaded, possibly-sleeping service worker — under cold-login load real extensions take 15-25s to answer even though the crypto is instant. The earlier 6s per-call timeout was killing those in-progress decrypts. Raise the budget across blocks/hashtags/subscriptions so a slow-but- responsive signer completes instead of timing out: - service-level DECRYPT_TIMEOUT_MS 15s → 30s - per-call nip-07 decrypt timeout 6s → 25s interactive / ~10-12s background - backoff cap 30s → 60s so a persistently dead signer settles into an occasional heartbeat instead of pinning the extension every ~15s Harness: at 16s/call (previously NO across the board) blocks + subscriptions + hashtags now all decrypt (0 timeouts); healthy mode unchanged (signer-ready ~1.2s). Full unit suite green. KNOWN_BUGS #0. Co-Authored-By: Claude Opus 4.8 <[email protected]>