Skip to content

Refactor: RuntimeScheduler: Delete ErrorUtils.h - #43953

Closed
RSNara wants to merge 2 commits into
react:mainfrom
RSNara:export-D55547905
Closed

Refactor: RuntimeScheduler: Delete ErrorUtils.h#43953
RSNara wants to merge 2 commits into
react:mainfrom
RSNara:export-D55547905

Conversation

@RSNara

Copy link
Copy Markdown
Contributor

Summary:
RuntimeScheduler's ErrorUtils.h is redundant.

Let's just remove it.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D55547905

@facebook-github-botfacebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Apr 7, 2024
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55547905

@analysis-bot

analysis-bot commented Apr 7, 2024

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a19,217,870-7
androidhermesarmeabi-v7an/a--
androidhermesx86n/a--
androidhermesx86_64n/a--
androidjscarm64-v8a22,594,641+10
androidjscarmeabi-v7an/a--
androidjscx86n/a--
androidjscx86_64n/a--

Base commit: f77d028
Branch: main

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55547905

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55547905

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55547905

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55547905

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55547905

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55547905

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55547905

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55547905

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55547905

RSNara added 2 commits April 8, 2024 12:19
Summary:
getRuntimeScheduler() allows things to schedule work on the js thread by bypassing main bundle buffering.
This is unsafe: almost everything should be using the buffered runtime executor, unless it sets up bindings used in the main bundle.
I filed a task for the investigation to see if there's any problems. And added it to the code in this diff.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D55547899
Summary:
RuntimeScheduler's ErrorUtils.h is redundant.
Let's just remove it.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D55547905
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D55547905

RSNara added a commit to RSNara/react-native that referenced this pull request Apr 8, 2024
Summary:
RuntimeScheduler's ErrorUtils.h is redundant.
Let's just remove it.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D55547905
RSNara added a commit to RSNara/react-native that referenced this pull request Apr 8, 2024
Summary:
RuntimeScheduler's ErrorUtils.h is redundant.
Let's just remove it.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D55547905
@facebook-github-botfacebook-github-bot added the Merged This PR has been merged. label Apr 9, 2024
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 3094273.

Titozzz pushed a commit that referenced this pull request Jun 18, 2024
Summary:
Pull Request resolved: #43953
RuntimeScheduler's ErrorUtils.h is redundant.
Let's just remove it.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D55547905
fbshipit-source-id: 5263c9fca8ae32bbfc672f0e16b79ee177cdd421
Titozzz pushed a commit that referenced this pull request Jun 18, 2024
Summary:
Pull Request resolved: #43953
RuntimeScheduler's ErrorUtils.h is redundant.
Let's just remove it.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D55547905
fbshipit-source-id: 5263c9fca8ae32bbfc672f0e16b79ee177cdd421
This was referenced Jun 28, 2024
@cipolleschicipolleschi mentioned this pull request Jul 22, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.fb-exportedMergedThis PR has been merged.p: FacebookPartner: FacebookPartner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@RSNara@facebook-github-bot@analysis-bot