Skip to content

make copilot setup run on 8 cores not 2 #116169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2025
Merged

make copilot setup run on 8 cores not 2 #116169

merged 1 commit into from
May 31, 2025

Conversation

danmoseley
Copy link
Member

I created this runner group at the org level locked down to main (and test branch) in this repo. (You have to lock to ref(s))

I verified the test runner is found and used when I kick the action manually against this PR branch:
https://github.com/dotnet/runtime/actions/workflows/copilot-setup-steps.yml
It cuts down the setup time from 26 min to 17 min. (We could add more cores too)

Now putting it in main, the question is, will copilot use it, as it creates its own PR branch which it builds (not main). I guess if we merge this, we will find out.

@danmoseley danmoseley requested review from jeffhandley and a team as code owners May 31, 2025 02:44
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 31, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Copilot setup workflow to use a higher-capacity runner, reducing setup time.

  • Swaps the default ubuntu-latest runner for a custom 8-core-ubuntu-latest runner.
  • Verifies test builds and reduces setup duration from 26 min to 17 min.

@danmoseley danmoseley added area-Infrastructure and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels May 31, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@danmoseley
Copy link
Member Author

/ba-g not in build

@danmoseley danmoseley enabled auto-merge (squash) May 31, 2025 14:06
@danmoseley danmoseley merged commit a01d6d6 into main May 31, 2025
17 of 18 checks passed
@danmoseley danmoseley deleted the testcopilotrunner branch May 31, 2025 14:06
@danmoseley
Copy link
Member Author

my concern may have been correct -- a test copilot run appears to be unable to get a runner. If that's the case, this will need reverting,

image
https://github.com/dotnet/runtime/actions/runs/15364765649/job/43236234317

@Chuxel any guidance here, do you believe it ought to be possible to use better runners for hte setup steps?

@danmoseley
Copy link
Member Author

following up on the above, was resolved by removing the branch-locking of the runner group. its still locked to this repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants