fix(tracing): avoid raising index errors on partial flushes (#15409) #67951
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: django-overhead-profile | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'mq-working-branch**' | |
| pull_request: | |
| paths: | |
| - 'ddtrace/**' | |
| - 'scripts/profiles/django-simple/**' | |
| - '.github/workflows/django-overhead-profile.yml' | |
| jobs: | |
| django-overhead-profile: | |
| runs-on: ubuntu-latest | |
| env: | |
| PREFIX: ${{ github.workspace }}/prefix | |
| DD_CODE_ORIGIN_FOR_SPANS_ENABLED: "1" | |
| DD_PROFILING_ENABLED: "1" | |
| DD_PROFILING_OUTPUT_PPROF: ${{ github.workspace }}/prefix/artifacts/ddtrace_profile | |
| DD_EXCEPTION_REPLAY_ENABLED: "1" | |
| defaults: | |
| run: | |
| working-directory: ddtrace | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| persist-credentials: false | |
| path: ddtrace | |
| - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
| with: | |
| python-version: "3.10" | |
| - name: Setup | |
| run: | | |
| bash scripts/profiles/django-simple/setup.sh ${PREFIX} | |
| - name: Run | |
| run: | | |
| bash scripts/profiles/django-simple/run.sh ${PREFIX} | |
| - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: django-overhead-profile | |
| path: ${{ github.workspace }}/prefix/artifacts |