Fix lingering processes for Gatsby telemetry and Jest worker #1896
Labels
proj/lingering-processes
type: chore
work needed to keep the product and development running smoothly
In #1889, we moved the lingering processes from the buildbot to Netlify Build.
The logic is currently the same. However, it happens a few seconds earlier.
It turns out some lingering processes are short-lived and terminate within a few seconds. Those were previously not reported to users due to the small duration between the end of the build command and the lingering process logic, which allowed them to complete. Now that this duration is smaller, they are being reported.
Ideally, those processes should be reported to the user and terminated, as mentioned in https://github.com/netlify/buildbot/issues/984
However, in order to decrease the amount of surprise for users for this specific release, I would suggest not reporting any warnings for the time being, for the top two offenders:
node_modules/gatsby-telemetry/lib/send.js
node_modules/jest-worker/build/workers/processChild.js
broccoli-babel-transpiler
(known bug from that plugin)We can then fix each of those libraries separately.
The text was updated successfully, but these errors were encountered: