Repository navigation
fix(desktop-windows): fail closed when meeting capture cannot start - #10854
Merged
Git-on-my-level merged 1 commit intoJul 30, 2026
Conversation
Failure-Class: none
Member
|
Thanks for this — it is a careful, well-tested end-to-end fix for a real correctness/UX bug (the toast claiming "Omi is capturing" while nothing was actually recording). A few notes from review: What lands well
For human review before merge
Flagging for maintainer review rather than approving: large diff touching the security-sensitive capture/IPC surface, and Windows runtime verification is outside what this automated pass can independently exercise. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
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 changed and why
Closes #10851.
Windows meeting capture now reports
startedonly after both the requested audio pipelines and Omi transcription transports are ready. Startup failures, dropped lanes, capture-window restarts, cancellation, and retries now tear down the affected attempt and show an actionable error instead of leaving a false "capturing" state.Capture and listen IPC commands are also bound to trusted windows and session owners so readiness/error events and cleanup reach the renderer that owns the lane.
Product invariants affected
none
How it was verified
npx vitest runover 13 focused main/renderer test files: 79 tests passed.npm run typecheck: node and web TypeScript checks passed.npx eslintover every changed TypeScript/TSX file: 0 errors.npm run build: production Electron build, bytecode verification, and extension bundling passed.npm run test:e2e:meeting: 3 end-to-end Electron scenarios passed; the optional YAMNet fixture scenario was skipped because speech fixtures are not installed.Tests
Regression coverage now pins the real audio-pipeline readiness barrier, exact startup rejection and cancellation, transactional mic/system startup, continuous-mic health delegation, attempt-isolated retry, early lane failure, capture-window restart routing, owner-bound IPC, and the retry/error toast states.
The meeting E2E now verifies that an unauthenticated startup reports
startup-error, clears the capturing state, and never displays "Omi is capturing".Failure class (fixes)
Failure-Class: none