Skip to content

Conversation

@Teagan42
Copy link
Contributor

What

  • compute dense and sparse search embeddings concurrently
  • prefetch extra Qdrant results and cache media payloads, posters, and backgrounds
  • test concurrency and cache reuse

Why

  • speeds up search and subsequent resource lookups by parallelizing work and avoiding duplicate queries

Affects

  • mcp_plex/server.py
  • tests/test_server.py

Testing

  • uv run ruff check .
  • uv run pytest

Documentation

  • n/a

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

@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
mcp_plex
   loader.py1791094%32–34, 296, 299–302, 523, 529
   server.py1362582%36, 39, 57–58, 92–102, 264–268, 286–290
TOTAL4173592% 

Tests Skipped Failures Errors Time
11 0 💤 0 ❌ 0 🔥 6.344s ⏱️

@Teagan42 Teagan42 merged commit 6aeea57 into main Aug 31, 2025
4 checks passed
@Teagan42 Teagan42 deleted the codex/optimize-search_media-with-concurrency-and-caching branch August 31, 2025 06:06
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