fix: restore bfj v8 buffer params to prevent export hang [DX-1002]#2344
Merged
Conversation
bfj 9.x reduced DEFAULT_BUFFER_LENGTH from 1024 to 256 and yieldRate from 16384 to 1024. On large exports these smaller values fill the buffer before the stream can drain, causing bfj's tryer loop to spin indefinitely with no timeout. Explicitly passing the v8 values restores the pre-regression behavior without reverting the CVE-2026-1615 security fix. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Tyler Pina (tylerpina)
force-pushed
the
fix/dx-1002-bfj-buffer-params
branch
from
July 21, 2026 19:33
fcb2108 to
92ad8e5
Compare
Lisa White (whitelisab)
approved these changes
Jul 21, 2026
Tyler Pina (tylerpina)
enabled auto-merge (squash)
July 21, 2026 21:02
|
🎉 This PR is included in version 8.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
DX-1002
Summary
contentful space exporthangs indefinitely at "Writing data to file" on large exports when using bfj 9.xDEFAULT_BUFFER_LENGTHfrom 1024 → 256 andyieldRatefrom 16384 → 1024; on data-heavy exports the buffer fills before the stream can drain, causing bfj'stryerloop to spin forever with no timeoutbufferLength: 1024, yieldRate: 16384) restores pre-regression behavior while keeping the CVE-2026-1615 security fix in placeTest plan
npm run test:unit)contentful space exportagainst a space with 3,000+ entries and confirm the export completes without hangingGenerated with Claude Code