pdftract/crates/pdftract-cli
jedarden e3c6c34760 feat(bf-3wkpz): implement timeout-protected stdout/stderr capture for benchmark
- Add READ_TIMEOUT (5 min) and MAX_OUTPUT_SIZE (100 MB) constants
- Implement read_pipe_with_timeout() with watchdog thread protection
- Update execute_grep_command() to capture and return both streams
- Prevents TH-03 hang scenario by bounding both time and memory

Acceptance criteria:
✓ Stdout captured completely
✓ Stderr captured completely
✓ Output buffered without truncation (100 MB limit)
✓ Read operations have timeout protection (5 min timeout)
✓ Both streams captured even if one is empty

Verification: notes/bf-3wkpz.md
2026-07-06 16:36:22 -04:00
..
benches feat(bf-3wkpz): implement timeout-protected stdout/stderr capture for benchmark 2026-07-06 16:36:22 -04:00
examples test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
notes test(bf-2s1hq): add forms integration test verification note 2026-07-06 12:40:57 -04:00
src feat(bf-3wkpz): implement timeout-protected stdout/stderr capture for benchmark 2026-07-06 16:36:22 -04:00
tests test(bf-1or48): verify encryption test modules and fixtures 2026-07-06 12:48:29 -04:00
-.json feat(pdftract-4k1x4): complete Phase 4 Text Assembly and Layout 2026-06-08 09:09:37 -04:00
build.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
Cargo.toml feat(bf-3vo80): add UnmappedGlyphNamesConfig struct to build.rs 2026-07-06 14:42:07 -04:00
header chore(pdftract-36glh): remove unused JpxDecoder import and add verification note 2026-05-28 05:23:13 -04:00
pdftract-cli.cdx.json feat(pdftract-67tm8): implement MCP stdio transport with integration tests 2026-05-23 00:16:42 -04:00