Repository navigation
fix(0.81, tests): restore macOS native test-host compilation - #3180
Open
Jason Morse (JasonVMo) wants to merge 1 commit into
Open
Jason Morse (JasonVMo) wants to merge 1 commit into
Jason Morse (JasonVMo) wants to merge 1 commit into
Conversation
Adapt the image portability and gzip C-linkage fixes from #3095 (742d47b and 60f09c4). Keep sanitizer policy unchanged: ASan and TSan both execute with the current toolchain. This separate prerequisite makes the renderer resize regression's existing native host buildable. Include the already-validated stable dist-tag resolver correction from #3177 so the branch's release dry run uses 0.81-stable, plus the branch-native Nx patch plan. Co-authored-by: Ty Rauber <tyrauber@mac.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 33ea5c72-8bbd-448d-aa21-c9b99dd03c96
This was referenced Nov 13, 2026
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary:
Backport the source-compatible image and gzip fixes from #3095, by Ty Rauber
(
742d47b5728aand60f09c46099b), to 0.81-stable:RCTPlatformImagealias in shared image tests. The macOStarget currently fails to compile their UIKit-only
UIImagereferences.RCTIsGzippedDatawithRCT_EXTERNin its existing header so theObjective-C++ implementation has the C linkage expected by Objective-C tests.
otherwise this branch's unchanged Nx metadata prevents its release dry run.
This is a separate native-host prerequisite for #3177. It contains no
ShadowNode, ShadowNodeFamily, UIManager, resize-fixture, FURN, or CI-workflow
changes. Main already has #3095, so no duplicate main PR is opened.
Do not copy #3095's Xcode 26.0.1 sanitizer-disable workaround: on the
current Xcode 26.4.1 toolchain the exact renderer fixture executes under both
ASan and TSan. Sanitizer/test-plan policy is unchanged by this PR.
Test Plan:
Before the repair, the owned 0.81 native host failed before executing any test
with
unknown type name 'UIImage'in the unchangedRCTImageLoaderTests.m.After applying these exact four source-file changes in an isolated Paper
qualification worktree together with #3177's renderer fix:
RCTShadowViewTestsand threeRCTGzipTests.Exact native command from that qualification root
(
NATIVE_PROPS_EVIDENCEdenotes its local artifact directory):Pods were regenerated from
packages/rn-testerwithRCT_NEW_ARCH_ENABLED=0 bundle exec pod installusing the fork-root Gemfile.The local qualification profile disables the pre-existing retry behavior;
that profile override is not part of this PR. No sanitizer qualification is
claimed from these ordinary Paper tests.
Checks from this PR's worktree root:
Not run here: the entire native unit suite, image-test runtime cases, iOS
runtime tests, repository-wide JS/Flow/lint suites, or publication. Hosted CI
will provide the independent branch build/integration results. No PR is merged.