Moving a job to a new platform
Legacy teamNew platform teamProject
When a job moves from an old system to a new one, what it must do may be written only in the old code. Between the team that knows the old system, the team that builds the new one and the project, the acceptance criteria and the test plan can fall to nobody, with each team acting in good faith. This map holds the steps from the old job to the new one, between the legacy team, the new platform team and the project.
The map as it starts. The number beside each mark is the responsibility with the same number in the list below. A mark sits in the circles of the teams that share the work, in the colour of the team proposed to own it.
- Decides
- Decides after consulting
- No owner
The 9 responsibilities
The owner of each responsibility is a proposal until the teams answer. Once the map is in your atlas, you can change or remove any of them and add your own.
1 Describe what the old system does today
Legacy team decides. New platform team informed.
Including what it does when a service doesn’t answer, and the cases only its code knows about.
2 Set the acceptance criteria
Nobody owns this yet. It sits between New platform team and Project.
The new platform team may expect them to be whatever the old system does, and the project may expect the people who build the new job to write them.
3 Decide what may work differently on the new platform
Project decides after consulting New platform team.
When a job that did one step at a time is split into services that pass events to each other, a message may go a little later, in another order, or twice after a failure. The new platform team says what will differ, and the project decides what is acceptable.
4 Write the test plan
New platform team decides after consulting Legacy team and Project.
With no test manager, it can fall between the project, which plans the work, and the new platform team, which builds the new job. The plan checks the new job against the acceptance criteria.
5 Run regression tests against the old behaviour
New platform team decides. Legacy team consulted.
The same test records go through both systems, and the messages are compared. The legacy team knows which records are the awkward ones.
6 Test end to end, from record to message received
New platform team decides. Legacy team consulted.
Through every service and the email and SMS providers, to a test inbox and phone, since each service can pass its own tests while the whole fails.
7 Make sure nothing is sent twice or missed at the switch
New platform team decides after consulting Legacy team.
Both systems read from the same database. If both run, every customer gets two messages; if there is a gap between them, some get none.
8 Switch off the old job
Legacy team decides. New platform team and Project informed.
Before the new job is switched on, at a time agreed with the project. The legacy team says when it is off.
9 Decide to switch on the new job, or to go back
Project decides after consulting Legacy team and New platform team.
Once the tests have passed. What would make the project switch the old job back on is agreed before the switch begins.