Skip to content

fix(cli): raise maxBuffer in e2e run helper#342

Merged
gregberge merged 1 commit into
mainfrom
fix/e2e-run-max-buffer
Jul 10, 2026
Merged

fix(cli): raise maxBuffer in e2e run helper#342
gregberge merged 1 commit into
mainfrom
fix/e2e-run-max-buffer

Conversation

@gregberge

Copy link
Copy Markdown
Member

Description

e2e-core is red on main since yesterday (last three CI runs): e2e/review.test.ts > lists reviews in JSON mode fails with CommandError and status: null.

Root cause: spawnSync in the e2e run() helper uses the default 1 MB maxBuffer — when the child's output exceeds it, Node kills the process (status: null). The review e2e suite creates ~3 approved reviews on the shared build (#27748) on every run, across a 9-job matrix, so the review list --json output has been growing since April and finally crossed 1 MB.

This raises maxBuffer to 128 MB with a comment explaining why.

Worth considering separately: pruning the reviews on build 27748 (or pointing the suite at a fresh build periodically), since the output — and test duration — will keep growing forever otherwise.

Type of changes

bug

Checklist

  • I have read the CONTRIBUTING doc
  • The commits message follows the Conventional Commits' policy
  • Lint and unit tests pass locally
  • I have added tests if needed

🤖 Generated with Claude Code

spawnSync's default 1 MB maxBuffer kills the CLI process (status: null)
once its output outgrows the buffer. The e2e review suite approves the
shared build on every run, so 'review list' output has grown with each
CI run and finally crossed the limit, breaking e2e-core on main.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
argos-js-sdk-reference Ready Ready Preview, Comment Jul 10, 2026 8:12pm

Request Review

@gregberge gregberge added the bug Something isn't working label Jul 10, 2026
@gregberge gregberge merged commit aa6ac0c into main Jul 10, 2026
70 checks passed
@gregberge gregberge deleted the fix/e2e-run-max-buffer branch July 10, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant