Files
kiskaadee 93a572cbb5
Core Architecture & Invariant CI / validate (pull_request) Successful in 16s
Core Architecture & Invariant CI / validate (push) Successful in 16s
fix(capture): handle DecompressionBombError and deduplicate server test SSH scaffolding
- src/lg_smtv_mcp/tv_core/capture.py: catch Image.DecompressionBombError alongside UnidentifiedImageError/OSError/ValueError/EOFError so oversized/malformed image headers map to TvError(ErrorCode.SCREENSHOT_UNAVAILABLE) (CR-01)
- tests/test_capture.py: add Red-Green regression test verifying DecompressionBombError maps to SCREENSHOT_UNAVAILABLE
- tests/test_server.py: extract _wire_capture_client_with_fake_ssh helper to eliminate duplicated fake SSH/SFTP scaffolding across server capture wiring tests (CR-02)
2026-11-19 10:52:35 -05:00
..