Voice: TTSInterruptTests.testI3 10s deterministic flake (pre-existing baseline) #55

Open
opened 2026-05-12 19:09:41 +00:00 by KofTwentyTwo · 0 comments
KofTwentyTwo commented 2026-05-12 19:09:41 +00:00 (Migrated from github.com)

Summary

TTSInterruptTests.testI3 has a pre-existing ~10s deterministic flake: XCTAssertLessThan failed: ("10.4...") is not less than ("0.08"). Pre-dates Track B-4 (2026-05-04). Likely a deterministic 10s timeout in InterruptSequence.run rather than a true flake — the test asserts barge-in latency <80ms but observes 10.4s.

Evidence

  • docs/SESSION-STATE.md:98 — "TTSInterruptTests.testI3 pre-existing 10s flake"
  • docs/TODO.md references the same baseline

Recommended fix

Investigate InterruptSequence.run for a synchronous 10s wait path (likely a deadline). Pin down whether the test seam needs to inject a faster timeout for unit testing, or whether the production path actually has a 10s blocking call that needs review.

Test

  • The fix is the test passing reliably with <80ms barge-in latency.

Source

  • docs/SESSION-STATE.md:98
  • docs/TODO.md (line referencing pre-existing baseline)
## Summary `TTSInterruptTests.testI3` has a pre-existing ~10s deterministic flake: `XCTAssertLessThan failed: ("10.4...") is not less than ("0.08")`. Pre-dates Track B-4 (2026-05-04). Likely a deterministic 10s timeout in `InterruptSequence.run` rather than a true flake — the test asserts barge-in latency <80ms but observes 10.4s. ## Evidence - `docs/SESSION-STATE.md:98` — "TTSInterruptTests.testI3 pre-existing 10s flake" - `docs/TODO.md` references the same baseline ## Recommended fix Investigate `InterruptSequence.run` for a synchronous 10s wait path (likely a deadline). Pin down whether the test seam needs to inject a faster timeout for unit testing, or whether the production path actually has a 10s blocking call that needs review. ## Test - The fix is the test passing reliably with `<80ms` barge-in latency. ## Source - `docs/SESSION-STATE.md:98` - `docs/TODO.md` (line referencing pre-existing baseline)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/Jarvis#55