Skip to content

Set maxBuffer on runLog to avoid ENOBUFS on large commit ranges#103

Open
RomainCscn wants to merge 1 commit into
mainfrom
fix/runlog-enobuf
Open

Set maxBuffer on runLog to avoid ENOBUFS on large commit ranges#103
RomainCscn wants to merge 1 commit into
mainfrom
fix/runlog-enobuf

Conversation

@RomainCscn
Copy link
Copy Markdown
Collaborator

Fixes LIN-72561. runLog ran git log via execSync with no maxBuffer, inheriting Node's 1 MB default — wide ranges with full commit bodies threw spawnSync /bin/sh ENOBUFS and aborted the sync. Caps at a finite 256 MB (bounded, not Infinity). Fixes both the range read and the silently-dropped single-commit path, since both go through runLog.

@linear-code
Copy link
Copy Markdown

linear-code Bot commented Jun 8, 2026

LIN-72561

@RomainCscn RomainCscn requested a review from axelniklasson June 8, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant