jest-community / vscode-jest

The optimal flow for Jest based testing in VS Code
MIT License
2.82k stars 291 forks source link

prevent execution queue being blocked by zombie processes #1134

Closed connectdotz closed 3 months ago

connectdotz commented 3 months ago

This PR addresses 2 use cases for spawned jest processes fail to exit properly (zombie):

  1. when the user cancels the manual runs, we only end the runs but do not terminate the scheduled/running jest processes.
  2. when zombie processes fail to exit after the test is finished, such as caused by external issues mentioned in here

Together, this can help the queue being blocked by the zombie processes mentioned in #1124


resolve #1124

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 8562206047

Details


Totals Coverage Status
Change from base Build 8474168577: -0.01%
Covered Lines: 3983
Relevant Lines: 3990

💛 - Coveralls