actions / actions/runner-container-hooks

[REQUEST] Add `ownerReferences` to workflow pods when running in kubernetes mode

Open
#255 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
153
Forks
112
Avg merge
6m
Merged PRs (30d)
1

Description

Coming from ARC where one can set the containerMode to kubernetes. When a new pod is created to run a specific image the ownerReferences is not set to link back to the parent pod. As this hooks repository is responsible to create the workflow pod could this be added ?

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 by locating the code path that creates workflow pods when containerMode is kubernetes, then inspect how the parent pod and Kubernetes ownerReferences are represented there. Done means newly created workflow pods link back to their parent pod through ownerReferences; add or run the relevant hook tests if the repository provides coverage for pod creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, typescript
Domain
infrastructure
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.