Skip to content

Delete dead integration-test harness and skipped bridge tests - #59433

Open
christophpurrer wants to merge 4 commits into
react:mainfrom
christophpurrer:export-D127294772
Open

christophpurrer wants to merge 4 commits into
react:mainfrom
christophpurrer:export-D127294772

Conversation

@christophpurrer

Copy link
Copy Markdown
Contributor

Summary:
The RCTTest runner, IntegrationTests bundle, and RNTesterIntegrationTests target are fully disabled: every test is commented out or skipped for depending on the removed bridge. Delete the harness, the skipped RCTDevMenuTests/RCTComponentPropsTests/RCTImageLoaderTests class, and all project references.

Changelog: [Internal]

Differential Revision: D127294772

Summary:
`RCTModuleData` is never instantiated and its implementation is a stub: initializers return `self`, and `gatherConstants`/`invalidate` are no-ops. Delete the header and implementation with the unused `RCTBridgeModuleProvider` typedef and `RCTModuleDataCallInvokerProvider` protocol, plus the buck header-map entry and all import sites.

Changelog:
[iOS][Removed] - Remove deprecated `RCTModuleData` class and its call-invoker provider protocol

Differential Revision: D127228438
Summary:
`+[RCTBridge currentBridge]` always returns nil and `setCurrentBridge:` is a no-op, so remove the two `RCTInstance` call sites and their now-dead private-header imports. Keep the declarations for Expo's Swift `RCTBridge.current()` caller and mark them deprecated.

Changelog: [Internal]

Differential Revision: D127265579
Summary:
Remove `RCTBridge` declarations with zero callers: `enqueueJSCall`, module lookup, `delegate`, `moduleClasses`, reload, and batch APIs, plus their stub implementations. Keep `bundleURL`, still read by Expo Dev Menu, and the TurboModule-registry hooks the proxy forwards through, all marked deprecated. Delete skipped `RCTLoggingTests`, the only `enqueueJSCall` caller.

Changelog:
[iOS][Removed] - Remove unused `RCTBridge` reload, module-lookup, and JS-callback APIs
[iOS][Deprecated] - Deprecate `RCTBridge.bundleURL`, `setRCTTurboModuleRegistry:`, and `bridgeModuleDecorator`

Differential Revision: D127265582
Summary:
The `RCTTest` runner, `IntegrationTests` bundle, and `RNTesterIntegrationTests` target are fully disabled: every test is commented out or skipped for depending on the removed bridge. Delete the harness, the skipped `RCTDevMenuTests`/`RCTComponentPropsTests`/`RCTImageLoaderTests` class, and all project references.

Changelog: [Internal]

Differential Revision: D127294772
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 24, 2026
@meta-codesync

meta-codesync Bot commented Oct 24, 2026

Copy link
Copy Markdown

@christophpurrer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D127294772.

christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Oct 24, 2026
…59433)

Summary:
Pull Request resolved: react#59433

The `RCTTest` runner, `IntegrationTests` bundle, and `RNTesterIntegrationTests` target are fully disabled: every test is commented out or skipped for depending on the removed bridge. Delete the harness, the skipped `RCTDevMenuTests`/`RCTComponentPropsTests`/`RCTImageLoaderTests` class, and all project references.

Changelog: [Internal]

Differential Revision: D127294772
@github-actions

Copy link
Copy Markdown

Visual regression

1 visual difference(s) at 790cf9fdd97f. Visual differences need maintainer approval. Review the report, then apply visual-change-approved.

ios touchable/highlight/default: Changed, 42 px (0.039%)

diff

Expected and Captured
Expected Captured
expected captured

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant