Skip to content

## Test coverage audit + expansion: pipeio package Audit test coverage for `pac

Test coverage audit + expansion: pipeio package

Audit test coverage for packages/pipeio/ and schedule batch tasks to fill gaps.

Step 1: Audit

Run PYTHONPATH=src python -m pytest tests/ -q in packages/pipeio/ to see current count. Then map coverage: for each source module in src/pipeio/, count tested vs untested functions. Key modules to audit: - mcp.py — 50+ MCP tool functions - cli.py — CLI command dispatch - docs.py — docs_collect, docs_nav - registry.py — PipelineRegistry scan/validate - contracts.py — I/O validation - config.py — FlowConfig model - notebook/ — lifecycle, backend protocol, analyze

Step 2: Create task notes

For each coverage gap found, create a worklog issue note in the projio project describing: - Which functions need tests - What to test (happy path, edge cases, error paths) - Approach (fixtures, mocks, tmp_path patterns)

Step 3: Schedule

Use schedule_queue with batch_mode=True to schedule all the created task notes for background execution.

Important

  • Run existing tests first to establish baseline
  • Focus on MCP functions and registry (highest value)
  • Use the existing test patterns in packages/pipeio/tests/ as templates
  • Each spawned task should be self-contained (can run independently)

Batch Result

  • status: done
  • batch queue_id: f935e979b30d
  • session: c618c2d5-782b-483b-948e-bdf70925267d
  • batch duration: 962.1s