Replies: 1 comment
|
Thank you for your interest in contributing to our community! We currently only accept discussions created through the GitHub UI using our provided discussion templates. Please re-submit your discussion by navigating to the appropriate category and using the template provided. This discussion has been closed because it was not submitted through the expected format. If you believe this was a mistake, please reach out to the maintainers. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
Self-hosted Runners
Discussion Details
Request: let
runs-onname a preferred runner and a fallback, so a job runs on a self-hosted runner when one is free and on a GitHub-hosted (or third-party) runner otherwise.Today: every label in
runs-onmust match (AND). There is no way to list alternatives, and a queued job waits for that runner until it comes back or the job expires.Our workaround: a small job before the real one decides where to run and passes the label through
fromJSON(needs.pick.outputs.runs-on). It works, but it adds a job to every workflow, and the runner has to publish its own availability somewhere a workflow can read (we write a repository variable from the runner machine every minute).Proposal: something like
This would make it practical to put spare in-house machines in front of hosted runners without the risk of jobs stalling when the machine is busy or offline.
All reactions