Skip to content
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

[HOLD Swift fix] Update to react-native-nitro-sqlite #53063

Open
mountiny opened this issue Nov 25, 2024 · 36 comments
Open

[HOLD Swift fix] Update to react-native-nitro-sqlite #53063

mountiny opened this issue Nov 25, 2024 · 36 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Monthly KSv2

Comments

@mountiny
Copy link
Contributor

mountiny commented Nov 25, 2024

As discussed in this thread, the react-native-quick-sqlite package is being migrated to react-native-nitro-sqlite and the original place where we are pulling the library from was deprecated leading to issues when running the native App.

Solution

Switch to the react-native-nitro-sqlite library pointing to the old code and the migrate to the new version of react-native-nitro-sqlite cc @chrispader

Issue OwnerCurrent Issue Owner: @chrispader
@mountiny mountiny added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 25, 2024
Copy link

melvin-bot bot commented Nov 25, 2024

Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@mountiny mountiny added the DeployBlockerCash This issue or pull request should block deployment label Nov 25, 2024
Copy link

melvin-bot bot commented Nov 25, 2024

Triggered auto assignment to @stitesExpensify (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Nov 25, 2024

💬 A slack conversation has been started in #expensify-open-source

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Nov 25, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@mountiny
Copy link
Contributor Author

Handling it

@mountiny mountiny added the Reviewing Has a PR in review label Nov 25, 2024
@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Nov 25, 2024
@mountiny
Copy link
Contributor Author

PR cped

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Nov 26, 2024
@melvin-bot melvin-bot bot changed the title Update to react-native-nitro-sqlite [HOLD for payment 2024-12-03] Update to react-native-nitro-sqlite Nov 26, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 26, 2024
@puneetlath puneetlath removed their assignment Dec 5, 2024
@DylanDylann
Copy link
Contributor

@dominictb is working on another PR, I am not sure if they also get paid on this issue or on another issue

@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Dec 6, 2024

Ah thanks @DylanDylann!

Hum, it looks like Expensify/react-native-onyx#602 is still being worked on but #53049 can be paid.

@mountiny do you think it would be best for us to create a separate payment for Expensify/react-native-onyx#602 or keep them together?

@mountiny
Copy link
Contributor Author

mountiny commented Dec 9, 2024

@Christinadobrzyn Whatever works for you, you can pay @DylanDylann now I think and we can unassign them

@melvin-bot melvin-bot bot added the Overdue label Dec 9, 2024
Copy link

melvin-bot bot commented Dec 9, 2024

@chrispader @mountiny @Christinadobrzyn @shubham1206agra @DylanDylann @dominictb this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

Copy link

melvin-bot bot commented Dec 9, 2024

@chrispader, @mountiny, @Christinadobrzyn, @shubham1206agra, @DylanDylann, @dominictb Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@Christinadobrzyn
Copy link
Contributor

Sounds good -

Payment for PR - #53049

Contributor: @DylanDylann paid $250 via Upwork (https://www.upwork.com/nx/wm/offer/105260846)

@DylanDylann can you accept this offer? TY

@melvin-bot melvin-bot bot removed the Overdue label Dec 9, 2024
@mountiny
Copy link
Contributor Author

mountiny commented Dec 9, 2024

@chrispader What is your ETA for other changes?

@Christinadobrzyn
Copy link
Contributor

Just a heads up that I'm going to be ooo Dec 12 - 13th. Back on Monday 16th. I'm not going to assign this to a BZ teammate but if anything is urgent, please reach out to the team for a volunteer.

@melvin-bot melvin-bot bot added the Overdue label Dec 11, 2024
@Christinadobrzyn
Copy link
Contributor

@chrispader can you provide an update when you have a moment (re)? TY!

@chrispader
Copy link
Contributor

chrispader commented Dec 11, 2024

Yes, sorry for the delay. I've been trying to set up my bank account and wallet on my testing account, but @mountiny told me that this is only possible for US people.

I therefore won't be able to reproduce this issue in the app. I'm trying to repro this another way.

Other than that, i think the current PRs are ready and working.

Edit: I'll have to setup VBBA and reimbursement on my account. Will continue testing tmrw

@melvin-bot melvin-bot bot removed the Overdue label Dec 11, 2024
@Christinadobrzyn
Copy link
Contributor

Hi @chrispader please let us know if you have an update or need any help with testing!

@melvin-bot melvin-bot bot added the Overdue label Dec 16, 2024
Copy link

melvin-bot bot commented Dec 17, 2024

@chrispader, @mountiny, @Christinadobrzyn, @shubham1206agra, @DylanDylann, @dominictb Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented Dec 19, 2024

@chrispader, @mountiny, @Christinadobrzyn, @shubham1206agra, @DylanDylann, @dominictb Still overdue 6 days?! Let's take care of this!

Copy link

melvin-bot bot commented Dec 23, 2024

@chrispader, @mountiny, @Christinadobrzyn, @shubham1206agra, @DylanDylann, @dominictb 10 days overdue. Is anyone even seeing these? Hello?

@chrispader
Copy link
Contributor

Was waiting for more reproduction steps by the C+. The previous issue is not reproducible anymore. Now going to investigate another issue...

@melvin-bot melvin-bot bot removed the Overdue label Dec 23, 2024
@Christinadobrzyn
Copy link
Contributor

Thanks, @chrispader - sorry, can you clarify which issue you need more reproduction steps for? Thanks!

Just a heads up that I'm going to be ooo until Dec 30th. I'm not going to assign this to a BZ teammate but if anything is urgent, please reach out to the team for a volunteer.

@chrispader
Copy link
Contributor

Thanks, @chrispader - sorry, can you clarify which issue you need more reproduction steps for? Thanks!

So the current problem is that there is an issue in Swift which is shipped with the latest Xcode 16.2 version.

We cannot build Nitro and NitroSQLite with Xcode 16.2, and therefore need to either force downgrading to Xcode 16.1 or increase the minimum iOS deployment target (for simulators).

I explained this further here: #53149 (comment)

@mountiny mountiny added Monthly KSv2 and removed Daily KSv2 labels Dec 28, 2024
@mountiny mountiny changed the title Update to react-native-nitro-sqlite [HOLD Swift fix] Update to react-native-nitro-sqlite Dec 28, 2024
@mountiny
Copy link
Contributor Author

Holding for the Swift fix. @chrispader is there something we could track this on? Some issue/ discussion in swift forum so we know if the fix is getting in? I assume this is quite important for Nitro

@chrispader
Copy link
Contributor

chrispader commented Dec 29, 2024

Holding for the Swift fix. @chrispader is there something we could track this on? Some issue/ discussion in swift forum so we know if the fix is getting in? I assume this is quite important for Nitro

@mountiny The fix has already been merged into Swift here. We now just have to wait for a new Xcode version that ships this updated version of Swift, which might take some time though :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Monthly KSv2
Projects
Status: HIGH
Development

No branches or pull requests

8 participants