You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(table): run counter + gutter Stop update instantly on Run
The "X running" badge, per-row gutter Stop button, and runningByRowId map
stayed at zero after clicking Run until a manual refetch. useRunColumn
optimistically stamped cells pending in the rows cache but never bumped the
activeDispatches counter — so when the dispatcher's real pending SSE arrived,
applyCell saw the cell was already in-flight (wasInFlight === isInFlight) and
skipped the counter delta. The optimistic stamp ate the transition.
- onMutate now bumps runningCellCount / runningByRowId by the cells it stamps,
snapshotting prior run-state for rollback on error.
- onSuccess seeds the dispatch into the overlay list from the response instead
of invalidating activeDispatches (a refetch would reset the optimistic
counter to the server's still-zero count before the dispatcher stamps).
0 commit comments