Skip to content

Crew stop, retirement and archive leave a seat's linked-machine delegates running #987

Closed

Description

@Jacksondr5

J5's stopThread (apps/server/src/j5/a2a/stopThread.ts) dispatches only thread.stop. That stops a delegated task only when it has a thread on this machine. Crew stop, Crew retirement and archive all stop seats through stopThread, so a seat's delegate_task work on a linked machine keeps running.

The Captain's t3_thread_interrupt path in #982 already calls ThreadManagementService.stopDelegatedTasks with the Stop's command id, as upstream's handler does. The fix is to make the same call inside stopThread, so every J5 stop path gets it, and to add a test like #982's that covers failure and retry under one command id.

Found by the #982 review.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions