You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but sometimes the output is cut short.
(We first noticed this when our pipelines would intermittently fail because the generated XML files were invalid.)
Self-service
Describe the bug
I have a script in my
package.json
like:(fully runnable example below)
Repeatedly running:
yarn run test-merge ; tail test-output.xml
should always show:
but sometimes the output is cut short.
(We first noticed this when our pipelines would intermittently fail because the generated XML files were invalid.)
If I add another script that forces to use bash:
and repeatedly run:
yarn run test-merge-bash ; tail test-output.xml
the output is always complete.
This leads me to believe that this is a bug in Yarn Berry's internal shell component, which sometimes fails to flush the output.
To reproduce
berrybug.zip
Environment
The text was updated successfully, but these errors were encountered: