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
{{ message }}
Repository navigation
push: a question alert carried to a moved pane's new ID still goes out after the pane resumed work #4239
A question alert that waits its short wait (10 s by default) moves with its pane when herdr gives the pane a new ID (push.moved, #4224). If the pane is working again by then, the alert still goes out under the new ID.
How it happens: pane_moved carries the pane with its current agent_status. The collector takes that status as the pane's baseline, but nothing tells push. push.moved carries the old blocked and the waiting alert to the new ID, and push.seed never overwrites a status push already holds. The next snapshot says working, which is not a change for the collector, so push hears nothing more before the alert fires.
Reproduced in a review run with the real collector, status hub and push service: a question alert scheduled under ws1:p1; the pane moved to ws2:p1 with working; snapshots after the move say working. One "waiting for your input" alert went out for ws2:p1. A control run where the pane stayed blocked correctly sent one alert to the new ID.
Possible fix: when a pane is moved and its waiting alert is carried over, check the alert against the move's status. Call off a question when the destination pane is no longer blocked.
Found while reviewing the first-status change for new panes, which can schedule such an alert too.
Activity
fix(push): alert a new pane's first question or finish from the statu…
fix(sidebar): workspace reorder, inbox summaries, moved-pane alerts a…