Skip to content

Lead loop: a dead worker is also stripped from the red-main and review-held rows, without its worker_gone signal #202

Open

Description

@oxa-agent

Observed while reviewing the latest head of a Lead snapshot PR (Lead loop treats an assignee whose worker is Dead or Stopped as no worker).

Stuck::live_assignee (oxa/oxa-cli/src/lead_loop.rs) records worker_gone:<name> and returns None. It is applied at three call sites:

  • main_red: live_assignee(idle_worker(board, now)) — when it returns None, the code escalates lead:stuck:main-red, which is fine.
  • merge_stalled (FixRequiredCi): None escalates lead:stuck:ci:<pr>, which is fine.
  • review_held: live_assignee(candidate) only clears the row's assignee; nothing escalates, so the only trace is the worker_gone signal, and the signal list is only surfaced when the pass otherwise produces a stuck record.

So a review-held row whose assignee's worker died shows no assignee and no ask, and if the pass produces no other stuck signal the worker_gone entry is not published at all. docs/lead.md describes the rule for the stall-report assignee; the review-held row behaves the same way silently.

Suggestion: decide explicitly whether a dead assignee on a held row should escalate (as the CI path does) or at least keep the worker_gone signal visible on the row.

Activity

  1. transferred this issue fromon Nov 26, 2026
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