[enhancement] github runner: support just-in-time (JIT) runner configuration
Los mantenedores suelen responder en 4 días
@atishay-kasliwal ya está trabajando en esto.
Desde el 16/11/2026.
- #971 de @atishay-kasliwal — abierto
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Read the self-hosted runner documentation linked in the issue and trace the --install-ghactions-runner CLI options and the code that generates runner user data. Check how existing token, App and PAT options are validated and how runner startup differs across platforms. Done means the JIT config file option starts a one-job ephemeral runner, conflicting options return an error, and registration tokens do not appear in user data or Pulumi state.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
Reading https://github.com/redhat-developer/mapt/blob/main/docs/self-hosted-runner.md, the GitHub runner is registered with a registration token written into the instance's cloud-init user data (config.sh --token … --replace). That token is valid for one hour and isn't bound to one runner. Any process on the host can read it from the instance metadata service, and so can anyone with access to the cloud account or the Pulumi state. Within the hour, they can register other runners on the same repository or organization, with any name and labels, or replace an existing runner of the same name.
This matters when the jobs on the runner aren't fully trusted, or when the cloud account and the GitHub organization belong to different parties.
Proposal
Support GitHub's just-in-time (JIT) runners (REST API, security hardening guide). A JIT config registers exactly one ephemeral runner, whose name, labels and runner group are set by whoever generated it. It can't register another runner, and it's useless once consumed.
- Add
--ghactions-runner-jitconfig-file <path>: a JIT config generated by the caller, read from a file so it stays out of process listings. It excludes the token, App and PAT options, and--ghactions-runner-labels/--ghactions-runner-ephemeral(the config sets them). - With it, the snippets start the runner with
run.sh --jitconfig <config>instead ofconfig.sh, on every platform. - Optionally, with
--ghactions-app-*, mapt generates a JIT config itself instead of a registration token, so App users get the same benefit.
Related: #851.
Acceptance
mapt aws rhel create --install-ghactions-runner --ghactions-runner-jitconfig-file jit.txt …brings up a runner that takes one job and is then removed by GitHub.- No registration token appears in the user data or the Pulumi state.
- Combining the option with a token, App or PAT option exits with an error.
- Lenguaje dominante
- Go
- Estrellas
- 25
- Forks
- 41
- Merge medio
- 5 d 3 h
- PR fusionados (30 d)
- 16
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de redhat-developer/mapt
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
redhat-developer/mapt#972 ·
Los mantenedores suelen responder en 4 días
-
Host/username secret values contain trailing newlines, sanitization fix breaks SSH keyQuizá libre de nuevo @abdulazeem-tk4vr la tomó hace 153 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
redhat-developer/mapt#817 · 12 comentarios ·
Los mantenedores suelen responder en 4 días
-
openshift-snc: align cluster ingress domain with the nip.io access domain (crc.testing split-brain)Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
redhat-developer/mapt#968 · 1 reacción ·
Los mantenedores suelen responder en 4 días
-
enhancement provider/IBMCLOUD
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
redhat-developer/mapt#955 ·
Los mantenedores suelen responder en 4 días
-
[bug] ibm-power: job containers run at MTU 1500 on a 1450 networkQuizá libre de nuevo @atishay-kasliwal la tomó hace 7 días y no hay ningún pull request abierto. Abiertobug provider/IBMCLOUD
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
redhat-developer/mapt#954 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
Todos los issues de redhat-developer/mapt
Issues similares
-
Add iterate GmbH domains to a dedicated list and include it in company and developer categoriesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
v2fly/domain-list-community#4307 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
chore needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
seanb4t/codegraph-go#380 ·
Los mantenedores suelen responder en 1 día
-
notify: voice_queue rows are deleted only at startup, so a hub that stays up grows it without boundAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mattabate/life-distributable#232 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día