actions-runner-controller: what does it mean "user repositories not supported"?

Describe the bug A clear and concise description of what the bug is.

I had finished the webhook configuration,but when I tried to push,I got the following DEBUG message

2022-03-21T15:40:28Z DEBUG controllers.webhookbasedautoscaler user repositories not supported {"event": "push", "hookID": "349188636", "delivery": "3b6da0c4-a92d-11ec-9628-7beee63ddb82", "owner": "yourmoonlight"}

Environment (please complete the following information):

  • Controller Version [0.22]
  • Deployment Method [Helm]
  • Helm Chart Version [0.17.0]

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

@mumoshu Thanks for looking at my config. I think I figured out my mistake. I had “Workflow run” webhook events enabled instead of “Workflow job”.

Some things that I got confused on:

  • Debug is enabled on the webhook server by default.
  • The debug message to escape from the runner groups block. Maybe that could be updated for clarity. The message make you think it doesn’t support User repos at all.
  • The documentation infers that you should have both check_run and workflow_job webhooks enabled. I think you should probably have one or the other enabled just to ease troubleshooting.
  • I find it confusing that githubEvent: {} means workflow_job as the trigger. Empty map makes me think it should be any event type, since check_run, push… have a map value and filtering.

Thanks again for the help.

@jgreat The log was added in https://github.com/actions-runner-controller/actions-runner-controller/commit/4ebec3820810e9d72032118870d44b23c1a47cc2 and it basically says that everything after line “478” that is intended to support runner groups(which are enterprise features not available to user repos).

User repositories are indeed supported by ARC. If you configured your RunnerDeplomeny for a user repo correctly, the webhook event should hit the if block at line 468 and triggers a scale https://github.com/actions-runner-controller/actions-runner-controller/blob/f28cecffe9731926309bdd5e6f1419a8fd87dcf1/controllers/horizontal_runner_autoscaler_webhook.go#L468-L471