Ship Show Ask - A modern branching strategy at Lean Agile Scotland 2024

rouanw 88 views 43 slides Sep 28, 2024
Slide 1
Slide 1 of 43
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43

About This Presentation

Pull requests have become a bottleneck. Engineers waste hours waiting for code reviews or long builds, switching between branches or reworking changes.

We are wasting time with no measurable improvement in quality.

Ship/Show/Ask is a new software branching strategy that combines the features of P...


Slide Content

Rouan Wilsenach
Ship/Show/Ask
A modern branching strategy
wartypig.co.uk
@rouanw [email protected]

Chapter one
Where are we today?
wartypig.co.uk

How can we work effectively on
one codebase at the same time?
wartypig.co.uk

Spoiler:
this talk is really about trust
wartypig.co.uk

There was a time in the short (but getting longer)
history of software when the answer was:
“see you later!”
wartypig.co.uk

wartypig.co.uk

Agile & XP came along
talk more, work together and
put our changes together all the time
wartypig.co.uk

The rise of the Pull Request
wartypig.co.uk

We’ve gotten ourselves into a
bit of a mess…
wartypig.co.uk

In 40% of teams:
> 14 hours for a PR to be picked up for review
> 18 hours for a PR to go from opened to merged
<1 merge per dev per week
https://linearb.io/resources/engineering-benchmarks
Data from 3.6M PRs across 2000 teams

How did this happen?
wartypig.co.uk

Fear about security and
compliance
wartypig.co.uk

Teams scale fast and people’s
context is low
wartypig.co.uk

Remember when I said this is
about trust?
wartypig.co.uk

What does this cost?
wartypig.co.uk

Waiting time
Context switching
PR Bloat
wartypig.co.uk

Review fatigue
wartypig.co.uk

We’ve all reshaped our workflows
for reviews that mean nothing
wartypig.co.uk

Back to TBD?
wartypig.co.uk

The PR advantage no one talks about:
inclusivity through enabling asynchronous
workflows
wartypig.co.uk

More flexible way of working.
Remote work.
Part time work.
Time zones.
People with family commitments.
People with accessibility requirements.
wartypig.co.uk

The tech industry desperately
needs diversity
wartypig.co.uk

Chapter two
A trust-based branching model
wartypig.co.uk

Introducing
Ship/Show/Ask
wartypig.co.uk

The person contributing each change makes a
call about how the change should be treated
wartypig.co.uk

wartypig.co.uk
Ship

wartypig.co.uk
Ship

wartypig.co.uk
Show

wartypig.co.uk
Show

wartypig.co.uk
Ask

wartypig.co.uk
Ask

The rules:
Approval should not be a merge requirement
People get to merge their own Pull Requests
We use TBD techniques
Our branches should not live long
wartypig.co.uk

Pull requests cannot replace
conversation
wartypig.co.uk

Chapter three
What about you?
wartypig.co.uk

You’re already using my
branching strategy!
wartypig.co.uk

If you mostly ship…
Start showing to increase visibility
Have conversations next to the code
Include people
wartypig.co.uk

If you mostly ask…
Start showing to release some pressure
Learn some TBD techniques
Work on building trust
Incentivise safe changes
wartypig.co.uk

Balance
Trust
Familiarity
Experience
Regulation
wartypig.co.uk

Rouan Wilsenach
Ship/Show/Ask
A modern branching strategy
wartypig.co.uk
@rouanw [email protected]
https://martinfowler.com/articles/ship-show-ask.html
Tags