gha_job_execution_duration_seconds_sum
reports wrong value in some cases
#3731
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
Helm
Checks
To Reproduce
Describe the bug
In a few cases (don't know exact reason yet) the listener reports the metric
gha_job_execution_duration_seconds_sum
with a wrong value.Example:
Looking at the repository, all runs take less than 60 seconds to finish. The other ones are canceled even before starting because the branch has a new commit.
Describe the expected behavior
Not sure if this is caused only by canceled runs, but I'd expect the listener to return 0 for such runs.
Additional Context
Controller Logs
Runner Pod Logs
The text was updated successfully, but these errors were encountered: