Sentry shows a large amount of ResizeObserver errors from the same source
Description
A very large percentage of errors reported in the frontend belong to code_review_workflow
, and many of those are related to ResizeObserver loop limit exceeded
, I think it’s worth having a deep look as they may stem from a single source:
Proposal
Investigate where if these errors come from a single source and patch the issue, so our error rate is improved.
Related data
Our sentry data shows this is a very common error, with over 100k events per day.
https://new-sentry.gitlab.net/organizations/gitlab/dashboard/3/
Designs
- Show closed items
Relates to
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- 🤖 GitLab Bot 🤖 added typebug label
added typebug label
- 🤖 GitLab Bot 🤖 added devopscreate sectiondev labels
added devopscreate sectiondev labels
- Author Maintainer
@slashmanov perhaps this is something you are having a look at? I'll assign to you.
cc @andr3
- Miguel Rincon assigned to @slashmanov
assigned to @slashmanov
- Miguel Rincon changed title from Sentry shows a large amount of ResizeObserver errors from the same sources to Sentry shows a large amount of ResizeObserver errors from the same source
changed title from Sentry shows a large amount of ResizeObserver errors from the same sources to Sentry shows a large amount of ResizeObserver errors from the same source
- Miguel Rincon mentioned in issue #394700
mentioned in issue #394700
- André Luís added frontend label
added frontend label
- André Luís changed milestone to %15.11
changed milestone to %15.11
- André Luís set weight to 3
set weight to 3
- Stanislav Lashmanov mentioned in issue #386703 (closed)
mentioned in issue #386703 (closed)
- Stanislav Lashmanov mentioned in issue #395795 (closed)
mentioned in issue #395795 (closed)
- André Luís set weight to 1
set weight to 1
- André Luís added Deliverable label
added Deliverable label
- Maintainer
Setting health status to
on track
as the milestone has just begun.Issue participants are welcome to override this by setting the health status to another value.
- 🤖 GitLab Bot 🤖 changed health status to on track
changed health status to on track
- Maintainer
This issue is scheduled for completion in this milestone but is not yet in development. Changing health status to 'needs attention'.
Issue participants are welcome to override this by setting the health status to another value.
- 🤖 GitLab Bot 🤖 changed health status to needs attention
changed health status to needs attention
- Maintainer
This issue is scheduled for completion in this milestone but is in an early development stage. Changing health status to 'at risk'.
Issue participants are welcome to override this by setting the health status to another value.
- 🤖 GitLab Bot 🤖 changed health status to at risk
changed health status to at risk
- Stanislav Lashmanov added workflowin dev label
added workflowin dev label
- 🤖 GitLab Bot 🤖 changed milestone to %16.0
changed milestone to %16.0
- 🤖 GitLab Bot 🤖 added missed-deliverable missed:15.11 labels
added missed-deliverable missed:15.11 labels
- Stanislav Lashmanov removed workflowin dev label
removed workflowin dev label
- Maintainer
We're going to remove ResizeObserver from the FileTree. While I was working on it I've noticed that these errors are still there even with the changes applied. That means that the bug is caused primarily by a 3rd party library (
vue-virtual-scroller
).I am able to reproduce the error locally by changing zoom very quickly. The error is most definitely caused by
DynamicScroller.vue
(part of our "fork" of a 3rd party). Unfortunately it's very hard to understand what's going on because there's no error stack:Previously we thought this was caused by the FileTree virtual scrolling so that should be out of the question now.
I am going to unassign myself for now because I don't have the capacity to dig even deeper on this. Anyone's free to pick it up, especially if you have experience with virtual scrolling.
/cc @andr3
Collapse replies - Developer
@slashmanov thanks for the insight.
@iamphill would you say we're close to finding a solution for this? Should we schedule a spike for 16.1 at least? WDYT? Anything else we need to do before?
- Maintainer
There is a fix inside of !119753 (merged) that fixes the 3rd party library that we either need to look into why it is happening or push the changes upstream. Though at least this change should fix the errors for now
- Developer
@iamphill great, thanks for the update. Let's at least pursue mitigating the flooding of sentry with this into 16.1
- Developer
@iamphill can you please help us figure out if this is still a concern? In sentry it still shows quite a good deal of events, still.
/cc @thomasrandolph
- Maintainer
With !119753 (merged) being merged and deployed it looks like the number of events has dropped. Not sure what else can be done.
- Author Maintainer
I think this issue is solved! We have sharp decrease of these events in the last 24 hours:
I think we could move this to workflowverification and keep it under observation for a day or more and close this if the trend stays the same
@ayeung If you happen to be monitoring
new-sentry
's resource consumption you may also see decrease now that we are processing fewer events. 2 - Developer
- Author Maintainer
I'll close this issue as done now that errors are not reported anymore. Thanks all for looking into this!
- Stanislav Lashmanov unassigned @slashmanov
unassigned @slashmanov
- Maintainer
Setting health status to
on track
as the milestone has just begun.Issue participants are welcome to override this by setting the health status to another value.
- 🤖 GitLab Bot 🤖 changed health status to on track
changed health status to on track
- Miguel Rincon mentioned in merge request !115867 (merged)
mentioned in merge request !115867 (merged)
- Maintainer
This issue is scheduled for completion in this milestone but doesn't have an assignee. Changing health status to 'needs attention'.
Issue participants are welcome to override this by setting the health status to another value.
- 🤖 GitLab Bot 🤖 changed health status to needs attention
changed health status to needs attention
- Jiaan Louw mentioned in merge request !115173 (merged)
mentioned in merge request !115173 (merged)
- Maintainer
This issue is scheduled for completion in this milestone but doesn't have an assignee. Changing health status to 'at risk'.
Issue participants are welcome to override this by setting the health status to another value.
- 🤖 GitLab Bot 🤖 changed health status to at risk
changed health status to at risk
- André Luís changed milestone to %16.1
changed milestone to %16.1
- Maintainer
Setting health status to
on track
as the milestone has just begun.Issue participants are welcome to override this by setting the health status to another value.
- 🤖 GitLab Bot 🤖 changed health status to on track
changed health status to on track
- André Luís assigned to @thomasrandolph
assigned to @thomasrandolph
- Miguel Rincon added workflowverification label
added workflowverification label
- Miguel Rincon marked this issue as related to #412874 (closed)
marked this issue as related to #412874 (closed)
- Thomas Randolph unassigned @thomasrandolph
unassigned @thomasrandolph
- Miguel Rincon changed the description
Compare with previous version changed the description
- Miguel Rincon closed
closed
- Maintainer
@mrincon, the workflow label was automatically updated to workflowcomplete because you closed the issue while in workflowverification.
If this is not the correct label, please update.
To avoid this message, update the workflow label as you close the issue.
- 🤖 GitLab Bot 🤖 added workflowcomplete label and removed workflowverification label
added workflowcomplete label and removed workflowverification label
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#12804 (closed)
mentioned in issue gitlab-org/quality/triage-reports#12804 (closed)