actions/exec: Allow to kill the child process
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the enhancement
I could not find a way at the moment. Maybe I am blind, but I would like to kill the child process spawned in actions/exec. As far as I could see it the child process (cp) in toolrunner.ts cannot be controlled this way.
Code Snippet
Additional information
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 toolrunner.ts and inspect how the child process (cp) is created and managed by actions/exec. Determine the supported way for callers to terminate it, then add coverage for the behavior; done means callers can kill the spawned child process reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100