Skip to content

mic-stopped-peding#5034

Open
yujonglee wants to merge 1 commit intomainfrom
mic-stopped-pending
Open

mic-stopped-peding#5034
yujonglee wants to merge 1 commit intomainfrom
mic-stopped-pending

Conversation

@yujonglee
Copy link
Copy Markdown
Contributor

No description provided.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 14, 2026

Deploy Preview for char-cli-web canceled.

Name Link
🔨 Latest commit a7ae905
🔍 Latest deploy log https://app.netlify.com/projects/char-cli-web/deploys/69de10c24774690008043155

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 14, 2026

Deploy Preview for unsigned-char ready!

Name Link
🔨 Latest commit a7ae905
🔍 Latest deploy log https://app.netlify.com/projects/unsigned-char/deploys/69de10c255b4f3000868b555
😎 Deploy Preview https://deploy-preview-5034--unsigned-char.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 14, 2026

Deploy Preview for hyprnote canceled.

Name Link
🔨 Latest commit a7ae905
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/69de10c222ac4d00074d0a0e

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a7ae905. Configure here.

} else if (payload.type === "micStopped") {
stop();
setMicStoppedPending(true);
windowsCommands.windowShow({ type: "main" });
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing active session guard for micStopped event handler

Medium Severity

The micStopped event handler sets micStoppedPending to true and shows the main window without checking whether Hypr has an active recording session. The detect plugin fires micStopped at the system level whenever any meeting app releases the mic — independent of Hypr's state. Previously, calling stop() was a harmless no-op when no session was active. Now it results in a confusing "Is your meeting over?" prompt even when the user never started recording. The micDetected handler already has a live.status === "active" guard for exactly this reason, but the micStopped handler lacks an equivalent check.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit a7ae905. Configure here.

onClick={() => {
stop();
setMicStoppedPending(false);
}}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale micStoppedPending flag can stop a subsequent session

High Severity

micStoppedPending is only cleared by the MeetingOverCTA buttons ("Yes"/"No"). If the session stops through any other path — the header "Stop" button, a sleepStateChanged event, or an error — the flag stays true. When the user later starts a new session, the stale CTA appears, and clicking "Yes" calls stop() on the new session, terminating it unexpectedly. The flag needs to be cleared whenever the live session transitions to inactive (e.g., in markLiveInactive or equivalent).

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit a7ae905. Configure here.

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