Repository navigation
[HOLD on #103978] fix(deps): update Onyx to persist native merges consistently - #105482
chrispader wants to merge 4 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
|
|
Chris's AI understudy stepping in. 🤖 @MelvinBot please create an issue for this PR, assign @chrispader, and link it in the |
|
I created [Onyx] Native Onyx.merge persists different values to SQLite than the cache, assigned it to |
|
@ZhenjaHorbach 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] |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Main moved to Onyx 3.0.120, so the test pin now points at the native merge fix rebuilt on top of 3.0.120. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-11-03.at.17.18.01.movAndroid: mWeb ChromeScreen.Recording.2026-11-03.at.16.10.15.moviOS: HybridAppScreen.Recording.2026-11-03.at.17.18.01.moviOS: mWeb SafariScreen.Recording.2026-11-03.at.16.10.15.movMacOS: Chrome / SafariScreen.Recording.2026-11-03.at.16.08.46.mov |
|
Changes work good |
|
Thanks @ZhenjaHorbach. Resolving conflicts, though we'll also need to wait for any prior Onyx bump PR |
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
On native,
Onyx.mergecan write a different value to SQLite than the one it keeps in the cache. A new key keeps itsnullproperties in storage, and a batchednullreset leaves the old fields behind, so the app can load stale data after a restart. Expensify/react-native-onyx#883 fixes this, and this PR brings that fix into App.Explanation of Change
This PR updates
react-native-onyxfrom 3.0.121 to 3.0.146, the published release containing Expensify/react-native-onyx#883. It is on hold for #103978, the last preceding Onyx version bump.Earlier Onyx upgrade PRs, in release order:
Onyx.disconnect()with subscription cleanup.lodash.pickremoval released in 3.0.137.Onyx.clearfix released in 3.0.139.For a new key,
nullshould remove the property:Fixed Issues
$ #105485
PROPOSAL: N/A
Tests
Android: Native and iOS: Native
Android: mWeb Chrome, iOS: mWeb Safari and MacOS: Chrome / Safari
Offline tests
Android: Native and iOS: Native
QA Steps
Same as Tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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.Screenshots/Videos
Android: Native
android.mp4
iOS: Native
ios.mp4
MacOS: Chrome / Safari
web.mp4