Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
openai
/
openai-agents-python
Public
Notifications
You must be signed in to change notification settings
Fork
4.8k
Star
29.8k
Code
Issues
1
Pull requests
2
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
fix(sessions): persist deferred approval history across resumes
- #4828
#4828
Open
dixso
wants to merge 40 commits into
openai:main
openai/openai-agents-python:main
from
dixso:fix-deferred-interrupted-session-write
dixso/openai-agents-python:fix-deferred-interrupted-session-write
Copy head branch name to clipboard
Conversation
Commits
40
(40)
Checks
Files changed
Open
fix(sessions): persist deferred approval history across resumes
#4828
dixso
wants to merge 40 commits into
openai:main
openai/openai-agents-python:main
from
dixso:fix-deferred-interrupted-session-write
dixso/openai-agents-python:fix-deferred-interrupted-session-write
Copy head branch name to clipboard
Commits
Commits on Sep 26, 2026
fix(sessions): persist deferred interrupted-turn items when the approval resume continues the run
Show description for 0c58053
dixso
committed
0c58053
View commit details
Copy full SHA for 0c58053
Browse repository at this point
refactor: share the deferred-prefix selection between both resume paths
Show description for 4a57349
dixso
committed
4a57349
View commit details
Copy full SHA for 4a57349
Browse repository at this point
fix: derive the park-time deferral decision from checkpoint state
Show description for 2fb6f36
dixso
committed
2fb6f36
View commit details
Copy full SHA for 2fb6f36
Browse repository at this point
fix: carry the deferred prefix through a streamed re-interruption
Show description for 3123ef0
dixso
committed
3123ef0
View commit details
Copy full SHA for 3123ef0
Browse repository at this point
fix: confirm the deferred prefix against the Session and carry it to every resume exit
Show description for bcc2cb7
dixso
committed
bcc2cb7
View commit details
Copy full SHA for bcc2cb7
Browse repository at this point
fix: suppress only what the Session provably holds, by collision-free identity
Show description for 4ccda5e
dixso
committed
4ccda5e
View commit details
Copy full SHA for 4ccda5e
Browse repository at this point
fix: recognize hosted MCP approval identities when reconciling the prefix
Show description for 530c121
dixso
committed
530c121
View commit details
Copy full SHA for 530c121
Browse repository at this point
test: pin that an emptied resolved turn corrupts nothing in either runner
Show description for 8e75e93
dixso
committed
8e75e93
View commit details
Copy full SHA for 8e75e93
Browse repository at this point
fix(sessions): declare the withheld interrupted write as a held pending Session write
Show description for 6a1582e
dixso
committed
6a1582e
View commit details
Copy full SHA for 6a1582e
Browse repository at this point
test: cover the held pending write across both runners and its serialized contract
Show description for 3a4115a
dixso
committed
3a4115a
View commit details
Copy full SHA for 3a4115a
Browse repository at this point
refactor(sessions): drop the dead no-state park bridge and tighten defer signature
Show description for c55f1ac
dixso
committed
c55f1ac
View commit details
Copy full SHA for c55f1ac
Browse repository at this point
test: pin that a settled or discarded batch never lingers on the live state
dixso
committed
ed7445c
View commit details
Copy full SHA for ed7445c
Browse repository at this point
style: apply ruff formatting to the touched files
dixso
committed
c002237
View commit details
Copy full SHA for c002237
Browse repository at this point
fix(sessions): narrow the fresh park registration for the type checker
dixso
committed
ee119ad
View commit details
Copy full SHA for ee119ad
Browse repository at this point
fix(sessions): validate the held resume's Session and settle only paired held calls
Show description for 8179475
dixso
committed
8179475
View commit details
Copy full SHA for 8179475
Browse repository at this point
style: satisfy line length and the settling batch parameter type
dixso
committed
b09b8e0
View commit details
Copy full SHA for b09b8e0
Browse repository at this point
fix(sessions): carry the held batch through detached parks, pending approvals, and completions
Show description for 5284e01
dixso
committed
5284e01
View commit details
Copy full SHA for 5284e01
Browse repository at this point
fix(sessions): keep run input out of the held batch, register final settles, and restore Conversations sanitization at entry
Show description for 2d3bed3
dixso
committed
2d3bed3
View commit details
Copy full SHA for 2d3bed3
Browse repository at this point
fix(sessions): dedupe the rebuilt final response against the batch and pair every approval family
Show description for d9da256
dixso
committed
d9da256
View commit details
Copy full SHA for d9da256
Browse repository at this point
fix(sessions): settle held batches through the canonical pairing and counting rules
Show description for 68156a5
dixso
committed
68156a5
View commit details
Copy full SHA for 68156a5
Browse repository at this point
fix(sessions): keep crash recovery armed when the rebuilt final items cover the held batch
Show description for 58ee1f4
dixso
committed
58ee1f4
View commit details
Copy full SHA for 58ee1f4
Browse repository at this point
fix(sessions): give the held pending write its own schema version, settle it through the canonical path, and close the terminal and commit-boundary gaps
Show description for 8351ae7
dixso
committed
8351ae7
View commit details
Copy full SHA for 8351ae7
Browse repository at this point
fix(sessions): defer compaction when the settling batch carries the tool output
Show description for 6572198
dixso
committed
6572198
View commit details
Copy full SHA for 6572198
Browse repository at this point
fix(sessions): make the 1.18 corpus entries reproducible and scope the held-only keys
Show description for b9239c3
dixso
committed
b9239c3
View commit details
Copy full SHA for b9239c3
Browse repository at this point
test: pin that the held-only keys are refused on an ordinary pending write
dixso
committed
7880fef
View commit details
Copy full SHA for 7880fef
Browse repository at this point
fix(sessions): settle the pairs an emptied resolved turn leaves behind
Show description for c430434
dixso
committed
c430434
View commit details
Copy full SHA for c430434
Browse repository at this point
fix(sessions): dispose of the held batch when the run ends, not when its last step is chosen
Show description for 6206c45
dixso
committed
6206c45
View commit details
Copy full SHA for 6206c45
Browse repository at this point
fix(sessions): count and classify the settling batch on the compaction path
Show description for f365e8b
dixso
committed
f365e8b
View commit details
Copy full SHA for f365e8b
Browse repository at this point
fix(sessions): the held record owns the conversion policy of its items
Show description for 32a8ad8
dixso
committed
32a8ad8
View commit details
Copy full SHA for 32a8ad8
Browse repository at this point
fix(sessions): the final sweep's direct settle speaks the settle dialect
Show description for f10b1b0
dixso
committed
f10b1b0
View commit details
Copy full SHA for f10b1b0
Browse repository at this point
fix(sessions): held settlement derives pairing evidence from the filtered session view
Show description for b3d902f
dixso
committed
b3d902f
View commit details
Copy full SHA for b3d902f
Browse repository at this point
fix(sessions): fold ownership rides the held record so the filter contract survives a serialized retry
Show description for 85b061c
dixso
committed
85b061c
View commit details
Copy full SHA for 85b061c
Browse repository at this point
fix(sessions): the filter's authority covers the batch's unkeyed companions too
Show description for 80962b5
dixso
committed
80962b5
View commit details
Copy full SHA for 80962b5
Browse repository at this point
fix(sessions): relabel checkpoints as 1.17 the way the released reader reads them
Show description for 46599c9
dixso
committed
46599c9
View commit details
Copy full SHA for 46599c9
Browse repository at this point
Commits on Sep 27, 2026
Merge main and reconcile deferred Session writes by response ownership
jbeckwith-oai
committed
bc3dd40
View commit details
Copy full SHA for bc3dd40
Browse repository at this point
fix(sessions): retain accepted held history through finalization failures
jbeckwith-oai
committed
d9f6d74
View commit details
Copy full SHA for d9f6d74
Browse repository at this point
Merge main compaction recovery into deferred Session writes
jbeckwith-oai
committed
e58fb2c
View commit details
Copy full SHA for e58fb2c
Browse repository at this point
Commits on Sep 28, 2026
fix(sessions): centralize resumed persistence and preserve filtered history
jbeckwith-oai
committed
b811ef4
View commit details
Copy full SHA for b811ef4
Browse repository at this point
fix(sessions): preserve response storage policy across approvals
jbeckwith-oai
committed
7d13f71
View commit details
Copy full SHA for 7d13f71
Browse repository at this point
fix(sessions): synchronize turn before detached approval park
jbeckwith-oai
committed
1c16e5b
View commit details
Copy full SHA for 1c16e5b
Browse repository at this point
You can’t perform that action at this time.