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

Wait for account to be ready to connect #1486

Merged
merged 7 commits into from
Nov 6, 2024

Conversation

octol
Copy link
Contributor

@octol octol commented Nov 6, 2024

  • Add wait_for_ready_to_connect and use in vpnd
  • Switch uniffi start vpn to wait on ready to connect
  • Split out the call to update the account controller when storing the mnemonic, so that it can be called when the account controller is not running

This change is Reviewable

@octol octol changed the base branch from main to release/2024.1 November 6, 2024 10:05
Copy link
Contributor

@pronebird pronebird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 9 of 9 files at r1.
Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on @doums, @neacsu, @rokas-ambrazevicius, and @zaneschepke)

@pronebird pronebird self-requested a review November 6, 2024 14:35
@pronebird
Copy link
Contributor

Please fix CI issues

@rokas-ambrazevicius
Copy link
Contributor

Please fix CI issues

I think iOS pipeline can be ignored. I'm breaking-repairing that at the moment.

Copy link
Contributor

@pronebird pronebird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @doums for fixing outstanding issues in this PR. I have tested it on iOS app and it works great! 🎉

Reviewed 5 of 5 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @doums, @neacsu, @rokas-ambrazevicius, and @zaneschepke)

@octol octol merged commit 5484adb into release/2024.1 Nov 6, 2024
14 of 16 checks passed
@octol octol deleted the jon/wait-for-ready-to-connect branch November 6, 2024 20:40
octol added a commit that referenced this pull request Nov 6, 2024
* Add wait_for_ready_to_connect and use in vpnd

* Update error types

* Switch uniffi start vpn to wait on ready to connect

* Separate out account update command in uniffi API

* Bump timeout to 10 sec

* add the new error to nym-vpn-app

* Update uniffi

---------

Co-authored-by: pierre <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants