SIGN IN SIGN UP

fix(worker-bridge): ignore a stale wake from the previous bridge request (#513)

* fix(worker-bridge): keep waiting while a bridge request is unanswered

A notify for the previous operation can land after the worker set READY
for the next one. execSync treated that wake as the answer, read the
reset buffer and returned "Error code: 0", which python3 maps to EIO.
Wait again while the status is still READY, within one deadline.

Fixes #502

* test(worker-bridge): assert the shared deadline and the stale wake

---------

Co-authored-by: Hiroki Osame <hiroki.osame@gmail.com>
J
Jamal Ali committed
ef8c75deaeb74fc314767512d1550bcc84407d4e
Parent: f826b2f
Committed by GitHub <noreply@github.com> on 9/29/2026, 1:09:32 PM