From 8e3e8d1bcbf539978d8987f732a6922a4ff08fc2 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 20 Nov 2026 22:41:48 -0800 Subject: [PATCH] ci: spec-trace runs on the self-hosted runners for same-repository PRs GitHub-hosted jobs in this org can queue for a long time; the test workflow already sends same-repository PRs to the self-hosted runners and forks to a hosted one. The spec-trace job does the same. It runs no PR code on either. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/.github/workflows/spec-trace.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/seaweed-block/.github/workflows/spec-trace.yml b/seaweed-block/.github/workflows/spec-trace.yml index 526542caaa..d16c1e6978 100644 --- a/seaweed-block/.github/workflows/spec-trace.yml +++ b/seaweed-block/.github/workflows/spec-trace.yml @@ -22,7 +22,10 @@ concurrency: jobs: trace: name: spec trace - runs-on: ubuntu-latest + # Same-repository PRs use the project's self-hosted runners, as the test + # workflow does; fork PRs stay on a GitHub-hosted runner, whose shared queue + # can wait for hours. No PR code runs here either way. + runs-on: ${{ github.event.pull_request.head.repo.full_name == github.repository && 'tp04-seaweed-block' || 'ubuntu-latest' }} timeout-minutes: 5 steps: - name: Checkout base