-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 👀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me! Will hold for review from @mountiny
|
||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mountiny done 🙌 Would you mind to review these changes again? 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation is helpful and thorough! This looks good to me, but will defer to @mountiny
One NAB for grammar, but not a huge deal
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
main
andcurrent
branch. 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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop