SIGN IN SIGN UP

[Flight] Emit Partial Debug Info if we have any at the point of aborting a render (#33632)

When we abort a render we don't really have much information about the
task that was aborted. Because before a Promise resolves there's no
indication about would have resolved it. In particular we don't know
which I/O would've ultimately called resolve().

However, we can at least emit any information we do have at the point
where we emit it. At the least the stack of the top most Promise.

Currently we synchronously flush at the end of an `abort()` but we
should ideally schedule the flush in a macrotask and emit this debug
information right before that. That way we would give an opportunity for
any `cacheSignal()` abort to trigger rejections all the way up and those
rejections informs the awaited stack.

---------

Co-authored-by: Hendrik Liebau <mail@hendrik-liebau.de>
S
Sebastian Markbåge committed
e67b4fe22e0c3c267303ee6737aec1db48055022
Parent: 4a52348
Committed by GitHub <noreply@github.com> on 6/24/2025, 8:36:21 PM