# Copyright (c) 2026 The Jaeger Authors. # SPDX-License-Identifier: Apache-2.0 # E2E integration tests for the tail-based sampling processor, verifying # that sampling decisions are applied correctly after collecting full traces. name: Test Tail Sampling Processor on: workflow_call: # See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions permissions: # added using https://github.com/step-security/secure-workflows contents: read jobs: tailsampling-processor: runs-on: ubuntu-latest steps: - name: Harden Runner uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - uses: ./.github/actions/setup-go with: go-version: 1.26.x - name: Run Tail Sampling Processor Integration Test run: | make tail-sampling-integration-test - name: Upload coverage to codecov uses: ./.github/actions/upload-codecov with: files: cover.out flag: tailsampling-processor