swiftlang / swiftlang/swift-subprocess
testDoesNotReapUnrelatedChildProcess nondeterministically hangs
Open
Nobody has claimed this yet.
bug
- Dominant language
- Swift
- Stars
- 734
- Forks
- 68
- Avg merge
- 9d 2h
- Merged PRs (30d)
- 6
Description
Tests should probably add more timeouts in order to help debug what's actually going wrong. Could be the termination monitoring or the waitid perhaps?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the test named testDoesNotReapUnrelatedChildProcess and reproduce its nondeterministic hang. Trace the termination monitoring and waitid paths, then add timeouts that expose where the test stalls and verify the test no longer hangs silently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100