Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. What this changesThe OpenAI voice relay captures readiness before accepting the WebRTC answer, delays its readiness notification until startup succeeds, and adds an event-channel readiness fallback. Review scores
Merge readiness⛔ Blocked before merge - 2 items remain This PR addresses a source-supported race that remains on current main and in the latest release. Its paired bug report remains open, and no verified merged replacement solves the problem. No introduced correctness defect was found. Priority: P2 Before merge
FindingsNone. Agent review detailsHow this fits togetherThe Gateway voice relay connects Talk audio clients to OpenAI through WebRTC media and a separate provider-event socket. Its readiness notification tells the host when the voice session can proceed. flowchart TD
A[Talk audio client] --> B[Gateway voice relay]
B --> C[WebRTC media negotiation]
B --> D[Provider event socket]
C --> E[Startup and readiness gate]
D --> E
E --> F[Host readiness notification]
C --> G[Voice audio exchange]
Technical reviewBest possible solution: Keep startup readiness in the existing relay owner, preserving early provider signals while notifying the host once only after successful transport acceptance. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the ordering mechanism: current main opens the sideband after applying the answer, allowing an early provider readiness event to precede its listener. The contributor reports failing regressions; this read-only review did not execute them. Is this the best way to solve the issue? Yes, the proposed ownership and readiness gate address the race narrowly. The current-main version must carry the event-channel signal through the media worker boundary and retain direct-transport behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d8f523822def. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +26, Tests +138. Total +164 across 4 files. View PR surface stats
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed October 4, 2026, 11:33 PM ET / October 5, 2026, 03:33 UTC (Revision 3). |
|
Thanks @JamesY023 for the clear reproduction and startup-readiness fix. Landed the focused replacement in #190466 (#190466), preserving your co-author credit. The separate data-channel fallback proposal remains tracked in #144597. |
Closes #144597
What Problem This Solves
Fixes an issue where users starting a GPT-Live Gateway voice relay could miss readiness when the provider started during WebRTC negotiation. A startup that subsequently failed could also announce readiness prematurely.
Why This Change Was Made
Adopt the sideband before applying the SDP answer, reject buffered terminal events before replay, and publish readiness only after startup accepts the transport. Negotiate the provider's
oai-eventsdata channel with bundled media so its open event can supply readiness whensession.startedis not replayed; the sideband continues to handle provider events. The direct transport retains its existing readiness and audio behavior.User Impact
Gateway voice relays retain early provider readiness and notify the host once after successful startup. Failed startup releases both transports without announcing readiness.
Evidence
These are deterministic startup and local WebRTC proofs; a live provider call was not repeated against this source change. The issue is timing-dependent, not a claim that every unmodified voice startup fails.