https://flyte.org logo
#ask-the-community
Title
# ask-the-community
b

Bosco Raju

08/17/2023, 2:35 PM
Hi folks, I am unable to fetch the latest version of my workflow using flytectl, it returns me the oldest workflow version. This might be a bug?
flytectl get workflow -p MY_PROJECT -d DEV  WORKFLOW_NAME --latest
Flytectl version 0.6.45
y

Yee

08/17/2023, 7:47 PM
am seeing this too actually.
should be a quick fix. would you mind filing an issue for this?
would you be up for trying to go through flytectl code? i’m hoping it’s just an incorrect sort directive somewhere.
b

Bosco Raju

08/17/2023, 7:51 PM
Hi @Yee. Thanks for confirming the bug. I will file a issue for this bug and go through the flytectl code.
y

Yee

08/17/2023, 7:52 PM
🙏 thank you
b

Bosco Raju

08/18/2023, 3:19 PM
@Yee Here is the GitHub issue for the above bug. https://github.com/flyteorg/flyte/issues/3972
y

Yee

08/18/2023, 4:15 PM
thank you
b

Bosco Raju

08/22/2023, 8:23 AM
Hello Flyte team, I've submitted a PR to address the issue with retrieving the latest workflow version using flytectl. I'd appreciate it if someone could take a look. Here's the link: https://github.com/flyteorg/flytectl/pull/418. Thank you!
s

Samhita Alla

08/23/2023, 5:27 AM
Please post this message in the #contribute channel so that we don't miss reviewing and merging the PR.