Richard McCann
01/17/2023, 3:11 PMTimothy Jones
01/17/2023, 3:32 PMUnder our definition of done this leaves that piece of work incomplete, and dependent on another team before it can be completed.How would you solve this problem without Pact?
Timothy Jones
01/17/2023, 3:34 PMFor reference the current process would be that the Provider team would develop the interaction first, test and merge to main, completing their story. The Consumer team could then implement the usage of the feature with no dependency on the Provider team.Er. For equivalence, wouldn’t you say that the provider team can’t complete their story without the consumer team doing theirs?
Timothy Jones
01/17/2023, 3:34 PMTimothy Jones
01/17/2023, 3:35 PMTimothy Jones
01/17/2023, 3:36 PMwhat would the recommended approach be?Pact is, by nature, consumer driven. This is definitely the recommended approach. The server exists to, well, serve. So, the ideal design process is to have the consumer tell it what they need.
Timothy Jones
01/17/2023, 3:38 PMTimothy Jones
01/17/2023, 3:38 PMTimothy Jones
01/17/2023, 3:41 PMTimothy Jones
01/17/2023, 3:43 PMUnder our definition of doneWhat is this definition of done? I’m concerned that a consumer team wouldn’t be done without the provider team’s work, but the provider team can be done without the work of the consumer team. If either one of the teams haven’t done their bit, then presumably value is not ready to be delivered to users?
Timothy Jones
01/17/2023, 3:46 PMthis work done by the Consumer team is left in limbo - it cannot be merged into the main branch and must be shelved until the Provider team ‘get around’ to fulfilling the contract.This is true in your usual approach too, yes? It’s just not exposed, because the consumer team don’t even start the implementation while they’re waiting for the Provider team to ‘get around’ to building the endpoints.
Boris
01/17/2023, 11:24 PMleaving the Consumer code going stale on a branchFeature toggles are usually used to address this, so the work can be "done" while not finally exercised, and not go stale on an old branch. I think Pact either has support for feature toggles now, or it's being worked on.
Boris
01/17/2023, 11:25 PM