[No QA] Add RAM_ONLY_COMPANY_CARDS_LOADING_STATE to safe Onyx export keys - #96004
Conversation
Co-authored-by: mkhutornyi <mkhutornyi@users.noreply.github.com>
DetailsExplanation of ChangeThe This key is a frontend-owned, RAM-only, session-scoped loading state ( Fixed Issues$ #96001 TestsN/A
Offline testsN/A QA StepsN/A
PR Author Checklist
@MelvinBot please set the PR body to the content in the details section above. And add [No QA] prefix to the title. |
✅ Failing checks fixedTwo things were failing — both are now resolved:
|
|
@cretadn22 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] |
|
🤖 Done,
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
✅ All checks are passing nowCurrent status: 0 failing, 0 pending, 40 passing (remaining checks skipped as expected). Nothing left to fix. For the record, here's what had been failing and how it got resolved:
No code changes were needed in this pass — the branch is green and ready for you to complete the human Tests/QA sections before marking it "Ready for review". |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 chuckdries 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/chuckdries in version: 9.4.34-0 🚀
|
|
🤖 No help site changes required. This PR adds a single Onyx collection key ( There is no user-facing behavior, UI, feature, or workflow change here, so nothing under |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.4.34-14 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.4.34-14 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
The
Onyx key export coveragetest (tests/unit/ExportOnyxStateTest.ts) started failing onmainbecause the Onyx collection keyONYXKEYS.COLLECTION.RAM_ONLY_COMPANY_CARDS_LOADING_STATE(companyCardsLoadingState_) was added without being categorized into one of the four export buckets. That coverage test (introduced in #95433) deliberately fails whenever a new Onyx key is not explicitly placed in a bucket, so the classification can never silently drift.This key is a frontend-owned, RAM-only, session-scoped loading state (
hasOnceLoadedPageflag + per-feedhasOnceLoadedflags keyed by feed name — seeCompanyCardsLoadingState.ts). It carries no personal data, matching the existingRAM_ONLY_REPORT_LOADING_STATEkey that is already treated as safe. It is therefore added tosafeOnyxKeysso it is exported as-is (unmasked), which is the correct and expected classification for a PII-free loading flag.Fixed Issues
$ #96001
Tests
N/A
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, 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.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.