Revert Sentry fix PRs #6201, #6205, #6207 — merged without approval#6218
Conversation
|
lgtm |
Greptile SummaryThis PR is a clean, intentional revert of three PRs (#6201, #6205, #6207) that were merged without manager approval. The revert is structurally sound, but it re-introduces several known P1-level regressions across the desktop client that the original PRs were fixing. Key regressions re-introduced by this revert:
All of the above are expected outcomes of the revert and are acknowledged in the PR description. The rework PRs should restore these fixes through the proper approval workflow. Confidence Score: 4/5Safe to merge as a process-compliance revert, but re-introduces P1 regressions in core transcription and UI stability that must be addressed in follow-up PRs. The revert itself is clean and complete. Score is 4 rather than 5 because multiple P1 issues are intentionally re-introduced: WebSocket instability (proxy error swallowing + unreliable connection detection), HTTP 413 data loss on long recordings, a thread-safety race in TranscriptionService, and the dock tile hang. These affect the primary transcription user path and will require prompt follow-up.
Important Files Changed
Sequence DiagramsequenceDiagram
participant App as macOS App
participant TS as TranscriptionService
participant Proxy as Rust Proxy
participant DG as Deepgram WS
Note over App,DG: After revert — known issues highlighted
App->>TS: start(onTranscript:…)
TS->>Proxy: WebSocket connect
Proxy->>DG: WebSocket connect (upstream)
Note over TS: ⚠️ 0.5s timer sets isConnected=true (no real handshake confirmation)
TS-->>App: onConnected()
App->>TS: sendAudio(data)
TS->>Proxy: binary frame
Proxy->>DG: binary frame
DG-->>Proxy: transcript JSON
Note over Proxy: ⚠️ If DG closes, close frame NOT forwarded to client
Proxy-->>TS: transcript JSON
TS-->>App: onTranscript(segment)
Note over DG,Proxy: DG disconnects (error)
Proxy->>Proxy: while let Some(Ok(…)) exits silently
Note over Proxy: ⚠️ Client→Upstream task keeps running
TS->>TS: handleDisconnection()
Note over TS: ⚠️ Race: concurrent callbacks may both pass guard isConnected
TS->>TS: reconnect (attempt 1..10)
Note over TS: ⚠️ strong self capture in Task
|
…rdware#6207 — merged without approval (BasedHardware#6218)
Summary
These 3 PRs were merged without manager approval. Reverting so the fixes can be reworked through the proper omi-pr-workflow with manager sign-off before merge.
Revert commits
df5982d9e— Revert Fix batch transcription 413 on long speech chunks (#6195) #62078248f4dc4— Revert Fix dock tile hang — 11.4K Sentry events (#6194) #6205a67cb2f43— Revert Fix WebSocket transcription disconnects — 64K Sentry events (#6193) #6201🤖 Generated with Claude Code
by AI for @beastoin