Three weeks ago I pushed an update to my extension that moved from MV2 to MV3 and added some features. The extension has 50k users with ~600k uses per week and is featured in the store so I was super careful with the update knowing the current reputation of MV3.
The launch was successful; I tested the extension heavily before the update, and had it on a 10% rollout, to begin with, no one complained, so increased the rollout to 100% after a week with a public launch of the new features - no complaints.
However, over time, I started receiving emails from users that the extension refuses to open - it's supposed to open when you click the icon and it inserts some UI to the current tab, in other words, it adds a listener to `chrome.action.onClicked`.
Yesterday, I experienced it myself and today it happened again - nothing happens when I click the extension icon. So I used all I know to debug it but unfortunately without any success so far. Here's what I tried:
1. In `chrome://extensions/` the service worker is inactive, which is normal and it was waking up properly in reaction to events
2. I tried the
service worker debugging technique and to my surprise, no service worker is showing in Application->Service Workers. I confirmed that by inspecting all service workers registered in the browser
Is there any way of digging into it to find the root cause of this issue? Or is this maybe a bug in Chrome? And if it's a bug then is there any way of fixing/preventing it from happening?
Thanks,
Pawel