fix: Use cached version of 'chrome' in app-init.js#24103
Merged
Conversation
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #24103 +/- ##
========================================
Coverage 67.60% 67.60%
========================================
Files 1251 1251
Lines 49000 49000
Branches 12793 12793
========================================
Hits 33125 33125
Misses 15875 15875 ☔ View full report in Codecov by Sentry. |
Collaborator
Builds ready [af2c476]
Page Load Metrics (2172 ± 748 ms)
Bundle size diffs
|
weizman
approved these changes
Apr 18, 2024
brad-decker
approved these changes
Apr 18, 2024
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description
When loading a prod mv3 build, we observed that a majority of the time, the offscreen document would not be created. In those case, we saw the following error in the service worker console:
Which comes from this code in
app-init.js:The solution is to cache a version of chrome before it has been scuttled.
Related issues
Fixes:
Manual testing steps
yarn dist:mv3Pre-merge author checklist
Pre-merge reviewer checklist