actions / actions-runner-controller

Kubernetes controller for GitHub Actions self-hosted runners
Apache License 2.0
4.42k stars 1.04k forks source link

Wrong Reported Queue time in the Github Workflow UI #3346

Closed jaswanthikolla closed 3 months ago

jaswanthikolla commented 3 months ago

Checks

Controller Version

0.8.2

Deployment Method

Helm

Checks

To Reproduce

1. Create a workflow that runs on ARSS 
2. run the workflow, "Set up Job" waits for the ARSS runner to be available.
3. Reported Queue time is either 0s or 2s regardless of the wait time.

Describe the bug

Github Action's UI reported Setup job's Queue time is wrong.

image

Describe the expected behavior

Set up Job time should reflect how long it took to get the runner.

Additional Context

Can be reproduced with any values.yaml

Controller Logs

NA

Runner Pod Logs

NA
github-actions[bot] commented 3 months ago

Hello! Thank you for filing an issue.

The maintainers will triage your issue shortly.

In the meantime, please take a look at the troubleshooting guide for bug reports.

If this is a feature request, please review our contribution guidelines.

nikola-jokic commented 3 months ago

Hey @jaswanthikolla,

Set up job is communicated by the runner, not by ARC. Probably the job_startup_duration_seconds is the metric you are looking for. I will close this issue since it is not related to ARC.