Repository navigation
fix(providers): preserve realtime tool-result delivery ownership - #120776
Merged
Merged
Conversation
Co-authored-by: Wan Yong <[email protected]>
steipete
marked this pull request as ready for review
August 8, 2026 23:51
Contributor
Author
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Aug 9, 2026
Punchcard-Session: amber-workshop-workshop-36 * origin/main: (28 commits) perf(doctor): keep bundled doctor contract closures dependency-light (#120698) fix(elevenlabs): preserve repeated committed speech segments (#120792) fix(ai): fence Responses replay metadata (#120777) fix(ai): invalidate stale compaction replay (#120786) fix(telegram): clean up every failed webhook startup phase (#120788) fix(codex): preserve configured MCP tools in scheduled turns (#120366) fix(ui): show dev checkout commit lag in Updates (#120769) fix(agents): repair XML-polluted tool names (#113814) fix(discord): remove only the bot own reactions (#120785) fix(macos): complete ChatGPT subscription setup (#120782) fix(plugins): surface safe administrator install warnings (#120783) fix(release): keep upgrade survivor sessions fresh (#120778) fix(providers): preserve realtime tool-result delivery ownership (#120776) fix(plugins): retain incognito scope for embedded session ownership (#120215) fix(elevenlabs): surface realtime provider error events (#120772) fix(agents): preserve exact steering delivery ownership (#120770) fix(telegram): prevent session-count routing slowdown (#120774) fix(agents): preserve authoritative background process outcomes (#120754) test(process): make Linux adapter wiring portable (#120741) fix(diagnostics-prometheus): send Content-Length on metrics HEAD responses (#120212) ...
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 9, 2026
…nclaw#120776) Co-authored-by: Wan Yong <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Realtime tool-result submissions could appear successful even when their payload was not representable on the provider's wire format, the connection rejected the send, or a reconnect queue overflowed. Once the gateway accepted that false success, the original tool call could not be retried.
Why This Change Was Made
Each provider now validates and snapshots its own wire payload before consuming pending ownership, acknowledges delivery only after its actual transport accepts the message, and propagates genuine send and queue failures through the existing provider lifecycle.
The provider-specific owners preserve valid JSON values and custom serialization semantics, unsupported interim behavior, reconnect policies, and exactly-once error callbacks. No core or public provider contracts were changed.
User Impact
Failed realtime tool outputs now produce an actionable failure and remain retryable instead of silently disappearing after the gateway reports success.
Evidence