jolly-florist-66728
11/05/2024, 10:22 PMpyflyte --pkgs workflows package --copy all -f
flytectl register files --archive flyte-packag.tgz --project mypyoj --domain development --version test-0
Are we missing something here or were reference tasks never meant to be used in the way we planned?
# Answer
Currently, Flyte requires specifying a version for reference tasks, which can complicate CICD processes that aim to use the latest version automatically. According to this GitHub issue, there is a request to make the version field optional, allowing the latest version to be fetched at runtime. However, this feature is not yet implemented, and the current workaround involves using FlyteRemote
to fetch the latest version, which adds complexity.
The limitation of needing to package and register tasks with workflows using the same version is acknowledged in the Flyte documentation. This approach can indeed limit the flexibility of pre-registering tasks for reuse across multiple workflows. The current system does not fully support the seamless integration of pre-registered tasks into workflows without version coupling.
Would you like more detail on potential workarounds or further insights into Flyte's task versioning?
Sources:jolly-florist-66728
11/05/2024, 10:22 PM>>- GitHub Issue #3656- Flyte documentation Slack Link https://.slack.com/archives/CP2HDHKE1/p1730845351.905969 š 0 button š 0 button š” Hint: Mention @runllm in the thread for followups.