Add retry dropped item metrics and an exhausted retry error marker for exporter helper retries #24612
Workflow file for this run
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # This GitHub action is used to compare API state snapshots of Main | |
| # to Head of the PR in order to validate releases are not breaking | |
| # backwards compatibility. | |
| # | |
| # This GitHub action will fail if there are incompatible changes. | |
| # | |
| name: "Inform Incompatible PRs" | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: read-all | |
| jobs: | |
| Check-Compatibility: | |
| runs-on: ubuntu-latest | |
| env: | |
| BASE_REF: ${{ github.base_ref }} | |
| HEAD_REF: ${{ github.head_ref }} | |
| steps: | |
| - name: Checkout-Main | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| ref: ${{ github.base_ref }} | |
| path: ${{ github.base_ref }} | |
| - name: Checkout-HEAD | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| path: ${{ github.head_ref }} | |
| - name: Setup Go | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version: oldstable | |
| cache: false | |
| - name: Cache Go | |
| id: go-cache | |
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 | |
| with: | |
| path: | | |
| ~/go/bin | |
| ~/go/pkg/mod | |
| key: go-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/go.sum') }} | |
| # Generate apidiff states of Main | |
| - name: Generate-States | |
| run: | | |
| cd $BASE_REF | |
| make apidiff-build | |
| # Compare apidiff states of Main with PR | |
| - name: Compare-States | |
| env: | |
| CI: true | |
| COMPARE_OPTS: -d "../${{ github.base_ref }}/internal/data/apidiff" | |
| run: | | |
| cd $HEAD_REF | |
| make apidiff-compare | |
| # Fail GitHub Action if there are incompatible changes | |
| - name: Check-States | |
| env: | |
| CI: true | |
| COMPARE_OPTS: -d "../${{ github.base_ref }}/internal/data/apidiff" -c | |
| run: | | |
| cd $HEAD_REF | |
| make apidiff-compare |