Skip to content

push: a question alert carried to a moved pane's new ID still goes out after the pane resumed work #4239

Done

Description

@devswha

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

  1. added a commit that references this issue on Nov 25, 2026
    6e06ed3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions