Skip to content

refactor: remove the legacy in-repo Marlin code (#195) - #263

Merged
CameronBrooks11 merged 1 commit into
mainfrom
chore/remove-legacy-marlin
Jun 28, 2026
Merged

CameronBrooks11 merged 1 commit into
mainfrom
chore/remove-legacy-marlin

Conversation

@CameronBrooks11

Copy link
Copy Markdown
Member

Final slice of the machine cutover (epic #195). With the API sidecar (#260), the CLI (#261), and the GUI (#262) all on marlin-host, the old in-repo machine layer is dead code — remove it:

  • fiberpath/execution/ — MarlinStreamer (the optimistic streamer: exact-ok match, echo:busy-resets-deadline hang).
  • fiberpath_cli/interactive.py + the interactive CLI command — the GUI's retired stdio-JSON subprocess protocol.
  • Tests — tests/execution/test_marlin_streamer.py, tests/tauri/test_marlin_integration.py, tests/tauri/test_port_discovery.py (the stdio-path tests; superseded by tests/api/test_machine_route.py).
  • freeze_cli.py — the execution/interactive hidden imports.
  • Direct pyserial dep — now transitive via marlin-host[serial], which also owns port enumeration (list_ports()), so fiberpath has no direct serial code left.

ruff + mypy clean; 115 tests pass; fiberpath --help loads (plan/plot/simulate/validate/stream — no interactive). Closes out the cutover; only the 0.9.0 release remains.

All three consumers now run on marlin-host + the API sidecar, so delete
the optimistic in-repo machine layer:
- fiberpath/execution/ (MarlinStreamer, the echo:busy-hang streamer)
- fiberpath_cli/interactive.py + the `interactive` CLI command (the GUI's
  retired stdio-JSON protocol)
- tests/execution/test_marlin_streamer.py + tests/tauri/{marlin_integration,
  port_discovery} (the stdio-path tests; replaced by tests/api)
- the execution/interactive hidden imports in freeze_cli.py
- the direct pyserial dep (now transitive via marlin-host[serial], which
  also owns port enumeration)

ruff/mypy clean; 115 tests pass; CLI loads (plan/plot/simulate/validate/
stream, no interactive). Completes the machine cutover.
@CameronBrooks11
CameronBrooks11 merged commit 8936755 into main Jun 28, 2026
21 checks passed
@CameronBrooks11
CameronBrooks11 deleted the chore/remove-legacy-marlin branch June 28, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant