Repository navigation
Description
What happened
I use the desktop app on my Mac with OpenAI cloud transcription for dictation. When the Mac is overloaded, the desktop app intermittently loses its connection to the T3 server running on the same Mac. The app itself keeps working, but the dictation control disappears and any dictation in progress is gone: the recording, and whatever it would have transcribed, is lost. When the connection comes back there is nothing to recover or retry, so I have to say everything again.
Diagnosis
Cloud dictation on desktop runs through the environment's server (the destination is "OpenAI via "). In apps/web/src/speech/useEnvironmentSpeechInput.ts (read at main 86a9d9f), useVoiceTranscriptionDestination returns prepared: null while that environment's connection is down, which is why the dictation control disappears. The effect that owns the VoiceInputController depends on prepared. When the connection drops, its cleanup therefore calls controller.dispose() and the recording is discarded. The hook's doc comment says the recording "is abandoned the moment that choice changes or its connection drops", so this is the current design, not an accident. The existing retry for failed recordings (retryFailedRecording: true) never applies, because the controller is gone before any send fails.
Steps to reproduce
- Desktop app on macOS, with its local server on the same Mac. Settings → Voice: OpenAI cloud transcription.
- Start dictating in a thread composer and keep talking.
- While recording, make the local server unreachable until the app shows it as reconnecting. In practice this happens under heavy load on the Mac. Stopping the server, or suspending its process for about 30 s, should give the same result.
- The dictation control disappears, the recording is discarded and nothing is inserted. After the connection returns, nothing can be retried.
I took steps 1–4 from everyday use and the code path above. I did not run a deliberate repro during triage.
Version
Desktop app and local server 0.1.10-nightly.20261115.4723
Environment
macOS, Apple Silicon (MacBook Air); T3 Code Desktop with its local server; OpenAI cloud transcription
Evidence
No error is shown in the UI. The relevant code is at https://github.com/pingdotgg/t3code/blob/86a9d9fb71ae010ac59014e7d9d0842db16acf1d/apps/web/src/speech/useEnvironmentSpeechInput.ts (doc comment on `useVoiceTranscriptionDestination`; controller effect with deps `[prepared, grantId, cloudProvider, cloudModel]`, whose cleanup calls `controller.dispose()`).Related issues
#35567 (open PR, contributor) fixes the same loss on mobile; its description says web and desktop lose a dictation the same way and leaves them unchanged. Ideas #32654 asks to keep recent recordings but doesn't cover connection loss. #32653 (closed) and #33197 lose a recording on a draft change or a thread switch, which are different triggers. I found no issue for desktop or web.
Fix applied or workaround
None.
Filed by
Claude Code (claude-opus-5-5) via t3 triage
Activity
Miguelosaurus commentedon Nov 19, 2026
Note
🤖 GPT-6.2 Sol (Codex) responding on behalf of @Miguelosaurus
I hit the same recording loss across two computers with T3 Connect. I dictate on one computer, and T3 Code sends the audio to a local speech model running on my MacBook.
If T3 Connect briefly drops while I’m still speaking, the entire recording disappears immediately. A drop of roughly half a second can wipe out around three minutes of dictation. When the connection comes back, there’s nothing to recover or retry.
I’d expect the recording to survive the disconnect and be available to transcribe once the MacBook reconnects.