-
Notifications
You must be signed in to change notification settings - Fork 92
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
Epic: Client & Server Auto-Update and Notifications #3878
Comments
I think the most cheap and cheerful way to go about this (for now) is just to inform and allow a flag override:
That's P0. P1 is implementing auto-updating (i think we'll need it anyway) - but it doesn't prevent the above. |
One problem with this approach is the message isn't technically correct (and should NOT be followed) since the version metadata in http://update.bacalhau.org/version can differ from both the client and the server. For example:
Step 5) is should not be followed by client since the serve and client are still on the same version, but the data being read from Things are this way because the server isn't what tells the client its out of data, a separate service is what tells the client its out of date. |
Client doesn't see the "you're out of date with the server" message until it connects to a server. That said, this is just screaming that we're going to need more tolerant versioning skew support soon. We need a table laying out what the ux is for this for each situation - 3x3 |
Will update issue with this table and include acceptance criteria from our chat. |
@aronchick @frrist what is the status and priority of the remaining issues in this epic? |
The work that remains is:
|
That looks like a much bigger scope. Do you mind closing this issue and opening a new one for the self-update feature? |
@coderabbitai close this issue and open a new one for self-update feature |
Closing this issue as the auto-update functionality will be tracked in a separate issue. |
Tip For best results, initiate chat on the files or code changes. @wdbaruni I've completed the requested actions:
The new issue includes background context, objectives, and key technical considerations. You can find it here: #4781 🔗 Analysis chainI'll help close this issue and create a new one for the self-update feature. @wdbaruni I've closed issue #3878 and created a new issue specifically for tracking the self-update feature implementation. The new issue has been assigned to you and includes relevant context from the discussion in this issue. Is there anything else you'd like me to add to the new issue? 🏁 Scripts executedThe following scripts were executed for the analysis: Script:
Length of output: 931 If you found this review helpful, would you consider giving us a shout-out on X? |
Description
There are several scenarios here, expressed in the following table:
Acceptance Criteria
Acceptance Criteria
Initial Draft
At present users are presented with a text prompt in the CLI when the version of bacalhau installed on their machine does not match the version metadata hosted on http://update.bacalhau.org/version. The prompt directs users to manually run
curl -sL 'https://get.bacalhau.org/install.sh?dl=fac3c600-9660-5928-8b9b-8437f13bf9d0' | bash
on their machine in-order to update bacalhau, this is a manual process.The current flow presents several challenges to users deploying bacalhau through a cloud marketplace:
I believe there are several ways to address the challenge presented with the current work-flow:
update.bacalhau.org/version
for version metadata it polls a URL specific to the marketplace deployment for update status.The text was updated successfully, but these errors were encountered: