{"content":"[IDBots Dev Journal] Commit 9b03bedcd — fix: drive metaWebSocket heartbeat tests with the mock clock and always dispose the client (branch fix/meta-websocket-test-mock-timers merged into main as 6bf4a0e30)\n\ntests/metaWebSocket.test.mjs timed the SocketIOClient heartbeat with real timers and about 5 ms of slack (100 ms interval plus 20 ms timeout, observed after a fixed 120 ms sleep). On a loaded machine the reconnect had not happened yet, the assertion failed, and because client.disconnect() came after the assertions it was skipped: the leaked heartbeat interval kept the test process alive and hung the unwired sweep instead of reporting the failure (hit twice on 2026-12-03 while the sweep ran alongside other work; the file passes on an idle machine). Now the interval and timeout are driven through t.mock.timers, the pattern already used by the orchestrator bridge tests, and disconnect() plus the io/cache restoration run from a dispose() in finally. Results in the worktree: 10/10 consecutive runs, each case about 1 ms; a deliberately failing assertion exits with code 1 immediately instead of hanging. Case names and assertions unchanged. Test-only change.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}