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

Investigate self-update capability #810

Open
dnwiebe opened this issue Aug 11, 2024 · 2 comments
Open

Investigate self-update capability #810

dnwiebe opened this issue Aug 11, 2024 · 2 comments
Labels

Comments

@dnwiebe
Copy link

dnwiebe commented Aug 11, 2024

Updating MASQ to a new version is currently a fairly complicated process. We'd like to simplify that process, if it's not prohibitive for us.

Look at what's available for doing self-updating under Rust. A couple of public crates to investigate are patchify and autoupdater; there are probably others.

Decide which of the available options would be best. We'll need both client functionality in the Node and server functionality in some cloud-server setup somewhere--possibly in GitHub. For each set of functionality, write up a list of cards describing what will be necessary. Especially for the server functionality, do some calculations to get an idea of what providing updates will cost.

Keep in mind that whatever updating happens will need to be able to be done through the MASQ network. If the updating library takes control of the network stack at too low a level, this might be impossible. In such a case, that library should be discarded in favor of something that allows MASQ proxying, even if it's harder to use.

@kauri-hero
Copy link

Current MASQNode does not have any notification or automatic way to instruct a user to update their Node version when releases are done.
There are Rust crates that offer auto-updater functionality, which may provide a solution for this:

https://github.com/localcc/autoupdater

https://crates.io/crates/autoupdater/0.3.0

Discussion in the Rust team - discuss segmenting audiences in terms of types of releases, or staged (alpha, beta, production).

Consider that an "update" event is not the same as a typical shutdown so should be handled in a more graceful sense

@kauri-hero kauri-hero moved this from 🆕 New to 🔖 Awaiting Development (Prioritized) in MASQ Node v2 Aug 18, 2024
@utkarshg6
Copy link

utkarshg6 commented Oct 30, 2024

In my opinion, autoupdater's older version can be used (v0.2.1). I believe v0.3.0 should be implemented once 'We Are Falling Behind' is finished.

@dnwiebe @kauri-hero

@kauri-hero kauri-hero moved this from 🔖 Awaiting Development (Prioritized) to 📋 Backlog in MASQ Node v2 Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants