Skip to content

Commit 608544b

Browse files
committed
[Fizz] Push a stalled await from debug info to the ownerStack/debugTask (#33634)
If an aborted task is not rendering, then this is an async abort. Conceptually it's as if the abort happened inside the async gap. The abort reason's stack frame won't have that on the stack so instead we use the owner stack and debug task of any halted async debug info. One thing that's a bit awkward is that if you do have a sync abort and you use that error as the "reason" then that thing still has a sync stack in a different component. In another approach I was exploring having different error objects for each component but I don't think that's worth it. DiffTrain build for [cee7939](cee7939)
1 parent 3d92b7b commit 608544b

35 files changed

+110
-95
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e67b4fe22e0c3c267303ee6737aec1db48055022
1+
cee7939b0017ff58230e19663c22393bfd9025ef
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e67b4fe22e0c3c267303ee6737aec1db48055022
1+
cee7939b0017ff58230e19663c22393bfd9025ef

compiled/facebook-www/React-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ __DEV__ &&
14791479
exports.useTransition = function () {
14801480
return resolveDispatcher().useTransition();
14811481
};
1482-
exports.version = "19.2.0-www-classic-e67b4fe2-20250624";
1482+
exports.version = "19.2.0-www-classic-cee7939b-20250625";
14831483
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14841484
"function" ===
14851485
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ __DEV__ &&
14791479
exports.useTransition = function () {
14801480
return resolveDispatcher().useTransition();
14811481
};
1482-
exports.version = "19.2.0-www-modern-e67b4fe2-20250624";
1482+
exports.version = "19.2.0-www-modern-cee7939b-20250625";
14831483
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14841484
"function" ===
14851485
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
630630
exports.useTransition = function () {
631631
return ReactSharedInternals.H.useTransition();
632632
};
633-
exports.version = "19.2.0-www-classic-e67b4fe2-20250624";
633+
exports.version = "19.2.0-www-classic-cee7939b-20250625";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
630630
exports.useTransition = function () {
631631
return ReactSharedInternals.H.useTransition();
632632
};
633-
exports.version = "19.2.0-www-modern-e67b4fe2-20250624";
633+
exports.version = "19.2.0-www-modern-cee7939b-20250625";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
634634
exports.useTransition = function () {
635635
return ReactSharedInternals.H.useTransition();
636636
};
637-
exports.version = "19.2.0-www-classic-e67b4fe2-20250624";
637+
exports.version = "19.2.0-www-classic-cee7939b-20250625";
638638
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
639639
"function" ===
640640
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
634634
exports.useTransition = function () {
635635
return ReactSharedInternals.H.useTransition();
636636
};
637-
exports.version = "19.2.0-www-modern-e67b4fe2-20250624";
637+
exports.version = "19.2.0-www-modern-cee7939b-20250625";
638638
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
639639
"function" ===
640640
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19073,10 +19073,10 @@ __DEV__ &&
1907319073
(function () {
1907419074
var internals = {
1907519075
bundleType: 1,
19076-
version: "19.2.0-www-classic-e67b4fe2-20250624",
19076+
version: "19.2.0-www-classic-cee7939b-20250625",
1907719077
rendererPackageName: "react-art",
1907819078
currentDispatcherRef: ReactSharedInternals,
19079-
reconcilerVersion: "19.2.0-www-classic-e67b4fe2-20250624"
19079+
reconcilerVersion: "19.2.0-www-classic-cee7939b-20250625"
1908019080
};
1908119081
internals.overrideHookState = overrideHookState;
1908219082
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19110,7 +19110,7 @@ __DEV__ &&
1911019110
exports.Shape = Shape;
1911119111
exports.Surface = Surface;
1911219112
exports.Text = Text;
19113-
exports.version = "19.2.0-www-classic-e67b4fe2-20250624";
19113+
exports.version = "19.2.0-www-classic-cee7939b-20250625";
1911419114
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1911519115
"function" ===
1911619116
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18845,10 +18845,10 @@ __DEV__ &&
1884518845
(function () {
1884618846
var internals = {
1884718847
bundleType: 1,
18848-
version: "19.2.0-www-modern-e67b4fe2-20250624",
18848+
version: "19.2.0-www-modern-cee7939b-20250625",
1884918849
rendererPackageName: "react-art",
1885018850
currentDispatcherRef: ReactSharedInternals,
18851-
reconcilerVersion: "19.2.0-www-modern-e67b4fe2-20250624"
18851+
reconcilerVersion: "19.2.0-www-modern-cee7939b-20250625"
1885218852
};
1885318853
internals.overrideHookState = overrideHookState;
1885418854
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18882,7 +18882,7 @@ __DEV__ &&
1888218882
exports.Shape = Shape;
1888318883
exports.Surface = Surface;
1888418884
exports.Text = Text;
18885-
exports.version = "19.2.0-www-modern-e67b4fe2-20250624";
18885+
exports.version = "19.2.0-www-modern-cee7939b-20250625";
1888618886
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1888718887
"function" ===
1888818888
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)