<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alexandre Abidri on Medium]]></title>
        <description><![CDATA[Stories by Alexandre Abidri on Medium]]></description>
        <link>https://medium.com/@AlexAbidri?source=rss-d9371ccd2a5c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MIYpTXWZHJQyj_1q2t8bBw.jpeg</url>
            <title>Stories by Alexandre Abidri on Medium</title>
            <link>https://medium.com/@AlexAbidri?source=rss-d9371ccd2a5c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:51:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@AlexAbidri/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Unlocking Efficiency: A Transition from GitFlow to Trunk-Based Development]]></title>
            <link>https://medium.com/@AlexAbidri/unlocking-efficiency-a-transition-from-gitflow-to-trunk-based-development-58e6e785edc9?source=rss-d9371ccd2a5c------2</link>
            <guid isPermaLink="false">https://medium.com/p/58e6e785edc9</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[agile-development]]></category>
            <category><![CDATA[stories]]></category>
            <dc:creator><![CDATA[Alexandre Abidri]]></dc:creator>
            <pubDate>Wed, 02 Oct 2024 01:39:59 GMT</pubDate>
            <atom:updated>2025-07-02T21:34:31.288Z</atom:updated>
            <content:encoded><![CDATA[<p>Throughout my career in technology, both as a software engineer and as an engineering manager, I have observed a wide variety of developer workflows. Some of these workflows gained popularity for a time, while others never quite took off…<br>However, in recent years, I have become increasingly convinced of the effectiveness of one specific software development strategy that performs well across organisations of all sizes, industries, and projects: Trunk-based development (TBD)!</p><h3>A previous story</h3><p>It was during my time as Tech Lead at Prenetics (a Nasdaq-listed company specialising in genetic testing and healthcare prevention) that I became increasingly convinced of the benefits of TBD.</p><p>In late 2021, Prenetics’ CTO Peter Wong and I were discussing how to simplify our version control to avoid diverging branches, empower our engineers, and reducing the complexity of deployments. A few years later, in 2024, our developer workflow was thriving:</p><ul><li><strong>Faster time to production</strong>: By adopting the TBD approach, the team was able to deploy any service at any time. Features that were not ready would simply be feature-flagged.</li><li><strong>Clear ownership</strong>: TBD enabled our engineers at all levels to develop, test, and especially deploy their changes independently in non-production environments. This approach greatly enhanced accountability, helping them to expand their technology capabilities.</li><li><strong>Communication and collaboration</strong>: By implementing this transition, TBD provided mental benefits to engineers by fostering better communication and collaboration.</li></ul><h3>The Vyond’s Journey</h3><p>Enriched with this experience and a profound sense of accomplishment from my time at Prenetics, I was thrilled to embark on a new technology adventure at <a href="https://www.vyond.com/">Vyond</a> in April 2024 as a Engineering Manager.</p><p>Vyond is a cloud-based animated video creation platform that allows users to create professional animated videos easily and quickly. It was formerly known as GoAnimate before rebranding to Vyond in 2018. The platform is popular among businesses, educators, and individuals for creating various types of animated content. With the AI trend, we transitioned recently to be the only <strong>all-in-one</strong>, AI video creation platform!</p><p>In this context, making sure our engineering team is maintaining a high velocity is vital.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*fuB2zrDhNrC3GxP9pH7pFQ.png" /><figcaption>An overview of the Vyond Web-based Platform</figcaption></figure><h4>Challenges with Gitflow</h4><p>The Vyond engineering team follows a common structure among SaaS nowadays: multiple squad teams with mixed junior/senior engineers, engineering managers overseeing teams and working closely with product managers.</p><p>In terms of the Software Development Life Cycle (SDLC), Vyond had been utilizing <strong>Gitflow</strong> for years. Once a pioneering method for version control, Gitflow was widely used in the industry.</p><p><strong>Atlassian</strong> mentions:</p><blockquote>“Gitflow is a legacy Git workflow that was originally a disruptive and novel strategy for managing Git branches. Gitflow has fallen in popularity in favor of trunk-based workflows, which are now considered best practices for modern continuous software development and DevOps practices. Gitflow also can be challenging to use with CI/CD.”</blockquote><p>Indeed, the Gitflow implementation at Vyond revealed several significant challenges.</p><p>Each feature team worked on their own branch throughout the entire sprint. Just several days before the end of the sprint, when regression testing for the next release was about to start, all teams were required to merge their branches into a newly created release branch.</p><p>This approach initially seemed to offer teams the freedom to work independently for extended periods. However, it has provided a false sense of security and control over their work, inadvertently fostered a culture of <strong>gatekeeping</strong>. Additionally, it has limited collaboration between teams during most of the sprint, despite the fact that the teams were all building <strong>the same product</strong>.</p><p>Organizations often adopt more stringent processes and gatekeeping measures in response to past outages or incidents, seeking to remedy previous issues. Consequently, engineering teams implement additional processes to increase greater control.</p><p><em>There is a striking parallel between this practice and Kurt Lewin’s “Gatekeeping Theory” which describes the implementation of structured processes to filter and control changes.</em></p><p>Additionally, this approach introduced two major pain points:</p><ul><li>💥 <strong>Merge hell</strong>: Teams had to merge their weekly work into a single branch, sometimes taking more than a day to integrate all changes from different teams and resolve conflicts.</li><li>🚦<strong>Integration issues</strong>: The team lacked an environment where new changes could be iteratively tested to reflect the customer view. It was only after merging all branches, just days before the production release, that the teams had an environment close to what would be released. This delayed bug identification and unintentionally distanced developers from the production environment, and thus, our beloved users.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*elpIBRj8vm0G71et_HMW5Q.png" /><figcaption>From branching nightmares to trunk-based development (Midjourney v6.1)</figcaption></figure><h3>What is Trunk-Based Development and how it can resolve issues at Vyond</h3><p>Trunk-based development (TBD) is a version control strategy where developers collaborate on a single main branch, often referred to as the “trunk.” This approach contrasts with GitFlow, where developers work on separate feature branches that are later merged into a main branch. In TBD, developers create short-lived branches for new features or bug fixes, which are then quickly merged back into the trunk.</p><p>While there is abundant documentation on this concept, I’ll focus on highlighting specific points that demonstrate how it can precisely benefit Vyond.</p><ul><li>💥 <strong>Merge hell</strong>: By encouraging frequent merges into the trunk, TBD minimizes the risk of merge conflicts. Developers integrate their changes more often, leading to smaller, more manageable merges.</li><li>🚦<strong>Integration issues</strong>: TBD promotes continuous integration by maintaining a single, up-to-date trunk branch. This allows for iterative testing and early detection of bugs, ensuring a more stable and reliable product.</li><li>🧠 <strong>Gatekeeping and siloed work</strong>: TBD encourages collaboration and shared ownership. Developers work closely together on the trunk, fostering better communication and a more cohesive team environment.</li><li>💸 <strong>Cost savings:</strong> By consolidating work into a single trunk, TBD streamlines the workflow and reduces the need for multiple environments, leading to significant cost savings.</li></ul><h3>Transitioning to Trunk-Based Development</h3><p>We began preparing and planning the transition in May 2024 and executed it three months later, in August. The key steps included:</p><ul><li><strong>Creating a new integration environment</strong> that will reflect constantly the changes of the “trunk” branch</li><li><strong>Collaborating with all teams</strong> to switch from creating long-lived features branches to short-lived branches, submitting reviews against trunk branch.</li><li><strong>Enhancing our QA process</strong> by performing and validating feature testing exclusively on the new integration environment</li><li><strong>Encouraging the engineers to use </strong><a href="https://trunkbaseddevelopment.com/feature-flags/"><strong>Feature Flags</strong></a> more extensively as a core concept of TBD, ensuring features can be toggled on or off to avoid blocking any releases.</li></ul><p>Additionally, two crucial factors were considered while executing this transition within the Vyond Engineering team:</p><ol><li>The team consists over 50 engineers, which is on the larger side for the SaaS industry.</li><li>The technology has been operational for more than a decade, necessitating extra caution when implementing changes. The potential impact at all levels should be meticulously identified and addressed.</li></ol><h4>Preparation and Communication</h4><p>But above all, transitioning to TBD is not just a technical change; it’s a <strong>mental shift</strong> that requires careful communication and preparation with the engineering team. It’s crucial to engage in open dialogues, address potential resistance, and provide comprehensive training to ensure that everyone understands the benefits and the new workflow. By fostering a culture of collaboration and continuous learning, the transition to TBD can be smooth and successful.<br>Being accountable for this transition, I have spent most of my time on this aspect, while the Infrastructure team helped to setup the adequate stack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/0*CsFRWzhk7TPk8JtG.jpg" /><figcaption>Preparation, effective planning and communication are keys!</figcaption></figure><p>One thing to mention that we have decided not to modify our release cycle right away. We plan to introduce this change later, once the product development team has become accustomed to this new workflow. This alteration has effects that extend beyond the engineering team, directly impacting business decisions.</p><p>Iterative approaches are <strong>essential</strong> for better adoption and for facilitating pivotal and critical organizational changes.</p><h3>Realizing the benefits</h3><p>The transition went smoothly, and from September 2024, all our teams were working with trunk-based development!</p><p>Beyond the traditional and well-known benefits of TBD, we experienced several notable takeaways:</p><ul><li>We had to disable the setting “<strong>Require branches to be up to date before merging</strong>.” Our CI system simply wasn’t ready to handle new runs on all pull requests every time we updated the trunk. Given our monorepo approach, some of our projects experienced very high activity and it impacted our development velocity.</li><li>Under GitFlow, we used to create our release branch on a given date, usually one week before our recurring release. With TBD, we decided to create our release branch once the given scope of feature testing was completed. This change is the first step toward achieving more frequent releases in the future.</li><li>As mentioned before, we achieved significant cost savings by decommissioning multiple environments that were previously dedicated to feature teams. Now, all teams operate within a single, unified environment for validation, streamlining our workflow and reducing overhead.</li><li>Some engineers raised concerns about the potential increase in code conflicts when working on very large projects with TBD. Although these were valid concerns, after a few weeks, we clearly saw a <strong>drop in code conflicts</strong>, even in our most active and complex repositories.</li></ul><p>The Vyond engineering team’s commitment to adaptability and continuous improvement has been <strong>instrumental</strong> in this shift. Their efforts have made this transition a real success 💪🏻!</p><p>It emphasizes the importance of adaptability and continuous improvement, which are crucial given the intense competition in the AI SaaS market.<br>Staying ahead requires not just delivering exceptional products, but also evolving processes. This involves carefully reviewing and refining our methods to ensure we remain at the forefront of innovation.</p><p>As we look to the future, we are confident that this shift will pave the way for more frequent releases and even greater processes at Vyond. While the journey may be challenging, especially within an established company, the positive impact is well worth the effort!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58e6e785edc9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>