mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
## Why HTTP sampling can attach private connector result bodies, but Responses WebSocket sampling leaves them out. WebSocket requests need the same destination and account checks before sending those bodies. ## What changed Apply the existing HTTP eligibility checks to each WebSocket attempt and attach only result bodies that belong to the current account and match the input being sent, including when that input is an incremental update. Keep prewarm requests free of private result bodies. Update `tungstenite` and `tokio-tungstenite` to keep sensitive payload bytes out of frame diagnostics. ## Testing Add regression coverage for connector results reaching the server while staying out of request observers and client logs. Cover custom-provider requests and retries across an account change with results from both Code Mode `exec` and `wait`. GitOrigin-RevId: df5ec8608e59bb3a0444fafd5268279e669ccb55