Commit Graph
7 Commits
Author SHA1 Message Date
Ahmed IbrahimandCodex 8207ff6ead codex: fix realtime CI failures
Install the rustls crypto provider in the realtime WebRTC test server so the app-server realtime tests stop panicking, and update the core handshake assertion to match the current realtime calls URL.

Co-authored-by: Codex <noreply@openai.com>
2026-04-05 10:57:48 -07:00
Ahmed IbrahimandCodex 99f72e27ae codex: fix CI failure on PR #16805
Keep the first realtime audio frame from being dropped during WebRTC startup.

Also give the realtime test server a tiny flush window before it closes the data channel so the last scripted events land reliably.

Co-authored-by: Codex <noreply@openai.com>
2026-04-05 10:44:06 -07:00
Ahmed IbrahimandCodex 5d5305c5d4 codex: fix CI failure on PR #16805
Stop the realtime test WebRTC server from hanging after the client closes.

Teach the scripted request loop to exit when the data channel or peer connection closes so compact-remote tests can unwind instead of timing out at shutdown.

Co-authored-by: Codex <noreply@openai.com>
2026-04-05 10:26:58 -07:00
Ahmed IbrahimandCodex 76397dbdd0 Use opus-rs for realtime transport
- switch realtime transport and test server to opus-rs
- drop native opus bazel and cmake plumbing

Co-authored-by: Codex <noreply@openai.com>
2026-04-05 00:43:41 -07:00
Ahmed IbrahimandCodex 763dc66fb6 Return realtime test SDP answers before data channel setup
Co-authored-by: Codex <noreply@openai.com>
2026-04-04 15:30:07 -07:00
Ahmed IbrahimandCodex 1aa17fafcc Fix realtime test server helper imports
Use the workspace opus crate name directly and clone the request sender before moving it into the data-channel callback so the RTP track handler can still enqueue decoded packets.

Co-authored-by: Codex <noreply@openai.com>
2026-04-04 14:11:47 -07:00
Ahmed IbrahimandCodex d6d8d6304d Add WebRTC support to realtime test server
Teach the shared test helper to accept realtime /calls POSTs, answer SDP offers, and relay scripted events over a data channel while logging incoming RTP audio packets as synthetic append requests. Update the one stale handshake-path assertion to the /realtime/calls URL.

Co-authored-by: Codex <noreply@openai.com>
2026-04-04 13:14:31 -07:00