forked from openai/codex
-
Notifications
You must be signed in to change notification settings - Fork 0
[Producer] Upstream Bug – Intermittent streaming disconnects and retry behavior #54
Copy link
Copy link
Open
Labels
producerProducer-created planning/analysis taskProducer-created planning/analysis taskproducer functionalityFunctional task generated by producerFunctional task generated by producer
Description
Context
Mirrors upstream bug: openai#1581
Streaming intermittently disconnects with: "stream disconnected before completion: stream closed before response.complete; retrying…".
Scope
Potentially related to but broader than openai#1481. Affects general streaming stability and retry behavior mid-conversation.
Acceptance Criteria
- Add diagnostics around stream lifecycle and retries
- Stabilize streaming with bounded retries, jitter, and clear user messages
- Ensure idempotency and no duplicate tool executions on retry
- Include integration test simulating interrupted streams
Refs: #6, upstream: openai#1581; related: the mirrored issue for openai#1481
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
producerProducer-created planning/analysis taskProducer-created planning/analysis taskproducer functionalityFunctional task generated by producerFunctional task generated by producer