-
Notifications
You must be signed in to change notification settings - Fork 49.5k
[Flight] Improve owner and component stacks when aborting #34755
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: main
Are you sure you want to change the base?
[Flight] Improve owner and component stacks when aborting #34755
Conversation
5e89b83
to
b174161
Compare
// Promise that was aborted. This won't necessarily have I/O associated with it but | ||
// it's a point of interest. | ||
// However, if the Promise and IO node have the same owner, it likely means a sync component | ||
// created both the Promise and initiated the I/O. Prefer the IO node for more specific info. |
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.
This part doesn't make sense to me. Why would this be an indicator that it's better?
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.
Whoops, that's a leftover I forgot to remove. We actually don't need this condition.
b174161
to
f5a07a5
Compare
when scheduling prerendering and aborting in successive tasks using setImmediate ✕ includes deeper location for hanging promises ✓ includes deeper location for hanging promises in ignore-listed components ! includes deeper location for unresolved I/O (this one is flaky!) when scheduling prerendering and aborting in successive tasks using setTimeout ✓ includes deeper location for hanging promises ✕ includes deeper location for hanging promises in ignore-listed components ✕ includes deeper location for unresolved I/O
d30af01
to
3e5782f
Compare
Alternative to #34638, covering not only hanging promises, but also unresolved I/O.