actions / actions/actions-runner-controller

Fix error in Action Runner System when computing replicas

Open
#2,698 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs triage
Dominant language
Go
Stars
6.5k
Forks
1.5k
Avg merge
2d 2h
Merged PRs (30d)
27

Description

Checks
Controller Version

0.17.3

Helm Chart Version

0.17.3

CertManager Version

No response

Deployment Method

Helm

cert-manager installation

Yes installed correctly

Checks
  • This isn't a question or user support case (For Q&A and community support, go to Discussions. It might also be a good idea to contract with any of contributors and maintainers if your business is so critical and therefore you need priority support
  • I've read releasenotes before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes
  • My actions-runner-controller version (v0.x.y) does support the feature
  • I've already upgraded ARC (including the CRDs, see charts/actions-runner-controller/docs/UPGRADING.md for details) to the latest and it didn't fix the issue
  • I've migrated to the workflow job webhook event (if you using webhook driven scaling)
Resource Definitions
-
To Reproduce
- I do not know what would reproduce this issue for now
Describe the bug

he specific error message encountered is: Action Runner System - Could not compute replicas: {"horizontalrunnerautoscaler": "actions-runner-system/k8s-runners-autoscaler", "error": "listing queued workflow runs: failed to list workflow runs: GET https://github./actions/runs?per_page=100&status=queued: 404 Not Found []"}
• The error is preventing the Action Runner System from properly listing queued workflow runs, resulting in the inability to compute replicas accurately.

Describe the expected behavior

I should be able to GET the API call

Whole Controller Logs
he specific error message encountered is: Action Runner System - Could not compute replicas: {"horizontalrunnerautoscaler": "actions-runner-system/k8s-runners-autoscaler", "error": "listing queued workflow runs: failed to list workflow runs: GET https://github.<URL>/actions/runs?per_page=100&status=queued: 404 Not Found []"}
• The error is preventing the Action Runner System from properly listing queued workflow runs, resulting in the inability to compute replicas accurately.
Whole Runner Pod Logs
he specific error message encountered is: Action Runner System - Could not compute replicas: {"horizontalrunnerautoscaler": "actions-runner-system/k8s-runners-autoscaler", "error": "listing queued workflow runs: failed to list workflow runs: GET https://github.<URL>/actions/runs?per_page=100&status=queued: 404 Not Found []"}
• The error is preventing the Action Runner System from properly listing queued workflow runs, resulting in the inability to compute replicas accurately.
Additional Context

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

No source file, test, or reproducible setup is identified. Start by tracing the horizontal runner autoscaler's queued-workflow-runs lookup for the GitHub Actions API request, then verify that queued runs can be listed and replicas are computed without the reported 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, go, kubernetes
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.