From fbe82fc4d35bc7c995ed747d8f26ea6805169dd4 Mon Sep 17 00:00:00 2001 From: matdev83 Date: Fri, 4 Sep 2026 08:19:21 +0200 Subject: [PATCH] ci: add pre-OSS exact race gate --- .../workflows/pre-oss-core-slimming-race.yml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/pre-oss-core-slimming-race.yml diff --git a/.github/workflows/pre-oss-core-slimming-race.yml b/.github/workflows/pre-oss-core-slimming-race.yml new file mode 100644 index 00000000..a7da95cd --- /dev/null +++ b/.github/workflows/pre-oss-core-slimming-race.yml @@ -0,0 +1,34 @@ +name: Pre-OSS core slimming race + +on: + workflow_dispatch: + inputs: + ref: + description: "Branch, tag, or commit SHA to test" + required: false + default: "" + type: string + +permissions: + contents: read + +jobs: + exact-race: + runs-on: ubuntu-latest + timeout-minutes: 45 + steps: + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 + with: + ref: ${{ inputs.ref || github.sha }} + persist-credentials: false + fetch-depth: 0 + + - name: Setup Go + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7 + with: + go-version-file: go.mod + cache: true + + - name: Exact Linux race gate + run: go test -count=1 -race ./internal/infra/compactiondetect ./internal/core/runtime ./internal/core/extensions ./internal/infra/runtimebundle ./internal/plugins/features/secretguard/...