Repository navigation
[No QA] Update React Compiler docs for new CI compliance check - #88001
Conversation
- Rewrite contributingGuides/REACT_COMPILER.md with accurate CLI usage, CI enforcement rules, and guidance on fixing failures - Update AI coding rule (clean-react-0-compiler.md) with correct CI description and verification command - Add React Compiler check to Post-Edit Checklist in CLAUDE.md Made-with: Cursor
|
@nyomanjyotisa Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@nyomanjyotisa no C+ review needed |
Made-with: Cursor
Made-with: Cursor
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.3.60-0 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.60-22 🚀
|
Explanation of Change
Updates documentation (for both humans and AI) to reflect the rewritten React Compiler CI compliance check from #87182, before the check is enabled as a required CI gate.
Changes:
contributingGuides/REACT_COMPILER.md: Rewrote the compliance checker section with accurate CLI usage, the two CI enforcement rules (new files must compile, no regressions), what-to-do-when-it-fails guidance with example output, and local usage examples including directories/globs..claude/skills/coding-standards/rules/clean-react-0-compiler.md: Updated the CI description from "blocks PRs with manual memoization in new files" to the actual rules. Updated the verification command fromcheck-compiler.shtonpm run react-compiler-compliance-check check.CLAUDE.md: Added React Compiler check as step 4 in the Post-Edit Checklist, alongside Prettier/ESLint/TypeScript.Fixed Issues
$ n/a
Tests
None.
Offline tests
n/a
QA Steps
None.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop