From bf45a68dd35ed08860b6a70fed641dfe6d7d290d Mon Sep 17 00:00:00 2001 From: Zeya Peng Date: Fri, 17 Apr 2026 05:26:22 -0400 Subject: [PATCH] Remove legacy Paper renderer shim cleanup from artifact commit workflow (#36297) ## Summary PR #36285 deleted the Paper (legacy) renderer, including the shim file `scripts/rollup/shims/react-native/ReactNative.js`. However, the `runtime_commit_artifacts` workflow still tries to `rm` this file after moving build artifacts into `compiled-rn/`. Since the file no longer exists in the build output, `rm` (without `-f`) fails and kills the entire step. This has caused **every run of the Commit Artifacts workflow to fail since #36285 landed on April 16**, blocking both `builds/facebook-www` and `builds/facebook-fbsource` branches from receiving new build artifacts. This in turn blocks DiffTrain from syncing React changes into Meta's internal monorepo. --- .github/workflows/runtime_commit_artifacts.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/runtime_commit_artifacts.yml b/.github/workflows/runtime_commit_artifacts.yml index 11a22e6c2a4c..40fad235e804 100644 --- a/.github/workflows/runtime_commit_artifacts.yml +++ b/.github/workflows/runtime_commit_artifacts.yml @@ -167,10 +167,6 @@ jobs: # Delete the OSS renderers, these are sync'd to RN separately. RENDERER_FOLDER=$BASE_FOLDER/react-native-github/Libraries/Renderer/implementations/ rm $RENDERER_FOLDER/ReactFabric-{dev,prod,profiling}.js - - # Delete the legacy renderer shim, this is not sync'd and will get deleted in the future. - SHIM_FOLDER=$BASE_FOLDER/react-native-github/Libraries/Renderer/shims/ - rm $SHIM_FOLDER/ReactNative.js # Copy eslint-plugin-react-hooks # NOTE: This is different from www, here we include the full package