From aaef4cf5d6d3065224d4cc33595463ad34a221c1 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 28 Nov 2026 22:38:42 -0800 Subject: [PATCH] ci: run pull-request tests on GitHub-hosted runners Pull requests queued for over an hour behind three self-hosted runners while GitHub-hosted runners, free for this public repository and already used for fork PRs, start within about a minute and run many jobs in parallel. Pushes to main keep the self-hosted tp04 runner. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/.github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/seaweed-block/.github/workflows/test.yml b/seaweed-block/.github/workflows/test.yml index 2a0ed7e53b..d0d4b62893 100644 --- a/seaweed-block/.github/workflows/test.yml +++ b/seaweed-block/.github/workflows/test.yml @@ -33,10 +33,10 @@ jobs: # The suite writes heavily to the runner disk (real files, fsync), so a # Draft PR skips it; its author tests locally until the PR is ready. if: github.event_name == 'push' || !github.event.pull_request.draft - # Pushes and same-repo PRs run on the team's tp04 runner (seaweed.slice, - # capped at 8 cores / 8 GiB). Fork PRs never reach it: they stay on a - # GitHub-hosted runner. - runs-on: ${{ (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && 'tp04-seaweed-block' || 'ubuntu-latest' }} + # Pull requests run on GitHub-hosted runners (free for this public repo, many + # jobs in parallel); pushes to main keep the team's tp04 runner (seaweed.slice, + # capped at 8 cores / 8 GiB) as the self-hosted signal. + runs-on: ${{ github.event_name == 'push' && 'tp04-seaweed-block' || 'ubuntu-latest' }} # process: 44 tests in 4 parallel shards of about 13 min each (55 min in sequence). timeout-minutes: ${{ matrix.suite == 'unit' && 40 || 90 }} env: