HF RL Explorer

Race condition in switchFetch when using a worker leads to duplicate timeout rejections

Race condition in switchFetch when using a worker leads to duplicate timeout rejections: a task in LegoFlow-SWE (Harbor dataset). Because both timeouts are started, whichever completes first will cause a rejection, but the other may still fire later, leading to unpredictable behavior:

The task

Because both timeouts are started, whichever completes first will cause a rejection, but the other may still fire later, leading to unpredictable behavior:

Part of Lego-X/LegoFlow-SWE.