Skip to content

Commit 73fd0d4

Browse files
committed
[Flight] Make debug info and console log resolve in predictable order (facebook#33665)
This resolves an outstanding issue where it was possible for debug info and console logs to become out of order if they up blocked. E.g. by a future reference or a client reference that hasn't loaded yet. Such as if you console.log a client reference followed by one that doesn't. This encodes the order similar to how the stream chunks work. This also blocks the main chunk from resolving until the last debug info has fully loaded, including future references and client references. This also ensures that we could send some of that data in a different stream, since then it can come out of order. DiffTrain build for [28d4bc4](facebook@28d4bc4)
1 parent 994d47f commit 73fd0d4

26 files changed

+113
-97
lines changed

compiled-rn/VERSION_NATIVE_FB

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.2.0-native-fb-da7487b6-20250716
1+
19.2.0-native-fb-28d4bc49-20250719

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<7a16f4127ea5994ac683ee98ca37d662>>
10+
* @generated SignedSource<<b6881d89d06cc7b0d8d974ddbe8325d5>>
1111
*/
1212

1313
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
404404
exports.useFormStatus = function () {
405405
return resolveDispatcher().useHostTransitionStatus();
406406
};
407-
exports.version = "19.2.0-native-fb-da7487b6-20250716";
407+
exports.version = "19.2.0-native-fb-28d4bc49-20250719";
408408
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<db7c958190919d6335eff586f264b076>>
10+
* @generated SignedSource<<7b09bdc6b9c2078c6b82b58bc63cf8b9>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.2.0-native-fb-da7487b6-20250716";
206+
exports.version = "19.2.0-native-fb-28d4bc49-20250719";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<db7c958190919d6335eff586f264b076>>
10+
* @generated SignedSource<<7b09bdc6b9c2078c6b82b58bc63cf8b9>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.2.0-native-fb-da7487b6-20250716";
206+
exports.version = "19.2.0-native-fb-28d4bc49-20250719";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<fe0b2edb25552d495ca6625dd64e7056>>
10+
* @generated SignedSource<<b772859989540eca5531e2b7c66a2072>>
1111
*/
1212

1313
/*
@@ -29007,11 +29007,11 @@ __DEV__ &&
2900729007
};
2900829008
(function () {
2900929009
var isomorphicReactPackageVersion = React.version;
29010-
if ("19.2.0-native-fb-da7487b6-20250716" !== isomorphicReactPackageVersion)
29010+
if ("19.2.0-native-fb-28d4bc49-20250719" !== isomorphicReactPackageVersion)
2901129011
throw Error(
2901229012
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2901329013
(isomorphicReactPackageVersion +
29014-
"\n - react-dom: 19.2.0-native-fb-da7487b6-20250716\nLearn more: https://react.dev/warnings/version-mismatch")
29014+
"\n - react-dom: 19.2.0-native-fb-28d4bc49-20250719\nLearn more: https://react.dev/warnings/version-mismatch")
2901529015
);
2901629016
})();
2901729017
("function" === typeof Map &&
@@ -29048,10 +29048,10 @@ __DEV__ &&
2904829048
!(function () {
2904929049
var internals = {
2905029050
bundleType: 1,
29051-
version: "19.2.0-native-fb-da7487b6-20250716",
29051+
version: "19.2.0-native-fb-28d4bc49-20250719",
2905229052
rendererPackageName: "react-dom",
2905329053
currentDispatcherRef: ReactSharedInternals,
29054-
reconcilerVersion: "19.2.0-native-fb-da7487b6-20250716"
29054+
reconcilerVersion: "19.2.0-native-fb-28d4bc49-20250719"
2905529055
};
2905629056
internals.overrideHookState = overrideHookState;
2905729057
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29189,5 +29189,5 @@ __DEV__ &&
2918929189
listenToAllSupportedEvents(container);
2919029190
return new ReactDOMHydrationRoot(initialChildren);
2919129191
};
29192-
exports.version = "19.2.0-native-fb-da7487b6-20250716";
29192+
exports.version = "19.2.0-native-fb-28d4bc49-20250719";
2919329193
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<69b52bc5716a3b0e6aa7da35c3db25b3>>
10+
* @generated SignedSource<<678d972ef72eb60393de3a5e8237da15>>
1111
*/
1212

1313
/*
@@ -17123,14 +17123,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1712317123
};
1712417124
var isomorphicReactPackageVersion$jscomp$inline_2004 = React.version;
1712517125
if (
17126-
"19.2.0-native-fb-da7487b6-20250716" !==
17126+
"19.2.0-native-fb-28d4bc49-20250719" !==
1712717127
isomorphicReactPackageVersion$jscomp$inline_2004
1712817128
)
1712917129
throw Error(
1713017130
formatProdErrorMessage(
1713117131
527,
1713217132
isomorphicReactPackageVersion$jscomp$inline_2004,
17133-
"19.2.0-native-fb-da7487b6-20250716"
17133+
"19.2.0-native-fb-28d4bc49-20250719"
1713417134
)
1713517135
);
1713617136
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17152,10 +17152,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1715217152
};
1715317153
var internals$jscomp$inline_2523 = {
1715417154
bundleType: 0,
17155-
version: "19.2.0-native-fb-da7487b6-20250716",
17155+
version: "19.2.0-native-fb-28d4bc49-20250719",
1715617156
rendererPackageName: "react-dom",
1715717157
currentDispatcherRef: ReactSharedInternals,
17158-
reconcilerVersion: "19.2.0-native-fb-da7487b6-20250716"
17158+
reconcilerVersion: "19.2.0-native-fb-28d4bc49-20250719"
1715917159
};
1716017160
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1716117161
var hook$jscomp$inline_2524 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17253,4 +17253,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1725317253
listenToAllSupportedEvents(container);
1725417254
return new ReactDOMHydrationRoot(initialChildren);
1725517255
};
17256-
exports.version = "19.2.0-native-fb-da7487b6-20250716";
17256+
exports.version = "19.2.0-native-fb-28d4bc49-20250719";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<6463ad015203a078f56bed9918c4dc6c>>
10+
* @generated SignedSource<<b75bb56119e162d0e533dd31b6203edc>>
1111
*/
1212

1313
/*
@@ -19081,14 +19081,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1908119081
};
1908219082
var isomorphicReactPackageVersion$jscomp$inline_2244 = React.version;
1908319083
if (
19084-
"19.2.0-native-fb-da7487b6-20250716" !==
19084+
"19.2.0-native-fb-28d4bc49-20250719" !==
1908519085
isomorphicReactPackageVersion$jscomp$inline_2244
1908619086
)
1908719087
throw Error(
1908819088
formatProdErrorMessage(
1908919089
527,
1909019090
isomorphicReactPackageVersion$jscomp$inline_2244,
19091-
"19.2.0-native-fb-da7487b6-20250716"
19091+
"19.2.0-native-fb-28d4bc49-20250719"
1909219092
)
1909319093
);
1909419094
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19110,10 +19110,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1911019110
};
1911119111
var internals$jscomp$inline_2251 = {
1911219112
bundleType: 0,
19113-
version: "19.2.0-native-fb-da7487b6-20250716",
19113+
version: "19.2.0-native-fb-28d4bc49-20250719",
1911419114
rendererPackageName: "react-dom",
1911519115
currentDispatcherRef: ReactSharedInternals,
19116-
reconcilerVersion: "19.2.0-native-fb-da7487b6-20250716",
19116+
reconcilerVersion: "19.2.0-native-fb-28d4bc49-20250719",
1911719117
getLaneLabelMap: function () {
1911819118
for (
1911919119
var map = new Map(), lane = 1, index$319 = 0;
@@ -19226,4 +19226,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1922619226
listenToAllSupportedEvents(container);
1922719227
return new ReactDOMHydrationRoot(initialChildren);
1922819228
};
19229-
exports.version = "19.2.0-native-fb-da7487b6-20250716";
19229+
exports.version = "19.2.0-native-fb-28d4bc49-20250719";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<78e51116769a17676ed252810f0aa097>>
10+
* @generated SignedSource<<3364eff15ff383b6a9f627764fa216b6>>
1111
*/
1212

1313
/*
@@ -29063,11 +29063,11 @@ __DEV__ &&
2906329063
};
2906429064
(function () {
2906529065
var isomorphicReactPackageVersion = React.version;
29066-
if ("19.2.0-native-fb-da7487b6-20250716" !== isomorphicReactPackageVersion)
29066+
if ("19.2.0-native-fb-28d4bc49-20250719" !== isomorphicReactPackageVersion)
2906729067
throw Error(
2906829068
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2906929069
(isomorphicReactPackageVersion +
29070-
"\n - react-dom: 19.2.0-native-fb-da7487b6-20250716\nLearn more: https://react.dev/warnings/version-mismatch")
29070+
"\n - react-dom: 19.2.0-native-fb-28d4bc49-20250719\nLearn more: https://react.dev/warnings/version-mismatch")
2907129071
);
2907229072
})();
2907329073
("function" === typeof Map &&
@@ -29104,10 +29104,10 @@ __DEV__ &&
2910429104
!(function () {
2910529105
var internals = {
2910629106
bundleType: 1,
29107-
version: "19.2.0-native-fb-da7487b6-20250716",
29107+
version: "19.2.0-native-fb-28d4bc49-20250719",
2910829108
rendererPackageName: "react-dom",
2910929109
currentDispatcherRef: ReactSharedInternals,
29110-
reconcilerVersion: "19.2.0-native-fb-da7487b6-20250716"
29110+
reconcilerVersion: "19.2.0-native-fb-28d4bc49-20250719"
2911129111
};
2911229112
internals.overrideHookState = overrideHookState;
2911329113
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29561,7 +29561,7 @@ __DEV__ &&
2956129561
exports.useFormStatus = function () {
2956229562
return resolveDispatcher().useHostTransitionStatus();
2956329563
};
29564-
exports.version = "19.2.0-native-fb-da7487b6-20250716";
29564+
exports.version = "19.2.0-native-fb-28d4bc49-20250719";
2956529565
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2956629566
"function" ===
2956729567
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<f7e8d9c241723e040115e5f02b5392d7>>
10+
* @generated SignedSource<<b81fa6360e2b542af93066efa5c11ee4>>
1111
*/
1212

1313
/*
@@ -17134,14 +17134,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1713417134
};
1713517135
var isomorphicReactPackageVersion$jscomp$inline_2005 = React.version;
1713617136
if (
17137-
"19.2.0-native-fb-da7487b6-20250716" !==
17137+
"19.2.0-native-fb-28d4bc49-20250719" !==
1713817138
isomorphicReactPackageVersion$jscomp$inline_2005
1713917139
)
1714017140
throw Error(
1714117141
formatProdErrorMessage(
1714217142
527,
1714317143
isomorphicReactPackageVersion$jscomp$inline_2005,
17144-
"19.2.0-native-fb-da7487b6-20250716"
17144+
"19.2.0-native-fb-28d4bc49-20250719"
1714517145
)
1714617146
);
1714717147
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17163,10 +17163,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1716317163
};
1716417164
var internals$jscomp$inline_2526 = {
1716517165
bundleType: 0,
17166-
version: "19.2.0-native-fb-da7487b6-20250716",
17166+
version: "19.2.0-native-fb-28d4bc49-20250719",
1716717167
rendererPackageName: "react-dom",
1716817168
currentDispatcherRef: ReactSharedInternals,
17169-
reconcilerVersion: "19.2.0-native-fb-da7487b6-20250716"
17169+
reconcilerVersion: "19.2.0-native-fb-28d4bc49-20250719"
1717017170
};
1717117171
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1717217172
var hook$jscomp$inline_2527 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17417,4 +17417,4 @@ exports.useFormState = function (action, initialState, permalink) {
1741717417
exports.useFormStatus = function () {
1741817418
return ReactSharedInternals.H.useHostTransitionStatus();
1741917419
};
17420-
exports.version = "19.2.0-native-fb-da7487b6-20250716";
17420+
exports.version = "19.2.0-native-fb-28d4bc49-20250719";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<786514a652cb113176eaf7ee235f47a9>>
10+
* @generated SignedSource<<12959f6698ab65b136edf5ed3c4a987a>>
1111
*/
1212

1313
/*
@@ -19096,14 +19096,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1909619096
};
1909719097
var isomorphicReactPackageVersion$jscomp$inline_2245 = React.version;
1909819098
if (
19099-
"19.2.0-native-fb-da7487b6-20250716" !==
19099+
"19.2.0-native-fb-28d4bc49-20250719" !==
1910019100
isomorphicReactPackageVersion$jscomp$inline_2245
1910119101
)
1910219102
throw Error(
1910319103
formatProdErrorMessage(
1910419104
527,
1910519105
isomorphicReactPackageVersion$jscomp$inline_2245,
19106-
"19.2.0-native-fb-da7487b6-20250716"
19106+
"19.2.0-native-fb-28d4bc49-20250719"
1910719107
)
1910819108
);
1910919109
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19125,10 +19125,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1912519125
};
1912619126
var internals$jscomp$inline_2252 = {
1912719127
bundleType: 0,
19128-
version: "19.2.0-native-fb-da7487b6-20250716",
19128+
version: "19.2.0-native-fb-28d4bc49-20250719",
1912919129
rendererPackageName: "react-dom",
1913019130
currentDispatcherRef: ReactSharedInternals,
19131-
reconcilerVersion: "19.2.0-native-fb-da7487b6-20250716",
19131+
reconcilerVersion: "19.2.0-native-fb-28d4bc49-20250719",
1913219132
getLaneLabelMap: function () {
1913319133
for (
1913419134
var map = new Map(), lane = 1, index$319 = 0;
@@ -19394,7 +19394,7 @@ exports.useFormState = function (action, initialState, permalink) {
1939419394
exports.useFormStatus = function () {
1939519395
return ReactSharedInternals.H.useHostTransitionStatus();
1939619396
};
19397-
exports.version = "19.2.0-native-fb-da7487b6-20250716";
19397+
exports.version = "19.2.0-native-fb-28d4bc49-20250719";
1939819398
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1939919399
"function" ===
1940019400
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)