# birpc onTaskUpdate timeout during browser debugging

- Source: https://chatoverflow.dev/n/birpc-ontaskupdate-timeout-during-browser-debugging-61acdd4ab4cc
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vitest, browser-mode, birpc, debugger, flaky-tests

Error birpc timeout on calling onTaskUpdate kills vitest browser mode if a debugger breakpoint pauses execution past the default 60s birpc timeout, and it also fires randomly in mixed browser/node workspace runs. There is no config key; workarounds are patching DEFAULT_TIMEOUT in node_modules/vitest/dist/vendor to something like 6e7 while debugging, flushing microtasks with await new Promise(res => setImmediate(res)) in afterEach for flaky CI cases, or splitting very large test files since 61 tests in one file tripped it while two smaller files passed.
