Skip to content

Commit 6df227c

Browse files
committed
Merge remote-tracking branch 'origin/main' into chore/di-ensure-signals-in-wrapping-context
2 parents 6007981 + 122caa6 commit 6df227c

File tree

1,492 files changed

+19116
-88269
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,492 files changed

+19116
-88269
lines changed

.github/COMMIT_TEMPLATE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ feat/fix/docs/refactor/ci(xxx): commit title here
2929
# mysqlpython, openai, opentelemetry, opentracer, profile, psycopg, pylibmc, pymemcache,
3030
# pymongo, pymysql, pynamodb, pyodbc, pyramid, pytest, redis, rediscluster, requests, rq,
3131
# sanic, snowflake, sourcecode, sqlalchemy, starlette, stdlib, structlog, subprocess,
32-
# telemetry, test_logging, tornado, tracer, unittest, urllib3, vendor, vertica, wsgi,
32+
# telemetry, test_logging, tornado, tracer, unittest, urllib3, valkey, vendor, vertica, wsgi,
3333
# yaaredis

.github/dependabot.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "monthly"
12+
groups:
13+
gh-actions-packages:
14+
patterns:
15+
- "*"

.github/workflows/backport.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
)
2525
)
2626
steps:
27-
- uses: tibdex/backport@v2
27+
- uses: tibdex/backport@9565281eda0731b1d20c4025c43339fb0a23812e # v2.0.4
2828
with:
2929
github_token: ${{ secrets.GITHUB_TOKEN }}
3030
body_template: "Backport <%= mergeCommitSha %> from #<%= number %> to <%= base %>.\n\n<%= body %>"

.github/workflows/build-and-publish-image.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@ jobs:
3030
contents: read
3131
packages: write
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434
with:
3535
persist-credentials: false
3636
- name: Set up QEMU
37-
uses: docker/setup-qemu-action@v2
37+
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0
3838
- name: Set up Docker Buildx
3939
id: buildx
40-
uses: docker/setup-buildx-action@v2
40+
uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0
4141
with:
4242
# Images after this version (>=v0.10) are incompatible with gcr and aws.
4343
version: v0.9.1 # https://github.com/docker/buildx/issues/1533
4444
- name: Login to Docker
4545
run: docker login -u publisher -p ${{ secrets.token }} ghcr.io
4646
- name: Docker Build
47-
uses: docker/build-push-action@v4
47+
uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4.2.1
4848
with:
4949
push: true
5050
tags: ${{ inputs.tags }}

.github/workflows/build_deploy.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
- build_deploy*
1212
- 'upgrade-latest-*'
1313
- 'mq-working-branch**'
14+
# TODO: Remove this after 3.x work is done
15+
- 3.x-staging
1416
pull_request:
1517
release:
1618
types:
@@ -25,27 +27,27 @@ jobs:
2527
build_wheels:
2628
uses: ./.github/workflows/build_python_3.yml
2729
with:
28-
cibw_build: 'cp37* cp38* cp39* cp310* cp311* cp312* cp313*'
30+
cibw_build: 'cp38* cp39* cp310* cp311* cp312* cp313*'
2931

3032
build_sdist:
3133
name: Build source distribution
3234
runs-on: ubuntu-latest
3335
steps:
34-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3537
# Include all history and tags
3638
with:
3739
persist-credentials: false
3840
fetch-depth: 0
39-
- uses: actions-rust-lang/setup-rust-toolchain@v1
40-
- uses: actions/setup-python@v5
41+
- uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 # v1.10.1
42+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
4143
name: Install Python
4244
with:
4345
python-version: '3.12'
4446
- name: Build sdist
4547
run: |
4648
pip install "setuptools_scm[toml]>=4" "cython" "cmake>=3.24.2,<3.28" "setuptools-rust"
4749
python setup.py sdist
48-
- uses: actions/upload-artifact@v4
50+
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
4951
with:
5052
name: source-dist
5153
path: dist/*.tar.gz
@@ -58,10 +60,10 @@ jobs:
5860
container:
5961
image: python:3.9-alpine
6062
steps:
61-
- uses: actions/checkout@v4
63+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6264
with:
6365
persist-credentials: false
64-
- uses: actions/download-artifact@v4
66+
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
6567
with:
6668
name: source-dist
6769
path: dist

.github/workflows/build_python_3.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
outputs:
2020
include: ${{steps.set-matrix.outputs.include}}
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
with:
2424
persist-credentials: false
25-
- uses: actions/setup-python@v5
25+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2626
with:
2727
python-version: '3.8'
2828
- run: pip install cibuildwheel==2.22.0
@@ -47,17 +47,18 @@ jobs:
4747
runs-on: ${{ matrix.os }}
4848
name: Build ${{ matrix.only }}
4949
strategy:
50+
fail-fast: false
5051
matrix:
5152
include: ${{ fromJson(needs.build-wheels-matrix.outputs.include) }}
5253

5354
steps:
54-
- uses: actions/checkout@v4
55+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5556
# Include all history and tags
5657
with:
5758
persist-credentials: false
5859
fetch-depth: 0
5960

60-
- uses: actions/setup-python@v5
61+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
6162
if: matrix.os != 'arm-4core-linux'
6263
name: Install Python
6364
with:
@@ -78,7 +79,7 @@ jobs:
7879
7980
- name: Set up QEMU
8081
if: runner.os == 'Linux' && matrix.os != 'arm-4core-linux'
81-
uses: docker/setup-qemu-action@v2
82+
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0
8283
with:
8384
platforms: all
8485

@@ -119,7 +120,7 @@ jobs:
119120

120121
- name: Build wheels
121122
if: always() && matrix.os != 'arm-4core-linux'
122-
uses: pypa/[email protected]
123+
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
123124
with:
124125
only: ${{ matrix.only }}
125126
env:
@@ -165,7 +166,7 @@ jobs:
165166
run: |
166167
chcp 65001 #set code page to utf-8
167168
echo "ARTIFACT_NAME=${{ matrix.only }}" >> $env:GITHUB_ENV
168-
- uses: actions/upload-artifact@v4
169+
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
169170
with:
170171
name: wheels-${{ env.ARTIFACT_NAME }}
171172
path: ./wheelhouse/*.whl

.github/workflows/changelog.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Validate changelog
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616
# Include all history and tags
1717
with:
1818
persist-credentials: false
@@ -26,7 +26,7 @@ jobs:
2626
if: github.event_name == 'pull_request'
2727
run: scripts/check-releasenotes
2828

29-
- uses: actions/setup-python@v5
29+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
3030
name: Install Python
3131
with:
3232
python-version: '3.8'
@@ -43,7 +43,7 @@ jobs:
4343
rst2html.py CHANGELOG.rst CHANGELOG.html
4444
4545
- name: Upload CHANGELOG.rst
46-
uses: actions/upload-artifact@v4
46+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
4747
with:
4848
name: changelog
4949
path: |

.github/workflows/check_old_target_branch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
2727
- name: Old branch warning on PR
2828
if: env.old_branch == 'true'
29-
uses: thollander/actions-comment-pull-request@v2
29+
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
3030
with:
3131
message: |
3232
🚫 **This target branch is too old or unsupported. Please update the target branch to continue.**

.github/workflows/check_safe_main_merge.yml

-27
This file was deleted.

.github/workflows/codeowners.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
permissions:
1111
pull-requests: write
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414
with:
1515
persist-credentials: false
1616
fetch-depth: 0
1717
- name: Get changed files
1818
id: changed-files
19-
uses: tj-actions/changed-files@v44
19+
uses: tj-actions/changed-files@c65cd883420fd2eb864698a825fc4162dd94482c # v44.5.7
2020
- name: Setup go
21-
uses: actions/setup-go@v5
21+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
2222
- name: Install codeowners
2323
run: go install github.com/hmarr/codeowners/cmd/codeowners@latest
2424
- name: List owners of all changed files
@@ -29,7 +29,7 @@ jobs:
2929
echo "$(codeowners ${{ steps.changed-files.outputs.all_changed_files }})" >> "$GITHUB_OUTPUT"
3030
echo "EOF" >> "$GITHUB_OUTPUT"
3131
- name: Comment PR
32-
uses: thollander/actions-comment-pull-request@v2
32+
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
3333
with:
3434
filePath: resolved.txt
3535
comment_tag: codeowners_resolved

.github/workflows/codeql-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626

2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3030
with:
3131
persist-credentials: false
3232

3333
# Initializes the CodeQL tools for scanning.
3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@v2
35+
uses: github/codeql-action/init@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2.28.1
3636
with:
3737
languages: ${{ matrix.language }}
3838
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -42,7 +42,7 @@ jobs:
4242
config-file: .github/codeql-config.yml
4343

4444
- name: Autobuild
45-
uses: github/codeql-action/autobuild@v2
45+
uses: github/codeql-action/autobuild@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2.28.1
4646

4747
- name: Perform CodeQL Analysis
48-
uses: github/codeql-action/analyze@v2
48+
uses: github/codeql-action/analyze@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2.28.1

.github/workflows/django-overhead-profile.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
run:
3232
working-directory: ddtrace
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3535
with:
3636
persist-credentials: false
3737
path: ddtrace
3838

39-
- uses: actions/setup-python@v5
39+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
4040
with:
4141
python-version: "3.10"
4242

@@ -48,7 +48,7 @@ jobs:
4848
run: |
4949
bash scripts/profiles/django-simple/run.sh ${PREFIX}
5050
51-
- uses: actions/upload-artifact@v4
51+
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
5252
with:
5353
name: django-overhead-profile${{ matrix.suffix }}
5454
path: ${{ github.workspace }}/prefix/artifacts

.github/workflows/encoders-profile.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
run:
2020
working-directory: ddtrace
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
with:
2424
persist-credentials: false
2525
path: ddtrace
2626

27-
- uses: actions/setup-python@v5
27+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2828
with:
2929
python-version: "3.10"
3030

@@ -40,7 +40,7 @@ jobs:
4040
sed -i 's|${{ github.workspace }}/ddtrace/||g' ${PREFIX}/artifacts/$a
4141
done
4242
43-
- uses: actions/upload-artifact@v4
43+
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
4444
with:
4545
name: encoders-profile
4646
path: ${{ github.workspace }}/prefix/artifacts

.github/workflows/flask-overhead-profile.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
run:
2020
working-directory: ddtrace
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
with:
2424
persist-credentials: false
2525
path: ddtrace
2626

27-
- uses: actions/setup-python@v5
27+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2828
with:
2929
python-version: "3.10"
3030

@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
bash scripts/profiles/flask-simple/run.sh ${PREFIX}
3838
39-
- uses: actions/upload-artifact@v4
39+
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
4040
with:
4141
name: flask-overhead-profile
4242
path: ${{ github.workspace }}/prefix/artifacts

0 commit comments

Comments
 (0)