René's URL Explorer Experiment


Title: test(openai-agents): Replace mocks with `httpx` in non-error single-response tests by alexander-alderman-webb · Pull Request #5600 · getsentry/sentry-python · GitHub

Open Graph Title: test(openai-agents): Replace mocks with `httpx` in non-error single-response tests by alexander-alderman-webb · Pull Request #5600 · getsentry/sentry-python

X Title: test(openai-agents): Replace mocks with `httpx` in non-error single-response tests by alexander-alderman-webb · Pull Request #5600 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: Description Replace mocks with httpx types to avoid test failures when library internals change. Issues Reminders Please add tests to validate your changes, and lint your code using tox -e linte...

X Description: Description Replace mocks with httpx types to avoid test failures when library internals change. Issues Reminders Please add tests to validate your changes, and lint your code using tox -e linte...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/5600

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ed0d29f0-b7f8-7317-98f2-79350271ee66
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD092:1DCB8C:6B8B9B:9094D2:6B00D5A9
html-safe-nonce7778d5d65ae34ca2bc308c4466ae47ee3be8dbbe6765d27b07c3de6e73346cce
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDkyOjFEQ0I4Qzo2QjhCOUI6OTA5NEQyOjZCMDBENUE5IiwidmlzaXRvcl9pZCI6IjgwNTc5MTUxMDA3NTkxMTkyNzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac099d62f00a0986940eca73e7ec9910cf3b4f92e164550504e1e5871a4c959937
hovercard-subject-tagpull_request:3362957179
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/5600/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0d269f83d0ecf275e404a16f5e819886b8fb13cd5d9517e15f668405f8924bba/getsentry/sentry-python/pull/5600
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0d269f83d0ecf275e404a16f5e819886b8fb13cd5d9517e15f668405f8924bba/getsentry/sentry-python/pull/5600
og:image:altDescription Replace mocks with httpx types to avoid test failures when library internals change. Issues Reminders Please add tests to validate your changes, and lint your code using tox -e linte...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexander-alderman-webb
hostnamegithub.com
expected-hostnamegithub.com
Nonea481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release84c8c5cc25e2fb7f2308428458538436baecc6d2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/5600#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5600
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5600
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/pull/5600
Reloadhttps://github.com/getsentry/sentry-python/pull/5600
Reloadhttps://github.com/getsentry/sentry-python/pull/5600
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/openai-agents/non-error-single-responsehttps://github.com/getsentry/sentry-python/tree/webb/openai-agents/non-error-single-response
Conversationhttps://github.com/getsentry/sentry-python/pull/5600
Commits10 (10)https://github.com/getsentry/sentry-python/pull/5600/commits
Checkshttps://github.com/getsentry/sentry-python/pull/5600/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/5600/files
test(openai-agents): Replace mocks with httpx in non-error single-response testshttps://github.com/getsentry/sentry-python/pull/5600#top
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/openai-agents/non-error-single-responsehttps://github.com/getsentry/sentry-python/tree/webb/openai-agents/non-error-single-response
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Mar 6, 2026https://github.com/getsentry/sentry-python/pull/5600#issue-4033168408
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
conventional commithttps://develop.sentry.dev/engineering-practices/commit-messages/#type
CONTRIBUTING.mdhttps://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md
Sentry SDK development docshttps://develop.sentry.dev/sdk/
Discord communityhttps://discord.gg/Ww9hbqr
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
https://github.com/alexander-alderman-webb
test(openai-agents): Replace mocks with httpx in non-error single-res…https://github.com/getsentry/sentry-python/pull/5600/commits/66e12934b043395e0b8f3de37bf10076976c5e5a
66e1293https://github.com/getsentry/sentry-python/pull/5600/commits/66e12934b043395e0b8f3de37bf10076976c5e5a
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Mar 6, 2026https://github.com/getsentry/sentry-python/pull/5600#event-23326908689
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 6, 2026 10:39https://github.com/getsentry/sentry-python/pull/5600#commits-pushed-c773204
https://github.com/alexander-alderman-webb
add more testshttps://github.com/getsentry/sentry-python/pull/5600/commits/c773204eeeb22284b957e2b534ae3bc94050738d
c773204https://github.com/getsentry/sentry-python/pull/5600/commits/c773204eeeb22284b957e2b534ae3bc94050738d
https://github.com/alexander-alderman-webb
revert uninted tool test changehttps://github.com/getsentry/sentry-python/pull/5600/commits/57c2a6eef3ca9220e7e7a1721ff79d505994c513
57c2a6ehttps://github.com/getsentry/sentry-python/pull/5600/commits/57c2a6eef3ca9220e7e7a1721ff79d505994c513
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Mar 6, 2026https://github.com/getsentry/sentry-python/pull/5600#event-23327432052
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 6, 2026https://github.com/getsentry/sentry-python/pull/5600#issuecomment-4010709982
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
https://github.com/alexander-alderman-webb
revert fixture removalhttps://github.com/getsentry/sentry-python/pull/5600/commits/5b6163dc8b06406a5df3752aa88b8c806c9fe4a3
5b6163dhttps://github.com/getsentry/sentry-python/pull/5600/commits/5b6163dc8b06406a5df3752aa88b8c806c9fe4a3
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 6, 2026https://github.com/getsentry/sentry-python/pull/5600#issuecomment-4010730810
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 6, 2026 10:54https://github.com/getsentry/sentry-python/pull/5600#commits-pushed-2cc4825
https://github.com/alexander-alderman-webb
use test-keyhttps://github.com/getsentry/sentry-python/pull/5600/commits/2cc4825f3c92b2b01258ec79397c3cb38c31f80c
2cc4825https://github.com/getsentry/sentry-python/pull/5600/commits/2cc4825f3c92b2b01258ec79397c3cb38c31f80c
https://github.com/alexander-alderman-webb
more testshttps://github.com/getsentry/sentry-python/pull/5600/commits/2378fd987064fc40b8bf9dfe393578d6c0dceff1
2378fd9https://github.com/getsentry/sentry-python/pull/5600/commits/2378fd987064fc40b8bf9dfe393578d6c0dceff1
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 6, 2026 11:59https://github.com/getsentry/sentry-python/pull/5600#event-23330764853
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
code ownerhttps://github.com/getsentry/sentry-python/blob/763b16aa0e1a036d1c69e49ab38adccd424d35f8/.github/CODEOWNERS#L1
March 6, 2026 11:59https://github.com/getsentry/sentry-python/pull/5600#event-23330765016
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Mar 6, 2026 https://github.com/getsentry/sentry-python/pull/5600#pullrequestreview-3903332950
View reviewed changes https://github.com/getsentry/sentry-python/pull/5600/files/2378fd987064fc40b8bf9dfe393578d6c0dceff1
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/5600#pullrequestreview-3903332950
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Cursor dashboardhttps://www.cursor.com/dashboard?tab=bugbot
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
tests/integrations/openai_agents/test_openai_agents.pyhttps://github.com/getsentry/sentry-python/pull/5600/files/2378fd987064fc40b8bf9dfe393578d6c0dceff1#diff-3994ad06a0ebc1f49b0088b4c7210c4804d91e21c4886e98cf02b0da097dc06f
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 6, 2026 13:27https://github.com/getsentry/sentry-python/pull/5600#commits-pushed-1a1ab90
https://github.com/alexander-alderman-webb
add one missing testhttps://github.com/getsentry/sentry-python/pull/5600/commits/1a1ab90d79dd259f5b04d55124ba6eec843c0c5f
1a1ab90https://github.com/getsentry/sentry-python/pull/5600/commits/1a1ab90d79dd259f5b04d55124ba6eec843c0c5f
https://github.com/alexander-alderman-webb
set usage to none in examplehttps://github.com/getsentry/sentry-python/pull/5600/commits/0d13b60aa461a7937cdbc53ac61ff44fedcd97d8
0d13b60https://github.com/getsentry/sentry-python/pull/5600/commits/0d13b60aa461a7937cdbc53ac61ff44fedcd97d8
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Mar 6, 2026 https://github.com/getsentry/sentry-python/pull/5600#pullrequestreview-3903483346
View reviewed changes https://github.com/getsentry/sentry-python/pull/5600/files/0d13b60aa461a7937cdbc53ac61ff44fedcd97d8
tests/integrations/openai_agents/test_openai_agents.pyhttps://github.com/getsentry/sentry-python/pull/5600/files/0d13b60aa461a7937cdbc53ac61ff44fedcd97d8#diff-3994ad06a0ebc1f49b0088b4c7210c4804d91e21c4886e98cf02b0da097dc06f
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
tests/integrations/openai_agents/test_openai_agents.pyhttps://github.com/getsentry/sentry-python/pull/5600/files/0d13b60aa461a7937cdbc53ac61ff44fedcd97d8#diff-3994ad06a0ebc1f49b0088b4c7210c4804d91e21c4886e98cf02b0da097dc06f
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
Mar 6, 2026 https://github.com/getsentry/sentry-python/pull/5600#pullrequestreview-3903528809
View reviewed changes https://github.com/getsentry/sentry-python/pull/5600/files/49dbc3aa97b9a222101fec70e1cf416b28b5d768
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
Mar 6, 2026 https://github.com/getsentry/sentry-python/pull/5600#pullrequestreview-3903827676
View reviewed changes https://github.com/getsentry/sentry-python/pull/5600/files/49dbc3aa97b9a222101fec70e1cf416b28b5d768
https://github.com/alexander-alderman-webb
Merge branch 'master' into webb/openai-agents/non-error-single-responsehttps://github.com/getsentry/sentry-python/pull/5600/commits/49dbc3aa97b9a222101fec70e1cf416b28b5d768
49dbc3ahttps://github.com/getsentry/sentry-python/pull/5600/commits/49dbc3aa97b9a222101fec70e1cf416b28b5d768
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Mar 9, 2026 https://github.com/getsentry/sentry-python/pull/5600#pullrequestreview-3913677212
View reviewed changes https://github.com/getsentry/sentry-python/pull/5600/files/49dbc3aa97b9a222101fec70e1cf416b28b5d768
tests/integrations/openai_agents/test_openai_agents.pyhttps://github.com/getsentry/sentry-python/pull/5600/files/49dbc3aa97b9a222101fec70e1cf416b28b5d768#diff-3994ad06a0ebc1f49b0088b4c7210c4804d91e21c4886e98cf02b0da097dc06f
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
https://github.com/alexander-alderman-webb
leave usage unchangedhttps://github.com/getsentry/sentry-python/pull/5600/commits/164a30728f7eef34ffe1ef1347f458c8e5fb3dca
164a307https://github.com/getsentry/sentry-python/pull/5600/commits/164a30728f7eef34ffe1ef1347f458c8e5fb3dca
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
53e2148https://github.com/getsentry/sentry-python/commit/53e2148b827c7d3c734b13af544ba5188d6918ea
Mar 9, 2026https://github.com/getsentry/sentry-python/pull/5600#event-23388290616
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 9, 2026 08:53https://github.com/getsentry/sentry-python/pull/5600#event-23388291845
ericapisanihttps://github.com/ericapisani
Mar 9, 2026 https://github.com/getsentry/sentry-python/pull/5600#ref-commit-8ffcab9
https://github.com/alexander-alderman-webb
https://github.com/ericapisani
test(openai-agents): Replace mocks with httpx in non-error single-r…https://github.com/getsentry/sentry-python/commit/8ffcab9c3fd227f89aa320dbb4c216fd01dd32b7
8ffcab9https://github.com/getsentry/sentry-python/commit/8ffcab9c3fd227f89aa320dbb4c216fd01dd32b7
#5600https://github.com/getsentry/sentry-python/pull/5600
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Mar 17, 2026 https://github.com/getsentry/sentry-python/pull/5600#ref-issue-4088788354
publish: getsentry/sentry-python@2.55.0 getsentry/publish#7485 https://github.com/getsentry/publish/issues/7485
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5600
https://github.com/apps/sentry
sentry[bot] https://github.com/apps/sentry
https://github.com/getsentry/sentry-python/pull/5600/files/49dbc3aa97b9a222101fec70e1cf416b28b5d768
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/5600/files/2378fd987064fc40b8bf9dfe393578d6c0dceff1
https://github.com/ericapisani
ericapisani https://github.com/ericapisani
https://github.com/getsentry/sentry-python/pull/5600/files/49dbc3aa97b9a222101fec70e1cf416b28b5d768
https://github.com/sentrivana
sentrivana https://github.com/sentrivana
https://github.com/getsentry/sentry-python/pull/5600/files/49dbc3aa97b9a222101fec70e1cf416b28b5d768
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5600
https://github.com/alexander-alderman-webb
https://github.com/ericapisani
https://github.com/sentrivana
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.