Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin bug/misbehavior can lead to silent exit (also see #606 ) #3524

Open
pkit opened this issue Apr 30, 2020 · 1 comment
Open

plugin bug/misbehavior can lead to silent exit (also see #606 ) #3524

pkit opened this issue Apr 30, 2020 · 1 comment

Comments

@pkit
Copy link

pkit commented Apr 30, 2020

Expected Behavior

Timeout

Actual Behavior

Silent exit, see #606

Need to add a race with timeout and some sort of a listener queue.
Otherwise it will just exit on any buggy plugin code. And people cannot be expected to be able to debug each and every plugin for potential misbehavior.

@pkit
Copy link
Author

pkit commented May 7, 2020

Used async_hooks to track pending promises and, boy, tens of pending promises on rollup exit.
Probably a lot of plugins have bugs related to that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant