HF RL Explorer

Issue: BatchController hangs during leadership transitions

Issue: BatchController hangs during leadership transitions: a task in LegoFlow-SWE (Harbor dataset). The BatchController processes tasks asynchronously via Submit(task) and SubmitWithTimeout(task, timeout) . When the instance undergoes leadership status changes (e.g., transitions from follower to…

The task

The `BatchController` processes tasks asynchronously via `Submit(task)` and `SubmitWithTimeout(task, timeout)`. When the instance undergoes leadership status changes (e.g., transitions from follower to leader and back, or multiple rapid transitions), the controller’s internal goroutines can deadlock, causing all…

Part of Lego-X/LegoFlow-SWE.