Work Culture & Behind the Scenes

Working in Small Batches: DORA's Guide to Keeping Team Speed Safe, Including When Using AI

DORA explains how to break work into small batches that can be tested and released independently, and why this practice acts as a safety net when teams use AI coding assistants.

By Oemah Solution Editorial 4 min read

This article was prepared with AI assistance from the official sources listed below, and checked automatically before publication.

Many software teams still hold back releases until months of work have piled up, then hand it all over to the next stage at once. As a result, feedback arrives late and problems are hard to trace. In its capabilities guide, DORA (a research programme on software delivery and operations performance) names working in small batches as one answer. According to DORA, this practice is now even more important because of the use of generative AI.

What working in small batches means

According to DORA, working in small batches is an important principle in any field that depends on feedback loops. Teams can test hypotheses quickly, then change course or revisit their assumptions if the results do not match expectations. DORA places it within lean product management, alongside visibility of work in the value stream, team experimentation, and visibility of customer feedback.

DORA describes one reason batches grow large: the high fixed cost of handoffs. In the traditional phased approach, the handoff from development to testing or to operations contains an entire release, the result of months of work by dozens to hundreds of people. Gathering feedback can also take weeks or months.

Benefits cited by DORA include:

  • faster feedback, so problems are easier to isolate and fix;
  • improved efficiency and motivation;
  • organisations avoid the sunk-cost fallacy trap;
  • a safety net during AI adoption.

How to apply it in practice

DORA suggests breaking features down following the INVEST principles:

  • Independent: batches should be as self-contained as possible so they can be built, released, and validated in any order.
  • Negotiable: can be renegotiated when feedback comes in.
  • Valuable: usable and delivering value to stakeholders.
  • Estimable: there is enough information to estimate the scope.
  • Small: completed in a matter of hours to a few days within a single sprint.
  • Testable: can be tested, monitored, and verified against user expectations.

Ideally, developers check in several small, release-ready changes to trunk at least once a day. So that unfinished features can still be merged, DORA suggests starting from the service or API layer rather than the UI. Additions to the API can be released to production without being visible to users, which is called dark launching. These changes can then be verified with automated tests, so the team keeps working from trunk rather than from long-lived feature branches.

A dark launch can also use feature toggles, which are conditional statements based on configuration. Toggles can show or hide UI elements, or enable and disable service logic; the configuration can be read at deploy time or at runtime. For large-scale changes, a similar technique called branch by abstraction allows development and release to continue from trunk.

In this approach, a batch is considered done only once it has been released to production and the feedback process, whether from users, system monitoring, QA, or automated tests, is running.

Pitfalls to avoid

DORA names two main pitfalls:

  • Work is not broken down small enough. DORA suggests that individual features should take no more than a few days, and a batch of code that takes more than a week to complete and review is considered too large.
  • Small batches are regrouped before being sent downstream. Regrouping delays feedback about defects as well as about whether the feature is worth building at all.

On AI coding assistants, DORA warns that AI excels at quickly producing large blocks of code, yet large changes are hard to review, test, and integrate safely. DORA advises avoiding giant pull requests; the cognitive load of reviewing small chunks of machine-generated code can be higher per line than for human-written code. DORA's research also shows that small batches strengthen the positive effect of AI adoption on product performance. AI adoption often increases delivery instability, and small batches are the antidote so that speed turns into value rather than chaos.

How teams and clients can use it

DORA provides measurement questions that can serve as a starting point for discussion between teams and project owners:

  • How often are releases possible, and how does this differ between teams?
  • What proportion of features can be completed in a week or less?
  • Can changes be committed and released before the feature is complete?
  • Is an MVP defined and is it the team's target?

For organisations still used to large releases and formal handoffs between phases, the practical step is to ask for work to be broken into units that can be verified on their own, to support dark launching or feature toggles, and to treat feedback from production as the sign that work is done. For teams starting to use AI coding assistants, a limit on change size helps shift developers' focus from simply generating code to decomposition and verification. DORA also refers to Google's guidance on small changelists: smaller changes are easier to review, merge, and roll back.

#dora#small-batches#trunk-based-development#feature-toggle#ai-coding

Sources & references

This article is a summary and interpretation by the Oemah Solution team of the sources below. Refer to the original sources for full details and context.

  1. DORA | Capabilities: Working in small batches DORA (dora.dev) · dora.dev