actions / actions/toolkit

actions/exec: Allow to kill the child process

Open
#1,656 0 comments 3 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.