r/TrunkbasedDevelopment • u/martindukz • Aug 31 '25
r/TrunkbasedDevelopment • u/ElectricalAge2906 • Aug 13 '25
TBD implementation and QA process questions
We are trying to adopt Trunk-Based Development (TBD) to improve stability. Currently, we work with develop, beta, and master branches. We have separate repositories for API, web, and mobile.
Our main pain point right now is that it’s hard to make a release without including code that hasn’t been tested or has failed tests. This happens because once a PR is approved by a partner, we merge it into develop, regardless of whether QA has validated it.
At the moment, the mobile app points to the develop server, which mirrors the develop branch of the API repo. The same applies to web. The current flow is:
• All developers create PRs to develop.
• A partner reviews and approves them.
• Changes are merged and become immediately available to the whole team, including mobile and QA.Our goal with TBD is to keep main as a stable branch containing only QA-approved code. However, I’m wondering how to handle certain scenarios—for example:
• Mobile working on a feature that is being developed in API at almost the same time.
• QA needing to test multiple features, bug fixes, or tasks before they are merged into main and deployed, given that we may resolve several tickets in a single day.For context, our team consists of 4 full-stack developers and 3 mobile developers. We use GitLab and Jira.
I’ve researched ephemeral environments and feature flags/toggles.
• Ephemeral environments make more sense to me and I see how they could fit our workflow. Still, they require careful coordination to define client endpoints before merging, because an environment created from a card identifier won’t necessarily match what web or mobile are working on.
• Feature flags: I understand the general concept but not yet the technical implementation or how they would fit into our desired flow. Many developers work on different bug fixes and features that QA must review before merging and making them available to the whole team.Most of my questions are related to defining a clear QA flow in TBD. Any guidance would be greatly appreciated.
r/TrunkbasedDevelopment • u/martindukz • Jul 25 '25
CMV: I believe the article is correct and the lack of knowledge and adoption of TBD shows the inability of our profession to act on facts and research
reddit.comr/TrunkbasedDevelopment • u/martindukz • Jul 21 '25
Why should this be a requirement? "You’ll want to make sure that the tests run on the whole integrated code base before hitting main."
bucket.cor/TrunkbasedDevelopment • u/martindukz • Jul 21 '25
Common misconceptions of Trunk-based development - and the article contains some as well (you can code review straight on main and others)
bucket.cor/TrunkbasedDevelopment • u/martindukz • Jul 20 '25
Non-Blocking Continuous Code Reviews - a Case Study
thinkinglabs.ioA good article on one way to remove friction and optimize CI in the development process
r/TrunkbasedDevelopment • u/martindukz • Jul 15 '25
Team burnout from code review bottlenecks... how do you handle it?
reddit.comr/TrunkbasedDevelopment • u/martindukz • Jul 12 '25
Github actions to support trunk based development with non-blocking reviews
Because GitHub lacks the support for reviews without Pull Requests, I have implemented a non-blocking review process.
It can of course be improved and I am open to suggestions - but early feedback is good:-)
r/TrunkbasedDevelopment • u/martindukz • Jul 13 '25
How many professional developers are actually aware of the research from DORA (Formerly DevOps Reports)
dora.devDORA is the largest and longest running research program of its kind, that seeks to understand the capabilities that drive software delivery and operations performance.
