feat(openai-agents) Add guardrail spans #4847
+113
−0
Draft
Codecov / codecov/project
succeeded
Sep 30, 2025 in 0s
84.62% (-0.14%) compared to 9b58d31
View this Pull Request on Codecov
84.62% (-0.14%) compared to 9b58d31
Details
Codecov Report
❌ Patch coverage is 37.73585% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.62%. Comparing base (9b58d31) to head (9584a0e).
✅ All tests successful. No failed tests found.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ..._sdk/integrations/openai_agents/spans/guardrail.py | 25.00% | 21 Missing |
| ...dk/integrations/openai_agents/patches/agent_run.py | 42.85% | 12 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## master #4847 +/- ##
==========================================
- Coverage 84.75% 84.62% -0.14%
==========================================
Files 158 159 +1
Lines 16560 16613 +53
Branches 2876 2881 +5
==========================================
+ Hits 14035 14058 +23
- Misses 1679 1708 +29
- Partials 846 847 +1 | Files with missing lines | Coverage Δ | |
|---|---|---|
| sentry_sdk/consts.py | 99.35% <100.00%> (+<0.01%) |
⬆️ |
| ...dk/integrations/openai_agents/patches/agent_run.py | 72.61% <42.85%> (-9.93%) |
⬇️ |
| ..._sdk/integrations/openai_agents/spans/guardrail.py | 25.00% <25.00%> (ø) |
Loading