---
type: email
from: Kazuhiro Sera <notifications@github.com>
subject: [openai/openai-agents-python] fix: re-raise cancelled tool execution

 (PR #2583)
received: 2026-03-05 10:35:44
priority: high
status: awaiting_approval
---

## Email Content
### Summary



- restore the pre-PR behavior for tool-raised `asyncio.CancelledError` so it propagates instead of being converted into a normal tool output item

- keep the shielded invoke-task cleanup so parent cancellation still drains the child task deterministically

- update the parallel tool regression test to assert that tool-raised cancellation is re-raised



### Test plan



- `make sync`

- `bash .agents/skills/code-change-verification/scripts/run.sh`



### Issue number



- N/A



### Checks



- [x] I&#39;ve added new tests (if relevant)

- [ ] I&#39;ve added/updated the relevant documentation

- [x] I&#39;ve run `make lint` and `make format`

- [x] I&#39;ve made sure tests pass

You can view, comment on, or merge this pull request online at:



  https://github.com/openai/op...

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Flag for review
