Use 6 workers in jest tests#92066
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 @iwiznia 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! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/iwiznia in version: 9.3.90-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Help site review: no docs changes required. I reviewed the changes in this PR. Both are purely internal and have no user-facing impact:
Neither change affects product behavior, UI labels, features, billing, workspaces, reimbursements, or integrations — nothing documented under If you believe a specific article still needs updating, reply with |
|
Hi @iwiznia. Any QA steps here? |
|
@iwiznia Check it off |
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.3.90-3 🚀
|
Explanation of Change
Noticed we were using just 2 threads but machine has 8 cpus. I tried using 8 but some jobs failed, I assume due to lack of memory, so used 6 which seems to work well.
Tests
Run before this change in #92064:

Run in this PR:

Kind of a bummer that the last one took 6m, since we need to wait for the slowest... so we are "just" saving 1 minute instead of the potential 3 if that last one was as fast as the rest 😢
Offline tests
No
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
No
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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