Branches allow you to work on your workflows safely by creating isolated, editable versions of your projects. This Git-like development model ensures you can test and collaborate on changes without affecting your live production environment.
Types of branches
Your workflow consists of different types of branches, each serving a specific purpose:
Main branch: This is the live, production version of your workflow. It handles all active triggers, such as scheduled tasks, webhooks, and public routes. You can easily identify it by the "Live" green indicator.
Draft branches: These are your safe, experimental environments. You can create these to iterate on a workflow, test new features, or fix bugs without impacting the live version. Each draft branch maintains its own chat history and set of changes.
Special branches:
Autofix branches (orange): Automatically generated by Tines 3B when a workflow encounters an error, if enabled. Tines 3B will analyze the issue and attempt to suggest a fix.
Autotune branches (purple): Automatically generated when performance improvements are identified, offering suggestions to optimize your workflow.
How branches work
Isolation: Each branch is its own sandbox. Changes, test runs, and storage volumes in a draft branch remain invisible to the main branch until you decide to merge them.
Collaboration: You can collaborate with your team on the same draft branch. You can see real-time presence indicators to know who is currently working on the same version.
Testing: Draft branches do not run on automatic triggers (like cron schedules or webhooks), which prevents them from interfering with production. You can trigger runs manually or preview routes using a specific branch URL.
Important notes
Permissions: Your ability to create, edit, or push branches live depends on your workspace permissions (specifically, having write access in a space).
Merging logic: When pushing changes, Tines 3B automatically performs a "three-way merge" to compare your draft against the current live version, helping you resolve any potential conflicts before they go live.
