ci: added a job for react-compiler checks 🧬#45998
Conversation
f392b99 to
ceb1fae
Compare
410f899 to
b52158a
Compare
…ion works or not" This reverts commit 122c876.
b52158a to
df0850a
Compare
|
@mountiny this PR is ready for review 👀 |
|
|
||
| if (errors.length > 0) { | ||
| errors.forEach((error) => console.error(error)); | ||
| throw new Error('Some files could be compiled with react-compiler before successfully, but now they can not be compiled.'); |
There was a problem hiding this comment.
Can we also include some information about what to do next? I think it would be good to create some md file in the guidelines explaining the various failures or reasons why the compilation does not succeed and how to avoid them/ resolve them.
The way how its done now I am sure would cause lots of confusion and questions in Slack so better to try to mitigate it with some guidelines even if people would come and ask.
The guideline should also say how they can test this locally
There was a problem hiding this comment.
@mountiny done 🙌 Would you mind to review these changes again? 👀
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
@mountiny would you mind to have a look again? |
|
Looks like @mountiny will be back on Friday... I think I'd be fine with merging this now, if you feel like we should push earlier? But if it's fine to wait we can do that too. |
Well, I would do that, if possible. A new version of |
|
Okay cool, I'll dismiss his review and merge - since it was just about documentation, we can always update later if needed! |
In order to move forward with merging while he's OOO
|
✋ 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/dangrous in version: 9.0.18-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.18-10 🚀
|
Details
Added a job that compares compilable files between
mainandcurrentbranch. We fail action only when old file (in main) was compiled successfully, but now it fails to compile. If file was removed, then we don't fail the action.Fixed Issues
$ #44384
PROPOSAL: #45464 (comment)
Tests
react-compiler;Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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