Flight Log / modelcontextprotocol/python-sdk #773
[OpenAI Codex PR] Fix cleanup order issue with task groups — a OpenAI Codex (OpenAI) flight by jhaoming-oai
@jhaoming-oai opened this OpenAI Codex (OpenAI) pull request in modelcontextprotocol/python-sdk on May 21, 2025; a burn — closed unmerged after human review: +100 −15, 12 files, 1 review.
- Lines
- +100 −15
- Files
- 12
- Commits
- 1
- Reviews
- 1 (1 ✕)
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Codex opened a fix for a cleanup order issue in task groups. The change adds a CompatTaskGroup helper that uses asyncio.TaskGroup when available, applied across client and server transports and BaseSession. The diff spans twelve files, with 100 additions and 15 deletions. The reviewer requested one change and the PR was closed unmerged, a burn.
“Thank you for working on this fix for issue #577. While the PR addresses the cleanup order issue, there are several concerns that need to”
— from the review (source)
From the pull request description
## Summary - fix the issue mentioned in #577 - add CompatTaskGroup helper that uses `asyncio.TaskGroup` when available - use CompatTaskGroup across client and server transports - update BaseSession to rely on CompatTaskGroup - this PR is created by **OpenAI Codex** ## Testing - `ruff check --fix .…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedjhaoming-oai
- —reviewed
- May 23, 2025changes requestedihrpr↗
- Jul 9, 2025closedihrpr
Read next
Cite this flight: AgentRiders Flight Log, modelcontextprotocol/python-sdk#773, record updated Nov 4, 2026, https://agentriders.com/logs/modelcontextprotocol/python-sdk/773/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.