Skip to content

test(execution): replay serial transport + recorded-trace conformance corpus #179

Closed

Description

@CameronBrooks11

Part of the Machine-I/O epic (Phase 2). Depends on #178 (capture).

Scope

A SerialTransport fake that replays recorded RX traces and asserts the expected TX sequence; a corpus of real captured sessions (seeded from Phase 1 captures, including the Marlin winder); golden-trace conformance tests that run in CI with no hardware.

Why

The layer is currently untestable without a physical machine, so every fix is a guess and regressions are invisible. This is the linchpin that makes all protocol work testable and ends the regression treadmill.

Acceptance

  • CI runs protocol tests against >=1 real recorded session.
  • Covering a new firmware quirk = adding a fixture, not buying hardware.

Activity

  1. added
    python
    ci
    on Jun 26, 2026
  2. CameronBrooks11 commented on Jun 28, 2026

    @CameronBrooks11
    MemberAuthor

    Realized in the standalone marlin-host library (published 0.2.1, hardware-validated) and consumed by fiberpath via the machine cutover (#195, fiberpath 0.9.0). Closing.

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

    cipython

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions