pdftract/crates
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
..
pdftract-cer-diff test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
pdftract-cli feat(bf-3wkpz): implement timeout-protected stdout/stderr capture for benchmark 2026-07-06 16:36:22 -04:00
pdftract-core feat(bf-3wkpz): implement timeout-protected stdout/stderr capture for benchmark 2026-07-06 16:36:22 -04:00
pdftract-inspector-ui test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
pdftract-libpdftract feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
pdftract-py test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
pdftract-schema-migrate test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00