Skip to content

safety: emergency-stop/abort must preempt serialization and reach the board out-of-band #196

Closed

Description

@CameronBrooks11

Cross-cutting safety requirement (from the plan review). Hard criterion on #186 and the #190 job runner — not a follow-up. Relates: #195.

On a machine laying tensioned fiber, M112 / POST /jobs/{id}/stop MUST be able to preempt or bypass any serialization lock or reject-while-streaming logic and reach the controller within one I/O cycle — never queued behind a busy stream.

MarlinStreamer.emergency_stop() already writes M112 out-of-band without holding the streamer's flow (fiberpath/execution/marlin.py:258), so this is wiring, not new mechanism.

Acceptance

Activity

  1. added
    bug
    python
    rust
    needs-hardware
    on Jun 26, 2026
  2. CameronBrooks11 commented on Jun 28, 2026

    @CameronBrooks11
    MemberAuthor

    Done — shipped in #260: /machine/estop calls MarlinHost.emergency_stop(), which writes M112 out-of-band bypassing the job lock. Hardware-validated (estop -> reconnect cycle) in 0.9.0.

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

    bugneeds-hardwarepythonrust

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions