Skip to content

Add initial pipeline diagramming support and some CLI refactors / cleanups#1100

Merged
mdekstrand merged 17 commits into
lenskit:mainfrom
mdekstrand:feature/pipeline-diagram
May 21, 2026
Merged

Add initial pipeline diagramming support and some CLI refactors / cleanups#1100
mdekstrand merged 17 commits into
lenskit:mainfrom
mdekstrand:feature/pipeline-diagram

Conversation

@mdekstrand
Copy link
Copy Markdown
Member

@mdekstrand mdekstrand commented May 20, 2026

This adds support for rendering Mermaid diagrams of LensKit pipelines, along with some CLI refactor and test improvements now that we're loading pipelines in more different commands. Closes #1038.

@mdekstrand mdekstrand added this to the 2026.2 milestone May 20, 2026
@mdekstrand mdekstrand self-assigned this May 20, 2026
@mdekstrand mdekstrand added pipeline LensKit pipeline abstraction cli Command-line interface labels May 20, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

❌ Patch coverage is 86.50000% with 27 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.67%. Comparing base (2c532cd) to head (4a7df3a).

Files with missing lines Patch % Lines
src/lenskit/cli/__init__.py 47.36% 10 Missing ⚠️
src/lenskit/cli/pipeline/diagram.py 73.68% 10 Missing ⚠️
src/lenskit/pipeline/_diagram.py 92.06% 5 Missing ⚠️
src/lenskit/cli/pipeline/_load.py 95.12% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1100      +/-   ##
==========================================
+ Coverage   89.65%   89.67%   +0.01%     
==========================================
  Files         243      247       +4     
  Lines       16575    16729     +154     
==========================================
+ Hits        14861    15002     +141     
- Misses       1714     1727      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mdekstrand mdekstrand merged commit 6a0abbe into lenskit:main May 21, 2026
40 of 41 checks passed
@mdekstrand mdekstrand deleted the feature/pipeline-diagram branch May 21, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Command-line interface pipeline LensKit pipeline abstraction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatically generate pipeline visualizations

1 participant