-
Notifications
You must be signed in to change notification settings - Fork 672
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
[BUG] flytectl upgrade is broken after moving to the monorepo #5372
Comments
The issue with the Would you like more details on potential fixes or workarounds? Sources:
This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not. Mention @RunLLM to ask follow-up questions. See runllm.com for more! |
The work here has to do with how to list flytectl releases from the monorepo and use that list of releases as opposed to all releases. More specifically, we use https://github.com/mouuff/go-rocket-update to provide this self-upgrade functionality, the issue is that when we check the releases this library ends up calling a github API that doesn't return the flytectl releases (which use git tags of the form Resolving this issue will require some investigation. Here are some ideas:
|
#take |
@eapolinario Hi, I investigated the issue and implemented a new provider. I'm curious about how flytectl upgrade used to work before moving to monorepo? because according to flyte/flytectl/cmd/upgrade/upgrade.go Line 122 in 25c3596
latest infers smth like "v0.8.20", and stdlibversion.Version is the version tag of flyte, which may be "v1.12.0" . How did this comparison work before the monorepo migration?
|
before the monorepo migration, stdlibVersion was the current version of flytectl as defined here. Notice that the before the move to the monorepo this referred to git tags of the |
Describe the bug
The command itself is broken and also unit tests are failing with:
Expected behavior
The
upgrade
command should either work or be removed. I can see an argument for removing it, since we have other means of upgrading (e.g. on the mac we can usebrew upgrade flytectl
).Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: