Skip to content

fix(release): avoid ENOBUFS during JSON preparation - #119951

Merged
vincentkoc merged 1 commit into
mainfrom
fix/release-prepare-enobufs
Aug 6, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/release-prepare-enobufs

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 6, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where maintainers running release preparation with --json could hit spawnSync ENOBUFS when a version-owned child command emitted more than Node's default child-process buffer.

Why This Change Was Made

JSON-mode child stdout and stderr now stream directly to the parent stderr descriptor, preserving stdout for the final machine-readable manifest without imposing another output ceiling. Non-JSON inheritance, child exit status, and spawn-error behavior are unchanged.

User Impact

Release preparation can process large generated-metadata output without failing or contaminating its JSON stdout.

Evidence

AI-assisted: yes. The implementation and regression were reviewed against the release failure and repository subprocess contracts.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: S maintainer Maintainer-authored PR labels Aug 6, 2026
@vincentkoc vincentkoc self-assigned this Aug 6, 2026
@vincentkoc
vincentkoc force-pushed the fix/release-prepare-enobufs branch from 1333f54 to 22d8282 Compare August 6, 2026 13:13
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@vincentkoc
vincentkoc marked this pull request as ready for review August 6, 2026 13:18
@vincentkoc
vincentkoc merged commit a914682 into main Aug 6, 2026
161 checks passed
@vincentkoc
vincentkoc deleted the fix/release-prepare-enobufs branch August 6, 2026 13:54
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant