Skip to content

test(e2e): a native answer's audio may arrive before its closing transcript delta - #1314

Merged
lukacf merged 1 commit into
mainfrom
fix/s106-native-answer-audio-order
Sep 30, 2026
Merged

lukacf merged 1 commit into
mainfrom
fix/s106-native-answer-audio-order

Conversation

@lukacf

@lukacf lukacf commented Sep 30, 2026

Copy link
Copy Markdown
Owner

Why

A combined-build S106 run failed with "timed out after 60000 ms waiting for haul_e5 input_final, then assistant_audio_start and assistant_audio_end". The answer ("Kestrel.", 400 ms) started on the media track at 11910 ms. Its first transcript delta, which closes the question's input final, arrived on the data channel at 11926 ms.

native_question required the assistant audio start to come after the final's timeline entry, so it never matched the answer that had already played. This is the same cross-stream ordering issue that #1310 took out of the row oracle; this fix was pushed to #1310's branch after that PR merged, so it lands here instead.

What

native_question now waits for the question's input final and the first assistant audio after the question's speech ended, as SpokenTurn::from_timeline already does. Every scenario that asks a native question uses this helper.

Evidence

🤖 Generated with Claude Code

…script delta

A combined-build S106 run failed "timed out after 60000 ms waiting for
haul_e5 input_final, then assistant_audio_start and assistant_audio_end":
the answer ("Kestrel.", 400 ms) started on the media track at 11910 ms, and
its first transcript delta, which closes the input final, arrived on the data
channel at 11926 ms. The wait required the audio start after the final's
entry, so the answer that had already played was never matched.
native_question now takes the first assistant audio after the question's
speech ended, as SpokenTurn already does: the same cross-stream ordering the
word oracle stopped depending on.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-30T02:32:53.397236Z 191b01e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lukacf
lukacf merged commit 8c8aef3 into main Sep 30, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant