Skip to content

Commit ee64817

Browse files
Merge branch 'master' into webb/concurrent-integration-scopes-only
2 parents e3dd4c5 + 3a43dc9 commit ee64817

File tree

75 files changed

+1832
-1457
lines changed

Some content is hidden

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

75 files changed

+1832
-1457
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
<!-- Describe your PR here -->
1+
### Description
2+
<!-- What changed and why? -->
23

3-
---
4+
#### Issues
5+
<!--
6+
* resolves: #1234
7+
* resolves: LIN-1234
8+
-->
49

5-
Thank you for contributing to `sentry-python`! Please add tests to validate your changes, and lint your code using `tox -e linters`.
6-
7-
Running the test suite on your PR might require maintainer approval.
10+
#### Reminders
11+
- Please add tests to validate your changes, and lint your code using `tox -e linters`.
12+
- Add GH Issue ID _&_ Linear ID (if applicable)
13+
- PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`)
14+
- For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040

4141
steps:
4242
- uses: actions/[email protected]
43+
with:
44+
ref: ${{ github.event.pull_request.head.sha }}
45+
fetch-depth: 0
4346
- uses: actions/setup-python@v6
4447
with:
4548
python-version: 3.12

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- name: Get auth token
2222
id: token
23-
uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
23+
uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
2424
with:
2525
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2626
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}

.github/workflows/test-integrations-ai.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ env:
2222
CACHED_BUILD_PATHS: |
2323
${{ github.workspace }}/dist-serverless
2424
jobs:
25-
test-ai-pinned:
26-
name: AI (pinned)
25+
test-ai:
26+
name: AI
2727
timeout-minutes: 30
2828
runs-on: ${{ matrix.os }}
2929
strategy:
@@ -50,42 +50,42 @@ jobs:
5050
- name: Erase coverage
5151
run: |
5252
coverage erase
53-
- name: Test anthropic pinned
53+
- name: Test anthropic
5454
run: |
5555
set -x # print commands that are executed
56-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-anthropic"
57-
- name: Test cohere pinned
56+
./scripts/runtox.sh "py${{ matrix.python-version }}-anthropic"
57+
- name: Test cohere
5858
run: |
5959
set -x # print commands that are executed
60-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-cohere"
61-
- name: Test langchain-base pinned
60+
./scripts/runtox.sh "py${{ matrix.python-version }}-cohere"
61+
- name: Test langchain-base
6262
run: |
6363
set -x # print commands that are executed
64-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-langchain-base"
65-
- name: Test langchain-notiktoken pinned
64+
./scripts/runtox.sh "py${{ matrix.python-version }}-langchain-base"
65+
- name: Test langchain-notiktoken
6666
run: |
6767
set -x # print commands that are executed
68-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-langchain-notiktoken"
69-
- name: Test openai-base pinned
68+
./scripts/runtox.sh "py${{ matrix.python-version }}-langchain-notiktoken"
69+
- name: Test openai-base
7070
run: |
7171
set -x # print commands that are executed
72-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-openai-base"
73-
- name: Test openai-notiktoken pinned
72+
./scripts/runtox.sh "py${{ matrix.python-version }}-openai-base"
73+
- name: Test openai-notiktoken
7474
run: |
7575
set -x # print commands that are executed
76-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-openai-notiktoken"
77-
- name: Test langgraph pinned
76+
./scripts/runtox.sh "py${{ matrix.python-version }}-openai-notiktoken"
77+
- name: Test langgraph
7878
run: |
7979
set -x # print commands that are executed
80-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-langgraph"
81-
- name: Test openai_agents pinned
80+
./scripts/runtox.sh "py${{ matrix.python-version }}-langgraph"
81+
- name: Test openai_agents
8282
run: |
8383
set -x # print commands that are executed
84-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-openai_agents"
85-
- name: Test huggingface_hub pinned
84+
./scripts/runtox.sh "py${{ matrix.python-version }}-openai_agents"
85+
- name: Test huggingface_hub
8686
run: |
8787
set -x # print commands that are executed
88-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-huggingface_hub"
88+
./scripts/runtox.sh "py${{ matrix.python-version }}-huggingface_hub"
8989
- name: Generate coverage XML (Python 3.6)
9090
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
9191
run: |
@@ -114,13 +114,13 @@ jobs:
114114
files: .junitxml
115115
verbose: true
116116
check_required_tests:
117-
name: All pinned AI tests passed
118-
needs: test-ai-pinned
117+
name: All AI tests passed
118+
needs: test-ai
119119
# Always run this, even if a dependent job failed
120120
if: always()
121121
runs-on: ubuntu-22.04
122122
steps:
123123
- name: Check for failures
124-
if: needs.test-ai-pinned.result != 'success'
124+
if: needs.test-ai.result != 'success'
125125
run: |
126126
echo "One of the dependent jobs has failed. You may need to re-run it." && exit 1

.github/workflows/test-integrations-cloud.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ env:
2222
CACHED_BUILD_PATHS: |
2323
${{ github.workspace }}/dist-serverless
2424
jobs:
25-
test-cloud-pinned:
26-
name: Cloud (pinned)
25+
test-cloud:
26+
name: Cloud
2727
timeout-minutes: 30
2828
runs-on: ${{ matrix.os }}
2929
strategy:
@@ -54,26 +54,26 @@ jobs:
5454
- name: Erase coverage
5555
run: |
5656
coverage erase
57-
- name: Test aws_lambda pinned
57+
- name: Test aws_lambda
5858
run: |
5959
set -x # print commands that are executed
60-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-aws_lambda"
61-
- name: Test boto3 pinned
60+
./scripts/runtox.sh "py${{ matrix.python-version }}-aws_lambda"
61+
- name: Test boto3
6262
run: |
6363
set -x # print commands that are executed
64-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-boto3"
65-
- name: Test chalice pinned
64+
./scripts/runtox.sh "py${{ matrix.python-version }}-boto3"
65+
- name: Test chalice
6666
run: |
6767
set -x # print commands that are executed
68-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-chalice"
69-
- name: Test cloud_resource_context pinned
68+
./scripts/runtox.sh "py${{ matrix.python-version }}-chalice"
69+
- name: Test cloud_resource_context
7070
run: |
7171
set -x # print commands that are executed
72-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-cloud_resource_context"
73-
- name: Test gcp pinned
72+
./scripts/runtox.sh "py${{ matrix.python-version }}-cloud_resource_context"
73+
- name: Test gcp
7474
run: |
7575
set -x # print commands that are executed
76-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-gcp"
76+
./scripts/runtox.sh "py${{ matrix.python-version }}-gcp"
7777
- name: Generate coverage XML (Python 3.6)
7878
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
7979
run: |
@@ -102,13 +102,13 @@ jobs:
102102
files: .junitxml
103103
verbose: true
104104
check_required_tests:
105-
name: All pinned Cloud tests passed
106-
needs: test-cloud-pinned
105+
name: All Cloud tests passed
106+
needs: test-cloud
107107
# Always run this, even if a dependent job failed
108108
if: always()
109109
runs-on: ubuntu-22.04
110110
steps:
111111
- name: Check for failures
112-
if: needs.test-cloud-pinned.result != 'success'
112+
if: needs.test-cloud.result != 'success'
113113
run: |
114114
echo "One of the dependent jobs has failed. You may need to re-run it." && exit 1

.github/workflows/test-integrations-common.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ env:
2222
CACHED_BUILD_PATHS: |
2323
${{ github.workspace }}/dist-serverless
2424
jobs:
25-
test-common-pinned:
26-
name: Common (pinned)
25+
test-common:
26+
name: Common
2727
timeout-minutes: 30
2828
runs-on: ${{ matrix.os }}
2929
strategy:
@@ -50,10 +50,10 @@ jobs:
5050
- name: Erase coverage
5151
run: |
5252
coverage erase
53-
- name: Test common pinned
53+
- name: Test common
5454
run: |
5555
set -x # print commands that are executed
56-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-common"
56+
./scripts/runtox.sh "py${{ matrix.python-version }}-common"
5757
- name: Generate coverage XML (Python 3.6)
5858
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
5959
run: |
@@ -82,13 +82,13 @@ jobs:
8282
files: .junitxml
8383
verbose: true
8484
check_required_tests:
85-
name: All pinned Common tests passed
86-
needs: test-common-pinned
85+
name: All Common tests passed
86+
needs: test-common
8787
# Always run this, even if a dependent job failed
8888
if: always()
8989
runs-on: ubuntu-22.04
9090
steps:
9191
- name: Check for failures
92-
if: needs.test-common-pinned.result != 'success'
92+
if: needs.test-common.result != 'success'
9393
run: |
9494
echo "One of the dependent jobs has failed. You may need to re-run it." && exit 1

0 commit comments

Comments
 (0)