Hatch Browser Extension Sometimes Fails to Respond
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned |
Bug Description
Evergreen 3.8 / Affects All Versions
The Hatch browser extension fails to correctly relay responses from the Hatch Java process back to the requesting browser tab.
One theory is the browser tab connect / message / disconnect messages are arriving sometimes in an unexpected order, causing an active tab to be removed from the set of tabs which may receive responses.
From a sample extension log where a failure occurred:
16:43:08.108 extension.js:89 new port connected with id 2
16:43:08.108 extension.js:113 Removing port 2 on tab disconnect
16:43:08.372 extension.js:92 Received message from browser on port 2
The first 2 messages typically arrive in the opposite order. In this case, port (i.e. Tab) 2 is still active, but removed from consideration before the 3rd message arrives.
Changed in evergreen: | |
importance: | Undecided → High |
I have seen this with Chrome 95.0.4638.69 and hatch 0.3.2 with extension 0.2.2 and Evergreen 3.7.1. Exact same thing happens.