Skip to content

fix(chrome-extension): cancel the mic warning when its tab closes or navigates - #3607

Open
yashranaway wants to merge 1 commit into
CapSoftware:mainfrom
yashranaway:fix/extension-r11
Open

yashranaway wants to merge 1 commit into
CapSoftware:mainfrom
yashranaway:fix/extension-r11

Conversation

@yashranaway

@yashranaway yashranaway commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

when you start a recording with no or a silent mic, the extension asks "record without a microphone?" in the tab. if you close, reload or navigate that tab instead of answering, nothing tells the service worker, so the start just hangs for the 2 minute prompt timeout, and every start click from the panel or floating bar joins that same stuck start and spins.

now while the prompt is up it also answers "cancel" when the page goes away, the same answer the cancel button sends, so the worker's normal cancel path frees things up right away. a crashed tab still falls back to the timeout.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

Adds cancellation when the microphone warning’s page closes, reloads, or navigates.

  • The microphone warning cancels the start when its tab goes away.

No actionable issues found. Tests were inspected but not run.

Reviews (1) · Last reviewed commit: "fix(chrome-extension): cancel the mic wa..." · Reviewed by Greptile

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel

vercel Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Nov 1, 2026 7:20am UTC
@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 07:20 Inactive

This branch was previously deployed

1 inactive deployment
Preview – cap-status — 86aa4c6a Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant