-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Integrate 0.81.0-nightly-20250604-1a6d466f1 #15163
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
Merged
HariniMalothu17
merged 42 commits into
microsoft:main
from
HariniMalothu17:user/harinimalothu/integrate_0.81.0-0618
Oct 6, 2025
+2,951
−1,701
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
9d3b052
changes before resolving merge conflicts
ff4f7ea
Update tester files
3590d2a
Change files
7ecc7d1
Update Viewproptypes.d.ts files
b3a35e2
Fixed build errors
e7e08bd
Add primitives.h to define HighResTimeStamp in ReactPerfettoLogger.cpp
a11e65c
Merge branch 'main' into user/harinimalothu/integrate_0.81.0-0618
HariniMalothu17 569ea44
lint fix
1be183d
fix for community cli
d0db36e
fix build errors
763f1be
fix build errors
c98d182
Move timing.h include to ReactCommon
jonthysell bf92445
Update communitycli template version
137bda4
Update communitycli template version
31c6ac1
Change files
913d67a
Updated versions that were pointing to precious integration
bcd48a3
Updated tester folder with new file that was added
eee7d94
Merge branch 'main' into user/harinimalothu/integrate_0.81.0-0618
HariniMalothu17 3f76152
Add mockComponent to global scope in tests for RN 0.81.0 where it's n…
5bdeed4
Merge branch 'user/harinimalothu/integrate_0.81.0-0618' of https://gi…
1d33384
Add mockComponent to global scope in tests for RN 0.81.0 where it's n…
ffe9268
change type to copy
7b05163
Lint fix
48a0bc1
change import for newscreenapp
25a6bf9
update missing ternary operator
119c0d6
Fix setup.js file changes
fe7ccbc
Fix yarn validate overrides error
c27c41c
Merge branch 'main' into user/harinimalothu/integrate_0.81.0-0618
HariniMalothu17 d96595f
fix linting errors, update snapshots,update flow version
5db9d8c
Merge branch 'user/harinimalothu/integrate_0.81.0-0618' of https://gi…
237bcc5
update yarn.lock
b31efc5
Update downloadFlowTypes with newly missing flow types
jonthysell ff399d1
Merge branch 'main' into user/harinimalothu/integrate_0.81.0-0618
HariniMalothu17 483aab6
Change files
559d1b1
Fix flowconfig for react-native-win32
jonthysell f3fd551
fix uncleartype and untyped import errors
a3790af
Merge branch 'main' into user/harinimalothu/integrate_0.81.0-0618
HariniMalothu17 8e1ba39
fix uncleartype and untyped import errors
acb528d
Merge branch 'main' into user/harinimalothu/integrate_0.81.0-0618
HariniMalothu17 684da17
update code
4759e94
update code
dfb617d
lint fix
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@office-iss-react-native-win32-9651a155-49de-4025-9742-bd9fc8aadae6.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "Update tester files", | ||
"packageName": "@office-iss/react-native-win32", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
7 changes: 7 additions & 0 deletions
7
change/@react-native-windows-automation-channel-2b6bd733-4c76-4b2b-b9db-fb2210035f93.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "Update tester files", | ||
"packageName": "@react-native-windows/automation-channel", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
7 changes: 7 additions & 0 deletions
7
change/@rnw-scripts-integrate-rn-094dd0ae-4648-41bc-a07e-e4f77733b6aa.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "Update communitycli template version", | ||
"packageName": "@rnw-scripts/integrate-rn", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
7 changes: 7 additions & 0 deletions
7
change/@rnw-scripts-just-task-45ddd392-4803-4110-b0ea-3af83cb2fbc5.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "Update downloadFlowTypes with newly missing flow types", | ||
"packageName": "@rnw-scripts/just-task", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
7 changes: 7 additions & 0 deletions
7
change/react-native-windows-cbc424a4-549d-45f4-a672-4c89c7a597c8.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "Update tester files", | ||
"packageName": "react-native-windows", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
86 changes: 86 additions & 0 deletions
86
packages/@office-iss/react-native-win32-tester/js/utils/JSEventLoopWatchdog.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
/** | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
* @flow | ||
* @format | ||
*/ | ||
|
||
'use strict'; | ||
|
||
type Handler = { | ||
onIterate?: () => void, | ||
onStall: (params: {lastInterval: number, busyTime: number, ...}) => ?string, | ||
... | ||
}; | ||
|
||
/** | ||
* A utility for tracking stalls in the JS event loop that prevent timers and | ||
* other events from being processed in a timely manner. | ||
* | ||
* The "stall" time is defined as the amount of time in access of the acceptable | ||
* threshold, which is typically around 100-200ms. So if the threshold is set to | ||
* 100 and a timer fires 150 ms later than it was scheduled because the event | ||
* loop was tied up, that would be considered a 50ms stall. | ||
* | ||
* By default, logs stall events to the console when installed. Can also be | ||
* queried with `getStats`. | ||
*/ | ||
const JSEventLoopWatchdog = { | ||
getStats: function (): Object { | ||
return {stallCount, totalStallTime, longestStall, acceptableBusyTime}; | ||
}, | ||
reset: function () { | ||
console.log('JSEventLoopWatchdog: reset'); | ||
totalStallTime = 0; | ||
stallCount = 0; | ||
longestStall = 0; | ||
lastInterval = global.performance.now(); | ||
}, | ||
addHandler: function (handler: Handler) { | ||
handlers.push(handler); | ||
}, | ||
install: function ({thresholdMS}: {thresholdMS: number, ...}) { | ||
acceptableBusyTime = thresholdMS; | ||
if (installed) { | ||
return; | ||
} | ||
installed = true; | ||
lastInterval = global.performance.now(); | ||
function iteration() { | ||
const now = global.performance.now(); | ||
const busyTime = now - lastInterval; | ||
if (busyTime >= thresholdMS) { | ||
const stallTime = busyTime - thresholdMS; | ||
stallCount++; | ||
totalStallTime += stallTime; | ||
longestStall = Math.max(longestStall, stallTime); | ||
let msg = | ||
`JSEventLoopWatchdog: JS thread busy for ${busyTime}ms. ` + | ||
`${totalStallTime}ms in ${stallCount} stalls so far. `; | ||
handlers.forEach(handler => { | ||
msg += handler.onStall({lastInterval, busyTime}) || ''; | ||
}); | ||
console.log(msg); | ||
} | ||
handlers.forEach(handler => { | ||
handler.onIterate && handler.onIterate(); | ||
}); | ||
lastInterval = now; | ||
setTimeout(iteration, thresholdMS / 5); | ||
} | ||
iteration(); | ||
}, | ||
}; | ||
|
||
let acceptableBusyTime = 0; | ||
let installed = false; | ||
let totalStallTime = 0; | ||
let stallCount = 0; | ||
let longestStall = 0; | ||
let lastInterval = 0; | ||
const handlers: Array<Handler> = []; | ||
|
||
export default JSEventLoopWatchdog; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.