v3.10.3 - Timeout Fix for Large Files
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_TIMEOUTandexecFileSynctimeout to 45s - Added
MAX_FILE_SIZEcheck (1MB) inscan_securitytool
Changes
src/daemon-client.js: REQUEST_TIMEOUT 30s → 45ssrc/utils.js: execFileSync timeout 30s → 45ssrc/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