Skip to content

fix(openai-agents): Gate patches against ImportError#6218

Draft
alexander-alderman-webb wants to merge 3 commits intomasterfrom
webb/test-ci-3
Draft

fix(openai-agents): Gate patches against ImportError#6218
alexander-alderman-webb wants to merge 3 commits intomasterfrom
webb/test-ci-3

Conversation

@alexander-alderman-webb
Copy link
Copy Markdown
Contributor

@alexander-alderman-webb alexander-alderman-webb commented May 7, 2026

Description

sentry_sdk/integrations/openai_agents/__init__.py:103: error: Item "None" of "Any | None" has no attribute "get_all_tools"  [union-attr]
sentry_sdk/integrations/openai_agents/__init__.py:109: error: Item "None" of "Any | None" has no attribute "get_all_tools"  [union-attr]
sentry_sdk/integrations/openai_agents/__init__.py:114: error: Item "None" of "Any | None" has no attribute "get_model"  [union-attr]
sentry_sdk/integrations/openai_agents/__init__.py:118: error: Item "None" of "Any | None" has no attribute "get_model"  [union-attr]
sentry_sdk/integrations/openai_agents/__init__.py:122: error: Item "None" of "Any | None" has no attribute "run_single_turn"  [union-attr]
sentry_sdk/integrations/openai_agents/__init__.py:126: error: Item "None" of "Any | None" has no attribute "run_single_turn"  [union-attr]
sentry_sdk/integrations/openai_agents/__init__.py:130: error: Item "None" of "Any | None" has no attribute "run_single_turn_streamed"  [union-attr]
sentry_sdk/integrations/openai_agents/__init__.py:135: error: Item "None" of "Any | None" has no attribute "run_single_turn_streamed"  [union-attr]
sentry_sdk/integrations/openai_agents/__init__.py:140: error: Item "None" of "Any | None" has no attribute "execute_handoffs"  [union-attr]
sentry_sdk/integrations/openai_agents/__init__.py:154: error: Item "None" of "Any | None" has no attribute "execute_final_output"  [union-attr]
sentry_sdk/integrations/openai_agents/__init__.py:156: error: Item "None" of "Any | None" has no attribute "execute_final_output"  [union-attr]

Issues

Reminders

@alexander-alderman-webb alexander-alderman-webb marked this pull request as draft May 7, 2026 06:26
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Codecov Results 📊

13 passed | Total: 13 | Pass Rate: 100% | Execution Time: 8.91s

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

❌ Patch coverage is 0.00%. Project has 15027 uncovered lines.
❌ Project coverage is 31.32%. Comparing base (base) to head (head).

Files with missing lines (1)
File Patch % Lines
__init__.py 4.55% ⚠️ 84 Missing
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
- Coverage    31.33%    31.32%    -0.01%
==========================================
  Files          190       190         —
  Lines        21877     21880        +3
  Branches      7360      7366        +6
==========================================
+ Hits          6853      6853         —
- Misses       15024     15027        +3
- Partials       579       579         —

Generated by Codecov Action

Comment thread sentry_sdk/integrations/openai_agents/__init__.py
@alexander-alderman-webb alexander-alderman-webb changed the title [do not merge] Test CI fix(openai-agents): Gate patches against ImportError May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant