Skip to content
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

🌸 Cherry-pick request for #36197 into 2109272305000 #36199

Closed
samouri opened this issue Sep 29, 2021 · 4 comments
Closed

🌸 Cherry-pick request for #36197 into 2109272305000 #36199

samouri opened this issue Sep 29, 2021 · 4 comments
Assignees
Labels
Cherry-pick: Beta Cherry-pick: Experimental Type: Release Used to track AMP releases from canary to production

Comments

@samouri
Copy link
Member

samouri commented Sep 29, 2021

Issue (P0 Bug)

ampproject/error-reporting#106

Pull Request(s)

#36197

Release Tracker(s)

#36186

Channels

Beta / Experimental

Formats

Websites, Stories

Justification

The bug causes an error to be thrown for all pages that emit layout-shift events before Performance service has fully initialized. AFAICT this shouldn't actually break UX of the page, and will only create noise. Judging by volume on Nightly, the amount of noise is incredibly high.

Therefore this is worth fixing in Beta, where the bar is lower for CPs

Verification Steps

New unit test + the stacktrace in the error make it clear that it should be fixed.

Summary

No response

Impact

Noise in error logs on Beta channel.

Action Items

N/A, all taken within the fix PR.

Notifications

/cc @ampproject/release-on-duty @ampproject/wg-approvers @ampproject/cherry-pick-approvers

@gmajoulet
Copy link
Contributor

Would we have a drop in layout-shift events volume unless we CP?

@samouri samouri self-assigned this Sep 29, 2021
@kristoferbaxter
Copy link
Contributor

Approved. Thanks!

@samouri
Copy link
Member Author

samouri commented Sep 29, 2021

Would we have a drop in layout-shift events volume unless we CP?

Still digging through the code now. I'm not sure if it will affect volume, but a side effect in the error path would be a reduced CLS ticked under cls-1. I do believe the OG PR will affect volume though (#36147)

@rsimha
Copy link
Contributor

rsimha commented Sep 29, 2021

Judging by volume on Nightly, the amount of noise is incredibly high.
Therefore this is worth fixing in Beta, where the bar is lower for CPs

I'm convinced by these two statements. Approved.

@samouri samouri changed the title 🌸 Cherry-pick request for #36197 into #36186 🌸 Cherry-pick request for #36197 into 2109272305000 Sep 29, 2021
@samouri samouri closed this as completed Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cherry-pick: Beta Cherry-pick: Experimental Type: Release Used to track AMP releases from canary to production
Projects
None yet
Development

No branches or pull requests

4 participants