From b81e0597d2d38ceb4450ba9cc4c0acf7bacc7341 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Tue, 24 Nov 2026 19:23:48 -0800 Subject: [PATCH] ci: run the spec trace check on a GitHub-hosted runner The check runs no PR code and needs no project host, but it queued behind the self-hosted test jobs; every PR's merge waited on that queue. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/.github/workflows/spec-trace.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/seaweed-block/.github/workflows/spec-trace.yml b/seaweed-block/.github/workflows/spec-trace.yml index 7bd9bdaa40..25834070ec 100644 --- a/seaweed-block/.github/workflows/spec-trace.yml +++ b/seaweed-block/.github/workflows/spec-trace.yml @@ -22,10 +22,9 @@ concurrency: jobs: trace: name: spec trace - # 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' }} + # A GitHub-hosted runner: this check runs no PR code and needs no project + # host, so it does not queue behind the self-hosted test jobs. + runs-on: ubuntu-latest timeout-minutes: 5 steps: - name: Checkout base @@ -37,6 +36,12 @@ jobs: fetch-depth: 0 persist-credentials: false + - name: Set up Go + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 + with: + go-version-file: go.mod + cache: false + - name: Check spec trace env: BASE: ${{ github.event.pull_request.base.sha }}