-
Notifications
You must be signed in to change notification settings - Fork 831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analytics fixes #1319
Analytics fixes #1319
Conversation
@@ -124,6 +124,10 @@ class Queue { | |||
|
|||
let storableRequest; | |||
while (storableRequest = await this._queueStore.getAndRemoveOldestEntry()) { | |||
// Make a copy so the unmodified request can be stored] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the ]
from stored]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from me with one nit.
PR-Bot Size PluginChanged File Sizes
New FilesNo new files have been added. All File SizesView Table
Workbox Aggregate Size Plugin☠️ WARNING ☠️We are using 155% of our max size budget. Total Size: 22.7KB Gzipped: 9.1KB |
@philipwalton @gauntface working for me now 👍 Thanks guys |
R: @jeffposnick @addyosmani @gauntface
Fixes #1309
This PR fixes the error in #1309, which was resulting from
workbox-google-analytics
setting the replayed request headers as the string'[["Content-Type", "text/plain"]]'
instead of the object.This likely means none of the replays were working, something that ideally should have been caught by an integration test. I'll put together another PR to make sure an integration test exists that ensures the entire process works. (Note, the node tests didn't catch this because we use header mock that didn't error here when they should have. Not sure if anything should be done about that though.)
In the process of manually testing it, I noticed a few other issues that I fixed as well.
workbox-background-sync
requests that were modified were storing the modified versions, I updated it to store the original.workbox-google-analytics
requests that already included aqt
param were having that param overridden when the correct behavior should be to update it instead./cc: @DavidScales