Skip to content

orchestration: check --wait --types worker_done,escalation,question still delivers heartbeat-only batches #3

Open

Description

@DoozyX

orchestration check --wait --types "worker_done,escalation,question" delivers heartbeat-only batches.

Seen on: 1.4.221-local.1791262937090.6b85338989d7 CLI; the run started on app 1.4.218-local (version not recorded per entry).
Run run_f9b087216665.

Command:

orca orchestration check --wait --types "worker_done,escalation,question" --timeout-ms <n> --json

Expected: heartbeats are excluded by --types, so the wait ends only for a message that needs a decision.
Actual: one wait returned delivery delivery_86b5dcd80c68 holding only a heartbeat. Each such delivery wakes the coordinator with nothing to decide, and must be acknowledged.

Repeat: the same behaviour was measured in an earlier run's retrospective (.orca/2026-10-02-open-issues-466-480/orchestrate/retrospective.md, Orca issues 4): 24 of 93 successful waits returned only heartbeats, and 66 of 139 delivered messages were heartbeats. That entry could not verify that the filter had been passed. Here the filter was passed exactly as above, so this is a defect, not a usage note.

Retrospective: .orca/2026-10-01-perf-bench/orchestrate/retrospective.md, Orca issues 3.

Activity

  1. added
    retro
    on Oct 6, 2026
  2. added
    retro-in-progress
    on Oct 16, 2026
  3. DoozyX commented on Oct 16, 2026

    @DoozyX
    OwnerAuthor

    Claimed by retro automation. Coordinator terminal term_456ff472-483e-49c5-a738-757cbf4853ea (local host Slobodans-MacBook-Pro.local), Run run_177f701d3808. Evidence: .orca/2026-10-16-retro-issue-3/report.md in the root worktree.

  4. added
    retro-parked
    on Oct 16, 2026
  5. DoozyX commented on Oct 16, 2026

    @DoozyX
    OwnerAuthor

    needs-attention: classified BLOCKED, no code changed. Heartbeat-only deliveries come from the documented whole-FIFO-batch contract: an unacked delivery is replayed before wakeTypes is checked, and the batch SELECT has no type filter (check-run.ts, role-mailbox-delivery.ts:45-83). A fix changes delivery/ack semantics with old-peer wire-compat implications, so it needs a product decision. Evidence: .orca/2026-10-16-retro-issue-3/classification.md. Preserved (untouched): worktree /Users/doozyx/DoozyX/tools/orca/.worktrees/retro-issue-3, branch DoozyX/retro-issue-3 at 9365ecc (no commits). Worker dispatch ctx_27756dd24867 settled (completed, agent idle, setup done).

  6. removed
    retro-in-progress
    on Oct 16, 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

    retroretro-parked

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions