-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(vue): Ensure root component render span always ends #16488
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
base: develop
Are you sure you want to change the base?
Conversation
3f505fe
to
2732497
Compare
size-limit report 📦
|
it.each([true, false])( | ||
'should finish root component span on timer after component spans end, if trackComponents is %s', | ||
() => { | ||
const mixins = createTracingMixins({ trackComponents: false, timeout: 1000 }); |
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.
M: Don't forget to include the variable from the test here at trackComponents
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.
oh damn, good catch, thanks!
This PR fixes a bug discovered in #16486 (comment) where the root component span would not end correctly if
trackComponents
wasfalse
.Also added a comment to explain the purpose of the root component
ui.vue.render
span. We might want to look into renaming or removing this span in the future but for now, let's fix the behaviour.