Repository navigation
Use Namespace runners for Windows - #27101
Conversation
|
2401cac to
c0fd89e
Compare
| windows: | ||
| if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-build') }} | ||
| runs-on: windows-latest | ||
| runs-on: ${{ github.repository == 'astral-sh/ruff' && 'namespace-profile-windows-2022-x86-64-16x32' || 'windows-latest' }} |
There was a problem hiding this comment.
if queue times are likely to be an issue for namespace runners, I'd be inclined to leave this as-is. I don't find that the time it takes for Windows runners to complete the build-binaries job generally slows down my work at all; this CI job isn't run on most PRs
There was a problem hiding this comment.
It's >2x faster, even with the queue time increase
There was a problem hiding this comment.
To be clear I was worried about unnecessarily increasing the queue times for other jobs, since I think it's IMO wholly unimportant for this particular job to be fast
There was a problem hiding this comment.
Oh, the queue times are not about capacity, they're about machine start time.
There was a problem hiding this comment.
I hope we can just have sufficient capacity, we want to use it as broadly as possible to inform our capacity request.
There was a problem hiding this comment.
Oh okay, fair enough! I guess I assumed that capacity would have an impact since it always did with Depot/GitHub; cool that it doesn't!
This continues expanding use of Namespace runners as we assess their viability for our projects.
They appear to provide significant performance benefits over the Depot runners at the same size.
It's worth noting they do not use a warm pool and the queue times consequently include machine boot and are expected to be higher than Depot on average.
Follows #27097 and astral-sh/uv#19751
Move Ruff's Windows test and binary-build jobs to the
namespace-profile-windows-2022-x86-64-16x32runner already used by uv.At the configured runner sizes, five sequential warm Namespace samples were compared with 20 recent Depot Windows test runs and the ten most recent production releases on
windows-latest.Runner queue time is separate from execution:
The Namespace profile provides 16 vCPU and 32 GB RAM, matching Depot.