Skip to content

Conversation

@Teagan42
Copy link
Contributor

@Teagan42 Teagan42 commented Oct 7, 2025

What

  • add keyword-specific prefetch filters to query_media so vector prefetches respect keyword payload constraints
  • ensure keyword-only queries reuse those conditions as the main filter when no vector prefetch occurs
  • extend the server tests to validate that keyword filters propagate to both prefetch and keyword-only requests
  • bump the project version metadata

Why

  • ensure dense and sparse prefetches narrow candidates when keyword payload filters are supplied and still scope keyword-only queries when no vector prefetch runs

Affects

  • mcp_plex.server.query_media
  • server test suite
  • project version metadata

Testing

  • uv run ruff check .
  • uv run pytest

Documentation

  • not needed

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

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
mcp_plex/common
   validation.py28293%37–38
mcp_plex/loader
   __init__.py3741795%84–91, 165, 255–260, 662, 777–779, 781, 867–886
   __main__.py440%2–8
   imdb_cache.py43295%59, 63
mcp_plex/loader/pipeline
   channels.py64297%134–135
   enrichment.py5167585%237, 259–265, 318, 323, 354, 356, 363, 367, 471, 492, 512, 520–522, 525–527, 530–532, 540–545, 553, 607–608, 632, 692–693, 709, 738, 745, 747, 751, 803, 821, 833, 862, 868, 871–879, 905, 908–910, 927–929, 949–952, 956, 970–976, 998, 1000, 1003–1005
   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__.py6743395%53–54, 134–135, 163, 213, 239, 245–246, 315, 336–339, 356, 421, 424, 461, 479–480, 517, 941, 1208, 1230–1236, 1272, 1290, 1295, 1313, 1437, 1474
   __main__.py440%3–8
   config.py48785%50, 52–55, 65, 76
TOTAL236817393% 

Tests Skipped Failures Errors Time
150 0 💤 0 ❌ 0 🔥 1m 23s ⏱️

@Teagan42 Teagan42 merged commit 6ede548 into main Oct 7, 2025
4 checks passed
@Teagan42 Teagan42 deleted the codex/use-keyword-fields-to-prefetch-points branch October 7, 2025 05:13
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