Skip to content

fix: #1122 hide ignored handoffs without breaking managed continuations#1123

Merged
seratch merged 1 commit intomainfrom
fix/drop-ignored-handoffs-history
Mar 24, 2026
Merged

fix: #1122 hide ignored handoffs without breaking managed continuations#1123
seratch merged 1 commit intomainfrom
fix/drop-ignored-handoffs-history

Conversation

@seratch
Copy link
Copy Markdown
Member

@seratch seratch commented Mar 24, 2026

This pull request resolves #1122 by narrowing the managed-resume fix to the actual streaming failure boundary. For Responses API managed conversations, request inputs are only added to the server-side conversation after the response completes, so a streamed run that is interrupted after an early SSE but before response_done must resend the accepted handoff output and any supplemental ignored-handoff acknowledgements on resume.

The change removes the streaming-only logic that treated an in-progress managed turn as already committed during primeFromState(). Non-stream resumes still keep their existing suppression behavior, while streamed resumes now replay the current turn inputs until a completed response has actually been observed. Regression coverage now locks in that pre-response_done cancellation path so the resumed managed request includes the required handoff acknowledgements again.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 24, 2026

🦋 Changeset detected

Latest commit: 0029d6a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@openai/agents-core Patch
@openai/agents-extensions Patch
@openai/agents-openai Patch
@openai/agents-realtime Patch
@openai/agents Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added this to the 0.8.x milestone Mar 24, 2026
@seratch seratch merged commit 4470af6 into main Mar 24, 2026
14 of 16 checks passed
@seratch seratch deleted the fix/drop-ignored-handoffs-history branch March 24, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exempting handoffs from parallel_tool_calls

1 participant