From 9b1d721458802182ebd15adf1fbbf5a65a7bbf1c Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Tue, 27 Jan 2026 00:25:14 +0300 Subject: [PATCH] perf: switch to GitHub-hosted 16-core runners for faster CI Changed from self-hosted (ubuntu-large) to GitHub-hosted larger runners (ubuntu-latest-16-cores) for all main CI jobs. Cost: $0.042/min = $2.52/hour Expected speedup: 5-10x faster builds (dedicated 16 cores vs shared VPS) --- .github/workflows/reusable-preflight.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/reusable-preflight.yml b/.github/workflows/reusable-preflight.yml index 054d5194..40f8cafd 100644 --- a/.github/workflows/reusable-preflight.yml +++ b/.github/workflows/reusable-preflight.yml @@ -157,17 +157,18 @@ jobs: id: set_runner shell: bash run: | - # Use self-hosted runners with ubuntu-large label - # Both ubuntu-large and ubuntu-xlarge runners have this label - echo "RUNNER_DEFAULT=ubuntu-large" >> $GITHUB_OUTPUT - echo "RUNNER_WEIGHTS=ubuntu-large" >> $GITHUB_OUTPUT - echo "RUNNER_BENCHMARK=ubuntu-large" >> $GITHUB_OUTPUT + # Use GitHub-hosted larger runners (16-core) for faster CI + # Cost: $0.042/min = $2.52/hour + # Fallback to self-hosted for specific jobs if needed + echo "RUNNER_DEFAULT=ubuntu-latest-16-cores" >> $GITHUB_OUTPUT + echo "RUNNER_WEIGHTS=ubuntu-latest-16-cores" >> $GITHUB_OUTPUT + echo "RUNNER_BENCHMARK=ubuntu-latest-16-cores" >> $GITHUB_OUTPUT echo "RUNNER_MACOS=macos-latest" >> $GITHUB_OUTPUT - # All runners use ubuntu-large label for Pezkuwi SDK - echo "RUNNER=ubuntu-large" >> $GITHUB_OUTPUT - echo "RUNNER_OLDLINUX=ubuntu-large" >> $GITHUB_OUTPUT - echo "RUNNER_NEW=ubuntu-large" >> $GITHUB_OUTPUT - echo "RUNNER_OLDLINUX_NEW=ubuntu-large" >> $GITHUB_OUTPUT + # Main runners - GitHub hosted 16-core + echo "RUNNER=ubuntu-latest-16-cores" >> $GITHUB_OUTPUT + echo "RUNNER_OLDLINUX=ubuntu-latest-16-cores" >> $GITHUB_OUTPUT + echo "RUNNER_NEW=ubuntu-latest-16-cores" >> $GITHUB_OUTPUT + echo "RUNNER_OLDLINUX_NEW=ubuntu-latest-16-cores" >> $GITHUB_OUTPUT # # Set vars