Skip to content

Conversation

@Teagan42
Copy link
Contributor

@Teagan42 Teagan42 commented Oct 7, 2025

What

  • move the sample loading helper into mcp_plex.loader.samples and import it from the loader package
  • update sample-mode tests to import the new module directly and exercise its helpers
  • bump the project version metadata to 2.0.4

Why

  • allow the staged loader orchestrator and tests to share the sample loader helpers while giving the module direct coverage

Affects

  • loader sample ingestion helpers, loader package exports, and sample-mode unit tests

Testing

  • uv run ruff check .
  • uv run pytest

Documentation

  • not needed

https://chatgpt.com/codex/tasks/task_e_68e4ce4838f48328b987f9a1a3c76388

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
mcp_plex/common
   types.py166199%168
   validation.py28293%37–38
mcp_plex/loader
   __init__.py1771592%89–96, 138, 205, 320–322, 324, 410–429
   __main__.py440%2–8
   imdb_cache.py43295%59, 63
   qdrant.py198299%335–340
   samples.py41393%54–56
mcp_plex/loader/pipeline
   channels.py64297%134–135
   enrichment.py5207586%240, 263–269, 322, 327, 358, 360, 367, 371, 475, 496, 516, 524–526, 529–531, 534–536, 544–549, 557, 611–612, 636, 696–697, 713, 742, 749, 751, 755, 807, 825, 837, 866, 872, 875–883, 909, 912–914, 931–933, 953–956, 960, 974–980, 1002, 1004, 1007–1009
   ingestion.py1551392%81, 130–150, 185, 222, 238, 331, 337, 357
   orchestrator.py95595%63, 141, 170, 193–194
   persistence.py130993%122, 164–165, 175, 186, 190–192, 245
mcp_plex/server
   __init__.py3512892%55–56, 136–137, 185, 202, 240, 261–264, 278–281, 289, 363, 366, 404, 422–423, 461, 491, 509, 515, 533, 632–634, 638
   __main__.py440%3–8
   cli.py62198%73
   config.py821285%58, 61–69, 76, 82, 102, 116
   media.py85495%62, 84–85, 95
mcp_plex/server/tools
   media_library.py2891196%477, 760, 783–791
TOTAL269519393% 

Tests Skipped Failures Errors Time
157 0 💤 0 ❌ 0 🔥 1m 24s ⏱️

@Teagan42 Teagan42 merged commit 0235474 into main Oct 7, 2025
4 checks passed
@Teagan42 Teagan42 deleted the codex/add-samples.py-with-_load_from_sample-function branch October 7, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants