Lesson 2 of 5 Flow of Work and Traceability

Designing the Flow of Work with Boards and GitHub Flow

This lesson explains why flow matters, how boards make it visible, and how GitHub Flow structures daily work.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain the link between work in progress and cycle time.
  • Describe work in progress limits, split columns and definitions of done.
  • Describe the steps of GitHub Flow.
  • Distinguish Scrum from Kanban.

Why flow matters

Flow describes how smoothly work moves through a system. When a team starts many items at once, each item waits for attention, people switch context, and finished work sits in a queue for review or testing. The time an item spends being actively worked on is often small compared with the time it spends waiting. Improving flow therefore means removing waits, rather than asking people to work faster.

Little's Law gives this idea a simple form: average cycle time equals work in progress divided by throughput. If a team finishes 10 items a week and has 40 items in progress, an average item takes four weeks. If the team halves its work in progress to 20 items and keeps the same throughput, the average falls to two weeks, without anyone working harder. This is why limiting work in progress is the first recommendation for a slow team.

The following diagram shows a team's board on which finished work queues for review, and where the constraint lies.

The team's board. Fourteen items sit finished in the Done half of In Development, waiting for review, while only two are in review: review capacity is the constraint. Work in progress limits on In Development and In Review, and smaller pull requests, address it; adding developers would grow the pile.
The scenario is illustrative.
Fill in the number

Little's Law

Exam skills 1.1.1

Use average cycle time = work in progress ÷ throughput.

Log in to try this activity Interactive activities are free with an account.

Designing a board

A Kanban board makes flow visible. Each column represents a state, and the columns should reflect how work really moves. A team might use New, Ready, In Development, In Review, In Test and Done. Azure Boards adds three features that turn a picture into a process.

Work in progress limits

A work in progress limit sets the maximum number of items in a column. Azure Boards shows a column as over its limit, rather than preventing the move, so the limit is a signal that invites the team to finish existing work. A column that is repeatedly at its limit is a bottleneck, and the team should help that stage instead of starting new items.

Split columns

A split column divides a state into Doing and Done. An item in the Done half of In Development is waiting for someone to pick it up for review, so split columns reveal queues that would otherwise be hidden within a single column.

Definition of done

A definition of done states what must be true before an item leaves a column, for example that tests pass and a reviewer has approved. Azure Boards can show it on each column. Explicit rules remove arguments about whether work is really finished.

GitHub Projects boards offer similar ideas. A board view groups items by a status field, and a column limit can be set as a guide. Built-in workflows automate common moves, for example setting the status to Done when an issue is closed or a pull request is merged.

True or false

Board features in Azure Boards

Exam skills 1.1.1

Check how work in progress limits, split columns and the definition of done behave.

Log in to try this activity Interactive activities are free with an account.

GitHub Flow

GitHub Flow is a lightweight branching workflow, and the skills measured name it explicitly. It has only one long-lived branch, main, and main is always in a deployable state. The following sequence shows the routine for each change.

  1. Create a branch

    Branch from main with a descriptive name, such as fix-login-timeout.

  2. Make changes

    Commit small, related changes and push them to the remote branch, so that the work is visible and backed up.

  3. Open a pull request

    Describe the change and link the issue. A draft pull request can be opened early to gather feedback.

  4. Review and run checks

    Reviewers comment and approve, and required status checks run automatically.

  5. Deploy from the branch, if your process allows it

    Some teams deploy the branch to a test or production environment before merging, in order to verify it.

  6. Merge and delete the branch

    Merging puts the change into main, which triggers deployment in a continuous delivery setup, and the branch is removed.

GitHub Flow works because each branch is short-lived, so integration problems stay small, and because the pull request is the single place for review, discussion and checks. It suits teams that deploy continuously, usually web applications with one version in production. It fits less well when an organization must support several released versions at once, because there is no place to maintain an older version. Such teams add release branches, as the lesson on branch strategies explains.

Put in order

One change in GitHub Flow

Exam skills 1.1.1

Arrange the GitHub Flow routine for a single change.

Log in to try this activity Interactive activities are free with an account.

Comparing flow structures

Candidates are sometimes asked to choose between Scrum-style sprints and Kanban-style continuous flow. Scrum plans a fixed amount of work for a fixed period, and suits teams that benefit from a regular planning rhythm. Kanban pulls items as capacity allows, and suits teams with a stream of unplanned work, such as operations or support. The following comparison summarizes the difference.

Scrum
CadenceFixed sprints, often two weeks
Limit on workSprint capacity
Main measureVelocity
Change during the periodAvoided within a sprint
Choose when Work can be planned in regular increments.
Kanban
CadenceContinuous
Limit on workWork in progress limit per column
Main measureCycle time and throughput
Change during the periodAllowed when capacity is free
Choose when Work arrives unpredictably, as in support or operations.
Sort into groups

Scrum or Kanban?

Exam skills 1.1.1

Decide which flow structure each team or practice belongs to.

Log in to try this activity Interactive activities are free with an account.
Worked example

Finding the bottleneck

A team's board shows 3 items in In Development, 14 items in the Done half of In Development, 2 items in In Review and 1 item in In Test. Lead time has doubled over three months. Management proposes adding two developers. What should you recommend?

The decisive fact is the 14 items waiting in the Done half of In Development, because they are finished by developers and waiting for review. The constraint is review capacity, and adding developers would raise the pile of unreviewed work, making lead time worse.

You should recommend a work in progress limit on In Development and In Review, so that developers help with reviews when the queue is full. The team should also consider smaller pull requests, which are quicker to review. Reducing the number of states or removing the review step would hide the wait, or remove a quality control, without addressing its cause.

Check yourself

A team has 30 items in progress and finishes 10 items a week. What is its average cycle time?

Show answer

Three weeks. Little's Law gives cycle time as work in progress divided by throughput.

Exam Tips

Remember for the exam

  • Cycle time equals work in progress divided by throughput.
  • Work in progress limits expose bottlenecks; split columns reveal hidden queues.
  • GitHub Flow has one long-lived branch, main, which is always deployable.
  • Unplanned work suits Kanban; regular increments suit Scrum.
  • Azure Boards highlights a column over its limit rather than blocking the move.