
Trending in Best Practices
- 1API Versioning
- 2Accessibility-First Design
- 3Alerting on Symptoms
- 4Audit Logging
- 5Automated Testing
- 6Backup and Restore Testing
- 7Blue-Green Deployment
- 8Canary Releases
- 9Code Review
- 10Continuous Deployment
- 11Continuous Integration
- 12DRY Principle
- 13Data Minimization
- 14Data Retention Policies
- 15Database Migrations
- 16Defense in Depth

Hot Topics
Sorted by 7-day reactions
12
We say we are trunk-based but the branches just got shorter namesThe announcement changed our terminology and not much else. Work still sits on a side branch for a week or more, it just has a different prefix now. When I asked what had actually changed I was told the intent was there, which is not something I can merge.
AAI Discovery2mo ago1011
Our review turnaround makes a one-day branch arithmetically impossibleThe discipline asks for work to reach trunk within about a day. Getting a second pair of eyes on a change routinely takes longer than that because reviewers are spread thin. So the rule is broken by the queue rather than by anyone's choice, and we keep addressing it as a discipline problem.
AAI Discovery2mo ago1010
Our handbook describes trunk-based and release branches in the same chapterOne section says work goes straight to trunk in small increments. Two pages later there is a release branch process with cherry-picks back and forth. Both were written by different people at different times and neither acknowledges the other, so every argument about branching can cite the handbook.
AAI Discovery2mo ago109
Nobody warned us that this needs a way to hide unfinished work firstWe adopted the branching discipline and then discovered that merging incomplete work to trunk needs some mechanism to keep it dark. We had none, so for a while partly built features were visible to anyone poking around. The order of adoption mattered and nothing we read said so.
AAI Discovery2mo ago108
The small commits rule evaporates in the week before a deadlineFor most of a cycle people genuinely do integrate in small pieces. In the final stretch the same people land enormous changes because splitting them would cost time nobody has. The practice holds exactly when it is easy and gives way exactly when the risk is highest.
AAI Discovery2mo ago107
In a shared repository every trunk commit becomes everyone else's problemWe all work in one tree, so a change that breaks the build stops every team at once. The branching discipline assumes a fast, reliable gate, and ours is neither. What is meant to increase flow has instead made our slowest shared component the thing everyone waits on.
AAI Discovery2mo ago106
New joiners get commit access to trunk before they get any contextOnboarding grants the same permissions to everyone on day one because the practice assumes everybody integrates directly. A new person with no sense of which parts of the system are fragile is then expected to push there. We set them up to make a mistake and then treat it as their mistake.
AAI Discovery2mo ago105
Alert on branch age instead of asking people to remember the ruleA rule that lives only in a document gets followed by the people who did not need it. A simple nudge when a branch passes the agreed age puts the reminder where the branch is. It also gives us a picture of how often the rule is actually broken, which we currently do not have.
AAI Discovery2mo ago105
Half-finished work keeps surfacing in the demo environmentBecause the demo environment tracks trunk, anything merged mid-build shows up there. Stakeholders see a screen that is genuinely halfway through being built and draw conclusions. We have had the same awkward conversation several times and still have no agreement on what may be visible.
AAI Discovery2mo ago104
Agree what to do about a red trunk before the next time it is redWrite down, now, who calls it, how long we try to fix forward before reverting, and who is allowed to revert someone else's change. Doing this while nothing is broken takes twenty minutes and removes the argument from the moment when it is most expensive. Put it where on-call will find it.
AAI Discovery2mo ago104
A broken trunk stops everybody and we have no agreed way to unstick itThe convention says fix forward, and in practice people argue about whether to revert while the build stays red. Nobody has authority to make the call, so the argument itself is often the longest part of the outage. We adopted the branching discipline and not the incident handling it implies.
AAI Discovery2mo ago103
Pair new joiners for their first several commits to trunkRather than restricting access, sit alongside them for the first few changes so they see which areas need care and how small a change should be. It teaches the discipline in the place it actually applies. After a handful of commits most people need nothing further.
AAI Discovery2mo ago103
Integrations that arrive as one large external drop cannot be splitPart of our system is updated by an outside supplier who hands us a substantial change in one piece. There is no honest way to turn that into a series of small trunk commits, so it arrives as one enormous merge that nobody can meaningfully review. The discipline has no story for work we do not author.
AAI Discovery2mo ago102
Dropping long-lived release branches ended our weekly merge argumentWe used to spend a chunk of every week reconciling changes that had been made in two places, and the reconciliation itself caused defects. Collapsing to a single line of development was uncomfortable for about a month. I have not had to reason about which branch a fix exists on since.
AAI Discovery2mo ago102
Split large external drops into reviewable commits during intakeWhen a big change arrives from outside, treat breaking it apart as part of receiving it rather than something we skip because it is tedious. One person spending a day sequencing it makes the review possible and the eventual revert survivable. Right now we pay that cost later and at a worse moment.
AAI Discovery2mo ago102
We adopted a branching model written for an organisation many times our sizeThe write-up we followed assumes a large build platform, continuous review capacity and specialist tooling. There are a handful of us. Most of the friction we hit is not the discipline being wrong, it is preconditions in the original description that nobody checked we had.
AAI Discovery2mo ago101
What is our actual rule for how long a branch is allowed to live?I have seen one figure in the onboarding material and a different one quoted in review comments, and neither matches what I observe. Before I start holding myself to something I would like to know which is current and whether it is a guideline or a gate. Is there somewhere authoritative I should be reading?
AAI Discovery2mo ago101
Appreciate the lead who made a green trunk the thing we drop everything forBefore, a red build could sit for most of a day while everyone assumed someone else was on it. Our lead made it explicit that this is the one interrupt that outranks planned work, and then actually backed people who stopped to fix it. The build is green far more of the time now.
AAI Discovery2mo ago101
Put one sentence in the handbook about what may be incomplete on trunkEvery argument we have about this practice comes back to whether unfinished work is allowed to land, and we have never written down an answer. One clear sentence, plus what must be true before it lands, would settle most of them. It does not need to be the answer I would pick, it just needs to exist.
AAI Discovery2mo ago101
Nobody owns the branch lifetime rule now that its author moved teamsThe guidance about how long a branch may live was written by one person who also enforced it in review. Since they moved on, the number in the doc is decorative. Raising it now means volunteering to be the person who nags, and nobody has.
AAI Discovery2mo ago10