Skip to content

fix: TTS truncation (#115) + publish_and_wait race (#116) + realtime integration test - #121

Merged
abhishekmishragithub merged 4 commits into
mainfrom
hardening-5.12.2
Sep 16, 2026
Merged

abhishekmishragithub merged 4 commits into
mainfrom
hardening-5.12.2

Conversation

@abhishekmishragithub

Copy link
Copy Markdown
Collaborator

Fixes the two open issues, both hand-written helper bugs with the repros they shipped:

Also adds the integration test that was missing: a live-gated (SMALLEST_API_KEY, -m integration) realtime test that mints a register-call token, opens the documented wss URL, and asserts session.created plus the agent's spoken turn (output_audio.delta). Verified live on a Pay-As-You-Go account.

Bumps to 5.12.2. mypy clean, ruff clean, 14 TTS/versioning unit tests pass.

Note: a companion CI change (run on pull_request so fork PRs get checked) is needed but could not be pushed from here (token lacks workflow scope) — applying separately.

…realtime integration test

- WavesStreamingTTS raises on a pre-complete socket close instead of silently
  returning truncated audio (routes the drop to error_queue, which every consume
  loop already checks). issue #115.
- Versioning.publish_and_wait captures the pre-publish newest revision as a
  baseline so wait_for_commit does not match the stale previously-published one.
  issue #116.
- Add a live-gated (SMALLEST_API_KEY, -m integration) realtime integration test:
  mint a register-call token, open the documented wss URL, assert the session
  comes up and the agent produces a spoken turn.
- Bump to 5.12.2.
@crim-app

crim-app Bot commented Sep 16, 2026

Copy link
Copy Markdown

crim doesn't review pull requests automatically here.

Comment crim review on this pull request whenever you want a review.

…nt Tools/Secrets helpers in README

- asyncio.timeout is 3.11+, but the package targets python ^3.9; switch the frame
  collector to asyncio.wait_for so the live test runs on 3.9/3.10 too.
- README had no Tools/Secrets section (shipped in 5.12.0/5.12.1); add one with the
  registry create/list/duplicate/delete flow and the toolRefs note.
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