name: "🏃 Test: Runner smoke" run-name: "🏃 Test: Runner smoke (self-hosted)" on: workflow_dispatch: inputs: ref: description: "🔀 Git ref to check out; empty takes the repo default branch." required: false default: "" type: string workflow_call: inputs: ref: description: "Git ref to check out (branch, tag, or SHA). Defaults to the repo default branch." required: false default: "" type: string permissions: contents: read packages: read jobs: smoke: name: 🏃 Runner pickup + DooD runs-on: [self-hosted, linux] timeout-minutes: 345 steps: - name: 🔧 Fix workspace ownership shell: bash run: sudo chown -R "$(id -u):$(id -g)" "$GITHUB_WORKSPACE" 2>/dev/null || true - uses: actions/checkout@v7.0.0 with: ref: ${{ inputs.ref || github.sha }} - name: ✅ Verify runner pickup + Docker (DooD) access shell: bash run: | set -euo pipefail echo ">>> Job picked up on self-hosted runner: $(hostname)" docker version docker info >/dev/null docker run --rm hello-world - name: 🔍 Dump runner state (on failure) if: failure() || cancelled() shell: bash run: ./scripts/github/runner/dump_state.sh "runner-smoke failure"