chore(ci): remove old-arch template tests and stop on lint failure#455
Conversation
📝 WalkthroughWalkthroughRemoved unconditional execution guards from E2E jobs in the CI workflow and eliminated multi-architecture build matrices from Android and iOS template build workflows, simplifying job scheduling and standardizing to single-architecture builds. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
assets/template/.github/workflows/android-build.yml (1)
37-71: LGTM — clean matrix removal; note the old-arch coverage trade-off.The workflow is correctly simplified: the static job name on line 39 aligns with the removed
strategy: matrix:block, and no stale${{ matrix.arch }}references remain. The remaining steps (JDK 17/Zulu, Gradle cache,assembleDebug --no-daemon --build-cache) are standard and correct.The intentional drop of the old-arch matrix means CI no longer validates the Old Architecture path for generated Android templates. Confirm this aligns with the project's minimum supported React Native version (i.e., the Old Architecture is no longer a support requirement).
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@assets/template/.github/workflows/android-build.yml` around lines 37 - 71, The workflow removed the old-arch matrix but did not verify compatibility: confirm the project’s minimum supported React Native version no longer requires the Old Architecture and, if not, either restore the matrix (strategy: matrix and references to ${{ matrix.arch }}) in the Build job or update project metadata/docs to declare the minimum RN version that drops Old Architecture support; check the Build job name "Build Android Example App" and any references to old-arch in docs/config to locate where to change.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@assets/template/.github/workflows/android-build.yml`:
- Around line 37-71: The workflow removed the old-arch matrix but did not verify
compatibility: confirm the project’s minimum supported React Native version no
longer requires the Old Architecture and, if not, either restore the matrix
(strategy: matrix and references to ${{ matrix.arch }}) in the Build job or
update project metadata/docs to declare the minimum RN version that drops Old
Architecture support; check the Build job name "Build Android Example App" and
any references to old-arch in docs/config to locate where to change.
ℹ️ Review info
Configuration used: defaults
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
.github/workflows/ci-packages.ymlassets/template/.github/workflows/android-build.ymlassets/template/.github/workflows/ios-build.yml
💤 Files with no reviewable changes (1)
- .github/workflows/ci-packages.yml
Summary by CodeRabbit
Chores