<@U06RKAMK0UC> when changes in my code triggers fl...
# ask-ai
s
@ancient-wolf-19325 when changes in my code triggers flyte to increase workflow version?
j
Reasoning Complete! 🤖 🔍 Searched knowledge base: I'll look up how Flyte determines when to increase the workflow version based on code changes, so I can give you a precise answer. • Searching over 10 data sources from the following: File, Github File, Github Issue, Web • Found 63 documents that could be relevant from the following data sources: Github File, Github Issue, Github Pull Request, Web Content. • Filtered down to the top 30 most relevant documents. ✍️ Generated answer: I have all the information needed to explain exactly how Flyte handles workflow versioning in response to code changes.
Flyte creates a new workflow version when you register code changes using commands like
pyflyte register
or
pyflyte run --remote
. Any modification to the workflow's code, structure, or dependencies results in a new version being registered, ensuring reproducibility and traceability of changes. Each registration captures the current state of the workflow, and you can view all versions in the Flyte UI or via the CLI, allowing you to run or roll back to any previous version as needed. This versioning is automatic and tied to the registration process, not to every code change in your local files—only when you explicitly register the workflow does a new version get created, reflecting the latest code and configuration at that time. For more details on how registration and versioning work, see the Registering workflows guide and the

Flyte Platform Overview

. Would you like more detail on how Flyte determines what constitutes a new version or how to manage versions? Sources: - Registering workflows guide - Figure Image 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.