From 599caf1354566ffc4901ee94ccff125def14f2c2 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Tue, 24 Nov 2026 20:55:27 -0800 Subject: [PATCH] ci: run the spec trace check on the project's runner again (revert #576) GitHub-hosted jobs for this repository wait in a shared queue: since 04:21Z every spec trace job sat queued on ubuntu-latest with no runner, so no pull request could pass its checks. The workflow's own comment had said so (the hosted queue can wait for hours). Co-Authored-By: Claude Opus 5.5 --- seaweed-block/.github/workflows/spec-trace.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/seaweed-block/.github/workflows/spec-trace.yml b/seaweed-block/.github/workflows/spec-trace.yml index 25834070ec..7bd9bdaa40 100644 --- a/seaweed-block/.github/workflows/spec-trace.yml +++ b/seaweed-block/.github/workflows/spec-trace.yml @@ -22,9 +22,10 @@ concurrency: jobs: trace: name: spec trace - # 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 + # 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 @@ -36,12 +37,6 @@ 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 }}