Skip to content

prevent execution queue being blocked by zombie processes#1134

Merged
connectdotz merged 3 commits intojest-community:masterfrom
connectdotz:cancel-process
Apr 5, 2024
Merged

prevent execution queue being blocked by zombie processes#1134
connectdotz merged 3 commits intojest-community:masterfrom
connectdotz:cancel-process

Conversation

@connectdotz
Copy link
Copy Markdown
Collaborator

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
Copy link
Copy Markdown

coveralls commented Apr 4, 2024

Pull Request Test Coverage Report for Build 8562206047

Details

  • 84 of 84 (100.0%) changed or added relevant lines in 7 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 97.997%

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

💛 - Coveralls

@connectdotz connectdotz merged commit 2ef208d into jest-community:master Apr 5, 2024
@connectdotz connectdotz deleted the cancel-process branch April 5, 2024 21:35
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

Successfully merging this pull request may close these issues.

[BUG] Not able to run test more than once

2 participants