H-6763: Improve voice preview reliability diagnostics - #9378
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Aug 27, 2026
Contributor
Author
cursor
Bot
changed the base branch from
kostandin/h-6763-openai-canonical-speech
to
graphite-base/9378
September 1, 2026 13:21
kostandinang
force-pushed
the
kostandin/h-6763-voice-preview-reliability
branch
from
September 1, 2026 13:29
fdb0482 to
fd8c6b4
Compare
kostandinang
force-pushed
the
graphite-base/9378
branch
from
September 1, 2026 13:29
6dc4472 to
7db6532
Compare
kostandinang
changed the base branch from
graphite-base/9378
to
kostandin/h-6763-openai-canonical-speech
September 1, 2026 13:29
lunelson
previously approved these changes
Sep 1, 2026
kostandinang
force-pushed
the
kostandin/h-6763-voice-preview-reliability
branch
from
September 1, 2026 14:01
fd8c6b4 to
91a5b74
Compare
kostandinang
force-pushed
the
kostandin/h-6763-voice-preview-reliability
branch
from
September 1, 2026 14:12
91a5b74 to
b2bcea5
Compare
Base automatically changed from
kostandin/h-6763-openai-canonical-speech
to
main
September 1, 2026 14:57
Merge activity
|
lunelson
previously approved these changes
Sep 1, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Reject provider failures and already-closed data channels immediately so voice startup cannot succeed with unusable resources. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Exercise typed speech failures and assert their diagnostic metadata instead of expecting the obsolete unsanitized fallback message. Co-authored-by: Cursor <cursoragent@cursor.com>
lunelson
approved these changes
Sep 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🌟 What is the purpose of this PR?
This PR hardens the disabled-by-default OpenAI voice preview introduced by the lower H-6763 stack. It adds actionable, privacy-safe diagnostics and closes failure-handling gaps so developers can distinguish permission, device, network, timeout, abort, provider-response, transcription, and playback failures.
The scope is reliability and observability only. It does not enable production voice or add the authentication, distributed quotas, replay/recovery, completion, and projection contracts required for production use.
🔗 Related links
🚫 Blocked by
🔍 What does this change?
Server-Timingmetrics while explicitly excluding audio, SDP, transcripts, prompts, canonical speech, credentials, and provider response bodies from diagnostics.request-abortedwhile SDP is read or applied.Pre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
This PR:
📜 Does this require a change to the docs?
The changes in this PR:
🕸️ Does this require a change to the Turbo Graph?
The changes in this PR:
🐾 Next steps
🛡 What tests cover this?
yarn workspace @apps/petrinaut-website test:unit— 17 files and 109 tests, including the mocked browser-to-playback boundary.yarn workspace @apps/petrinaut-website lint:tscandlint:eslint— website type and lint coverage.❓ How to test this?
yarn workspace @apps/petrinaut-website test:unit.yarn workspace @apps/petrinaut-website lint:tscandyarn workspace @apps/petrinaut-website lint:eslint.📹 Demo
Not included. This PR changes reliability, diagnostics, and automated coverage rather than the interaction design, and no credentialed external voice flow was run.