Skip to content
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

Smart estimation for Github hosted runners #19

Open
jhowlett-scottlogic opened this issue Nov 10, 2023 · 0 comments
Open

Smart estimation for Github hosted runners #19

jhowlett-scottlogic opened this issue Nov 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jhowlett-scottlogic
Copy link
Owner

jhowlett-scottlogic commented Nov 10, 2023

Github hosted runners do not currnetly give their exact location. Github uses the following azure regions (https://github.com/orgs/community/discussions/24969):

East US (eastus)
East US 2 (eastus2)
West US 2 (westus2)
Central US (centralus)
South Central US (southcentralus)

can we estiamte the most likely best time?

ideas:

  1. sum up each region's forecasted carbon intensity for each timestamp, select lowest total (my current favourite)
  2. look at optimalDataPoints array for each region and select highest count, they could all be 1 if all arre different though

Open to ideas here on what could be the best method

Once this is completed we can then add a new input inot the action that is a boolean for github hosted, if true use this new method and will ignore the existing regions input, false use exisiting method

required completion of #17 first

@jhowlett-scottlogic jhowlett-scottlogic added the enhancement New feature or request label Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant