Partnership
Escrito por Darjus Kazakevic · revisado el
Two teams that fail together should plan and build together.
Sometimes two contexts are truly linked. In an online shop, Pricing owns the discount rules and Sales owns the basket and checkout. A promotion like “buy two, get the third at half price” needs both to change in the same release. If that happens every month, any contract between the two teams is rewritten every sprint.
Partnership is the honest name for that. The teams plan together, test both contexts together, and treat a red build on either side as a problem for both. The cost is slower, shared decisions. If the coupling never shrinks, the two contexts probably want to be one.
En esencia — When two contexts can only ship features together, the teams plan together and test against each other's latest code, instead of negotiating a contract.
Cuándo recurrir a él
Recurre a él cuando
- Features in one context often cannot ship without the other
- Any contract between the two teams would change every sprint
- The teams share a company, a roadmap and a planning rhythm
Reconsidéralo cuando
- The teams cannot plan together, for example another company
- Forever: if paired changes never fall, merge the contexts
- Data mostly flows one way: customer–supplier is enough
Conceptos clave
- Shared planning
- The teams plan the linked work together, in the same planning meeting. Neither side commits to a date the other cannot meet.
- Continuous integration across both
- Each context is tested against the other's latest code, not a released version. A break shows up within hours, not at release time.
- An exit condition
- A partnership should be reviewed. If paired changes become rare, move to customer–supplier. If they never become rare, merge the two contexts.
Reglas de diseño
- Test both sides against each other's latest code
- Run both contexts' tests on every change to either, and block merges when either side is red. Without that build, the agreement decays into two teams surprising each other.
- Plan the linked work in one meeting
- Put the paired stories in one plan with one owner. If each team plans alone, the shared feature waits for whichever team is slower.
- Name and review the exit condition
- Count paired changes each quarter. If they fall, move to a lighter relationship. If they never fall, the two are one context with two names, and merging beats coordinating.
Errores habituales
- Calling it a partnership while each team plans alone
- Testing against released versions, so breaks appear late
- No exit review, so a temporary link becomes permanent
- Trying it with a vendor or another company that has its own roadmap