boltpkg / boltpkg/bolt

Allow all child process' to finish before terminating parent

Open
#195 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.4k
Forks
97
PR merge metrics
No merged PRs in 30d

Description

| Title | Description
| --------------------|------------
| Version | 0.22.1
| Type | Issue
| node | v10.9.0
| Operating System | OSX
| Short Description | Child processes can become orphaned when another child process exits with non-zero
| Detailed description| The first child to exit with non-zero, causes the main bolt process to exit with the same code. In cases where `--parallel` is used, this can leave many orphaned process which keep logging to terminal. In rare cases, orphaned processes can become zombies.

Contributor guide

Open the contributing guide

Research direction

The issue names no source file or test. Start at the --parallel handling and the code that exits the main bolt process when a child returns non-zero. Reproduce with multiple child processes, then verify that all children finish before the parent terminates and that no orphaned or zombie processes remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.