Skip to content

v3.10.3 - Timeout Fix for Large Files

Choose a tag to compare

@sinewaveai sinewaveai released this 20 Feb 16:04

What's Changed

Timeout Fix for Codex and Large Files

  • Increased analysis timeout from 30s to 45s (both daemon and sync fallback)
  • Added 1MB file size limit to prevent timeouts on very large files
  • Fixes timeout errors when scanning complex TypeScript backend files

Technical Details

  • Root cause: compound timeout (daemon 30s + sync fallback 30s = 60s total)
  • Solution: Increased REQUEST_TIMEOUT and execFileSync timeout to 45s
  • Added MAX_FILE_SIZE check (1MB) in scan_security tool

Changes

  • src/daemon-client.js: REQUEST_TIMEOUT 30s → 45s
  • src/utils.js: execFileSync timeout 30s → 45s
  • src/tools/scan-security.js: Add file size check with early skip

Addresses user-reported timeout failures in Codex when scanning TypeScript backend files.

Full Changelog: v3.10.2...v3.10.3