Skip to content

Conversation

@delan
Copy link
Member

@delan delan commented Dec 4, 2025

this patch builds on #92, adding some supporting features to runner-select that will allow us to eliminate the “generate chunks” job in our WPT workflow:

  • the new input github-hosted-runner-count (default 1) and the new output selected-runner-count allow the action to switch between two different runner counts for GitHub-hosted and self-hosted cases
  • the new input first-runner-index (default 0) and the new output selected-runner-indices allow the action to generate a JSON array of runner indices or chunk ids as required by the WPT runner

if we landed #92 only, the WPT workflow would still need to run a job to generate chunk ids between runner-select and the workload (it would needs runner-select, and the workload would needs both). this is dangerous because that job may get delayed due to lack of GitHub-hosted runner capacity. if it gets delayed, the reservation may time out, and the workflow run will get stuck waiting forever for runners that will never come back.

test runs: #21 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants