Commits
Click on a commit to change the comparison rangefix(diagnostics): handle WouldBlock errors when writing to stdout
When oxlint is spawned as a child process (e.g., via Node.js execa),
stdout is connected to a pipe. If the parent doesn't consume output
fast enough, the pipe buffer fills and writes return WouldBlock (EAGAIN).
Previously this caused a panic.
Replace `write_all` with `write_all_retry` that properly handles:
- WouldBlock: sleep 1ms and retry (back-pressure)
- Interrupted: retry immediately
- BrokenPipe: return gracefully
- Partial writes: continue until all bytes written
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>