Target Branch
0.84
Link to commit or PR to be picked
facebook/react-native@a12b442
Description
This fix addresses a silent build failure that produces broken apps on CI systems using hidden workspace paths (e.g., Jenkins with ~/.jenkins/workspace/).
Why this is a breaking issue:
-
Builds succeed but apps are broken - No error is thrown; the build completes normally but third-party Fabric components (FlashList, Lottie, WebView, etc.) are not registered, causing runtime UI failures (components disappear, flicker, or render incorrectly).
-
Difficult to diagnose - The root cause is buried in codegen's file discovery logic. The only symptom is broken UI on builds from specific CI environments.
-
Affects common CI setups - Jenkins (one of the most popular CI tools) uses ~/.jenkins/workspace/ by default. This also affects any CI with hidden paths like
~/.buildkite/, ~/.circleci/, etc.
-
New Architecture adoption blocker - Teams enabling Fabric may see this issue only on CI builds, making it a significant barrier to New Architecture adoption.
-
Minimal risk fix - The change is a one-line modification to the hidden folder detection logic, with no side effects on other functionality.
Target Branch
0.84
Link to commit or PR to be picked
facebook/react-native@a12b442
Description
This fix addresses a silent build failure that produces broken apps on CI systems using hidden workspace paths (e.g., Jenkins with
~/.jenkins/workspace/).Why this is a breaking issue:
Builds succeed but apps are broken - No error is thrown; the build completes normally but third-party Fabric components (FlashList, Lottie, WebView, etc.) are not registered, causing runtime UI failures (components disappear, flicker, or render incorrectly).
Difficult to diagnose - The root cause is buried in codegen's file discovery logic. The only symptom is broken UI on builds from specific CI environments.
Affects common CI setups - Jenkins (one of the most popular CI tools) uses
~/.jenkins/workspace/by default. This also affects any CI with hidden paths like~/.buildkite/,~/.circleci/, etc.New Architecture adoption blocker - Teams enabling Fabric may see this issue only on CI builds, making it a significant barrier to New Architecture adoption.
Minimal risk fix - The change is a one-line modification to the hidden folder detection logic, with no side effects on other functionality.