Fix a bug with tryAddMessage being changed to async which causes messages to be dropped #6281
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
| name: APM Capabilities | |
| on: | |
| pull_request: | |
| push: | |
| branches: [master] | |
| schedule: | |
| - cron: 0 4 * * * | |
| workflow_dispatch: | |
| inputs: | |
| latest-version: | |
| description: 'Node version to use' | |
| required: false | |
| type: string | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ inputs.latest-version }}-${{ github.ref || github.run_id }}" | |
| cancel-in-progress: true | |
| env: | |
| MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/master' && '--retries 1' || '' }} | |
| LATEST_VERSION: ${{ inputs.latest-version }} | |
| jobs: | |
| tracing-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: ./.github/actions/node/latest | |
| - uses: ./.github/actions/install | |
| - run: yarn test:trace:core:ci | |
| - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| - uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0 | |
| if: always() | |
| with: | |
| api_key: ${{ secrets.DD_API_KEY }} | |
| service: dd-trace-js-tests | |
| tracing-ubuntu: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: ./.github/actions/node/oldest-maintenance-lts | |
| - uses: ./.github/actions/install | |
| - run: yarn test:trace:core:ci | |
| - uses: ./.github/actions/node/newest-maintenance-lts | |
| - run: yarn test:trace:core:ci | |
| - uses: ./.github/actions/node/active-lts | |
| - run: yarn test:trace:core:ci | |
| - uses: ./.github/actions/node/latest | |
| - run: yarn test:trace:core:ci | |
| - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| - uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0 | |
| if: always() | |
| with: | |
| api_key: ${{ secrets.DD_API_KEY }} | |
| service: dd-trace-js-tests | |
| tracing-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: ./.github/actions/node/latest | |
| - uses: ./.github/actions/install | |
| with: | |
| cache: 'true' | |
| - run: yarn test:trace:core:ci | |
| - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| - uses: DataDog/junit-upload-github-action@762867566348d59ac9bcf479ebb4ec040db8940a # v2.0.0 | |
| if: always() | |
| with: | |
| api_key: ${{ secrets.DD_API_KEY }} | |
| service: dd-trace-js-tests |