Skip to content

Conversation

@prop-opentensor
Copy link
Contributor

@prop-opentensor prop-opentensor commented Jul 30, 2025

Description

Updates workflow files to use ephemeral self-hosted runners. Standby runners of each used instance type are available. If no standby runner is available, a new runner is provisioned. Each job uses a separate runner, after which it is re-imaged. Runners are put in recycle mode for up to an hour, which means that if extra runners were spun up during a period of high activity, they will serve as standby runners for the remainder of their billed hour.

In the event of capacity issues that prevent further scaling, only the standby runners will be available. Jobs will queue until they are finished and re-provisioned to pick up the next one.

Related Issue(s)

x

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Other (please describe):

Breaking Change

Most workflows have been tested and adapted already where possible in local testing, but some issues may arise. Github hosted runners have a lot of dependencies pre-installed, while these runners use a base Ubuntu 24.04 installation with only Docker added. No assumptions can be made about pre-existing dependencies, and jobs need to install them.

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have run cargo fmt and cargo clippy to ensure my code is formatted and linted correctly
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Screenshots (if applicable)

Please include any relevant screenshots or GIFs that demonstrate the changes made.

Additional Notes

Please provide any additional information or context that may be helpful for reviewers.

@prop-opentensor prop-opentensor requested a review from sam0x17 August 1, 2025 01:59
@prop-opentensor prop-opentensor marked this pull request as ready for review August 1, 2025 01:59
@sam0x17 sam0x17 added the skip-cargo-audit This PR fails cargo audit but needs to be merged anyway label Aug 1, 2025
@sam0x17
Copy link
Contributor

sam0x17 commented Aug 1, 2025

looks like 2 little tests failing related to the weight changes

@l0r1s l0r1s self-requested a review August 8, 2025 01:51
l0r1s
l0r1s previously approved these changes Aug 8, 2025
JohnReedV
JohnReedV previously approved these changes Aug 8, 2025
@l0r1s l0r1s merged commit 4bbf984 into devnet-ready Aug 11, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-cargo-audit This PR fails cargo audit but needs to be merged anyway

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants