---
type: email
from: Kazuhiro Sera <notifications@github.com>
subject: [openai/openai-agents-python] perf: speed up make tests with xdist

 and deterministic waits (PR #2563)
received: 2026-03-06 00:11:19
priority: high
status: awaiting_approval
---

## Email Content
This pull request improves test execution efficiency by replacing real-time waits in several slow tests with deterministic synchronization, moving shard-safe tests onto `pytest-xdist`, and isolating Redis/Dapr-sensitive files onto a serial lane that still runs automatically as part of `make tests`. Across three measured warm-cache runs after one warm-up run on the same machine, `make tests` averaged 53.59 seconds before these changes and 14.34 seconds after them, reducing wall-clock time by 39.25 seconds (73.2%) and delivering about a 3.7x speedup.



The change also trims unnecessary tracing fixture startup work in `tests/conftest.py`, keeps overall test breadth intact, and updates CI so coverage is collected on a single Python version while the rest of the matrix uses the faster test pat...

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