Skip to content

Instantly share code, notes, and snippets.

@ryan-williams
Last active October 7, 2025 21:40
Show Gist options
  • Save ryan-williams/f38c0ab59897cfb57c99081b7d87af54 to your computer and use it in GitHub Desktop.
Save ryan-williams/f38c0ab59897cfb57c99081b7d87af54 to your computer and use it in GitHub Desktop.
marin-community/marin#1723 - 2-way sync via github-pr.py (ryan-williams/git-helpers)

marin-community/marin#1723 workspace, step 2: levanter

Second step in the uv workspace migration plan: ingests Levanter as a workspace member with full Git history preserved.

Changes

  • Merge Levanter into lib/levanter/ (including Git history)
  • Add Levanter member to workspace root pyproject.toml
  • Migrate Levanter GitHub Actions workflows to monorepo structure:
    • Rename all workflows with levanter- prefix
    • Add path filters to trigger only on relevant changes
    • Update workflows for workspace (working-directory, --package flags)
  • Update marin's dependency on Levanter to use workspace reference

Structure After

marin/
  pyproject.toml        # Workspace root
  experiments/
  lib/
    marin/              # Workspace member
      pyproject.toml
      src/marin/
    data_browser/       # Workspace member
      pyproject.toml
      src/
    levanter/           # Workspace member (new)
      pyproject.toml
      src/levanter/

See workspace migration gist for migration scripts and details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment