Repository navigation
fix(release): avoid ENOBUFS during JSON preparation - #119951
Merged
Merged
Conversation
vincentkoc
force-pushed
the
fix/release-prepare-enobufs
branch
from
August 6, 2026 13:13
1333f54 to
22d8282
Compare
Member
Author
|
@clawsweeper review |
Contributor
|
🦞👀 Command router queued. I will update this comment with the next step. |
Member
Author
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Aug 6, 2026
(cherry picked from commit a914682)
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes an issue where maintainers running release preparation with
--jsoncould hitspawnSync ENOBUFSwhen 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
node scripts/run-vitest.mjs test/scripts/release-prepare.test.ts(8 tests passed)git diff --check22d828280fd4ee2ee6f995b8956a7557135ad083: clean, no actionable findingstbx_01kzbjz66yse8pxk9vsr9bk9mjcaught an unused test import during root-test typechecking; that import was removed before the current headtbx_01kzbka2xyqmw1f49qmbjfb7cktimed out while syncing and did not execute the changed lanes: https://github.com/openclaw/openclaw/actions/runs/31104910938cd009e72f0bc336a6c454c28611fd7fc50394652cut by release-owner direction; the PR is mergeable, exact-head CI is green, and there is no code conflictAI-assisted: yes. The implementation and regression were reviewed against the release failure and repository subprocess contracts.