EphemeralRunner status.ready
should reflect Pod readiness
#3823
Labels
bug
Something isn't working
gha-runner-scale-set
Related to the gha-runner-scale-set mode
needs triage
Requires review from the maintainers
Checks
Controller Version
0.9.3
Deployment Method
Other
Checks
To Reproduce
Describe the bug
EphemeralRunner's readiness (
status.ready
field) is calculated as follows.It becomes
true
when the associated Pod starts running (status.phase: Running
).actions-runner-controller/controllers/actions.github.com/ephemeralrunner_controller.go
Line 701 in 8b36ea9
However, EphemeralRunner's readiness should reflect the Pod's readiness (
status.conditions[type="Ready"].status
).Otherwise, an EphemeralRunner is recognized as ready while its Pod is actually not ready yet.
Describe the expected behavior
EphemeralRunners become ready once their associated Pods become ready, not just running.
Additional Context
N/A
Controller Logs
Runner Pod Logs
The text was updated successfully, but these errors were encountered: