Skip to content

fix(openai): bridge oversized websocket requests#2936

Merged
Wei-Shaw merged 1 commit into
Wei-Shaw:mainfrom
xlx0852:codex/ws-http-bridge-recovery
Jun 1, 2026
Merged

fix(openai): bridge oversized websocket requests#2936
Wei-Shaw merged 1 commit into
Wei-Shaw:mainfrom
xlx0852:codex/ws-http-bridge-recovery

Conversation

@xlx0852
Copy link
Copy Markdown
Contributor

@xlx0852 xlx0852 commented Jun 1, 2026

Summary

  • make the OpenAI Responses WS client read limit configurable and bridge oversized first frames through HTTP/SSE while keeping the downstream WebSocket open
  • replay collected tool-call context for bridged and recovered turns so function_call_output can continue without previous_response_id
  • allow store-disabled WS sessions to recover from stale upstream connections when replay context is available

Tests

  • go test ./...
  • mvn compile skipped: no pom.xml in this Go project

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

All contributors have signed the CLA. ✅
Posted by the CLA Assistant Lite bot.

@xlx0852 xlx0852 force-pushed the codex/ws-http-bridge-recovery branch from 641dcd6 to 08e19bb Compare June 1, 2026 02:42
@xlx0852
Copy link
Copy Markdown
Contributor Author

xlx0852 commented Jun 1, 2026

recheck

@xlx0852
Copy link
Copy Markdown
Contributor Author

xlx0852 commented Jun 1, 2026

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Jun 1, 2026
@Wei-Shaw Wei-Shaw merged commit bc5813f into Wei-Shaw:main Jun 1, 2026
8 of 9 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants