From 8a3be5673f76d800479045243e7a01d148598e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Tue, 17 Nov 2026 22:05:47 +0100 Subject: [PATCH] ci(coverage): put the runner-size measurement in a dispatch lane The Coverage job's wall time is set by how many workers its machine affords, and that is a configuration question: the same gate on 8, 16 and 32 vCPU answers it. Runs the gate on all three and reads the wall time from the Actions API's per-step timings, so nothing in the tested tree changes to observe it. Dispatch-only: a lane that starts on another PR's push would mark that PR red for a probe leg, and an unfiltered pull_request lane also makes every path reachable to every gate, which the gate-manifest audit rejects. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/coverage-probe.yml | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/coverage-probe.yml diff --git a/.github/workflows/coverage-probe.yml b/.github/workflows/coverage-probe.yml new file mode 100644 index 0000000000..6bcca350b2 --- /dev/null +++ b/.github/workflows/coverage-probe.yml @@ -0,0 +1,42 @@ +name: Coverage Probe + +# TEMPORARY measurement lane for the Coverage job's wall time. Read the numbers from the Actions +# API's per-step timings; nothing here uploads them. This lane is an experiment vehicle: it must not +# reach main, and it is dispatch-only so no other PR's push can start it or be marked red by it. + +on: + workflow_dispatch: + +permissions: + contents: read + +jobs: + probe: + name: Probe ${{ matrix.id }} + runs-on: ${{ matrix.runs-on }} + timeout-minutes: 40 + strategy: + fail-fast: false + matrix: + include: + - id: x64-8 + runs-on: blacksmith-8vcpu-ubuntu-2404 + - id: x64-16 + runs-on: blacksmith-16vcpu-ubuntu-2404 + - id: x64-32 + runs-on: blacksmith-32vcpu-ubuntu-2404 + env: + # A loopback-dependent test fails here instead of skipping when bind is denied, as in CI. + AGENT_DEVICE_REQUIRE_LOOPBACK_TESTS: '1' + steps: + - name: Checkout + uses: useblacksmith/checkout@2b9fe87d796feea153b455ec2f3125b471a7b0e7 # v1.8.2 + with: + fetch-depth: 0 + + - name: Setup toolchain + uses: ./.github/actions/setup-node-pnpm + + - name: Run coverage + uses: ./.github/actions/run-gate + with: { gate: unit-ci }