Delivery practices.
A delivery board with fifteen phases, a branch per change, three reviews before testing, staging, safe database changes, weekly release sprints from one live branch, planned moves and written handover: how a request becomes a release on a live platform, and how we keep each step honest.
Change Lifecycle
Every change to a live platform passes thirteen steps from request to customer, and each skipped step is a way for a release to break something customers rely on.
Planning and Branching
Every change starts as a request with an owner, and lives on its own branch.
Delivery Board
Every change to a live platform needs an owner, an estimate and a history. A change that starts as a chat message has none of these, so features end up half built and fixes are forgotten. Every change is a card on a delivery board on our own workflow platform, with a ticket number, module, priority, type, owner and estimate, moving through fifteen phases from requirement to done, with every move recorded.
Change Branching
Changes must be releasable one at a time. When several are made in one place, a single unfinished feature blocks every fix and none can be reviewed or undone cleanly. Each change gets its own branch, named after the person and the request, 1,712 of them across our repositories.
Review and Testing
Review, a copy of production to test on, and changes to data and libraries handled with care.
Staged Code Reviews
The author of a change is the worst-placed person to spot what it breaks. Review that looks only at code misses broken screens, and review that looks only at screens misses missing tenant checks and quiet data bugs. Every change passes a design review, a front-end code review and a back-end code review by someone other than its author, then testing, and the board does not let a card skip a phase.
Staging Validation
A change must be tested where it will run. Most broken releases come from differences between where a change was tested and production, and testing on the live platform risks the customers it was meant to help. A staging server holds a copy of each platform, every change is tried there first by testers who set out to break it, and only a change that passes staging goes near the live branch.
Database Migrations
Code can be rolled back in seconds; a database change that drops a column or rewrites rows cannot. A careless migration corrupts orders or locks tables in the middle of the day. Every database change is a dated migration file kept with the code and applied in four steps, back up, migrate, verify and test, following a written deployment guide for anything larger than a column.
Dependency Management
Every platform carries other people’s code in its libraries. Libraries that are never reviewed collect known vulnerabilities and dead weight, and become the easiest way into a careful platform. Libraries are audited against published advisories, updated within safe ranges and pruned when unused; on one platform a single audit took 22 advisories to none and the library folder from about 300 MB to 15 MB.
An engineer reviews how changes reach your platform, from request to release, and where they can slip through.
Release Management
Small, dated releases from one live branch, reaching every tenant together.
Weekly Release Sprints
Releases have to be small and dated so a problem can be traced to its change. Big, irregular releases bundle dozens of changes and leave no record of what customers had on a given day. Every change is planned into a dated weekly sprint, each release is tagged in the code with its date and name, 142 of them across our repositories, and a released change is published to users as its own step before it is closed.
Live Branch Control
Everyone needs to know exactly what is running in production. When production is whatever is on the server, emergency edits are lost at the next release and fixed bugs come back. Each platform has one live branch that holds exactly what runs, servers take code only from it, and anything changed on a server goes back through a branch and review.
Single-release Tenancy
Every tenant on a platform should get every fix. Platforms that fork their code per customer end up maintaining dozens of slightly different products, where fixes and security patches never reach the old copies. Our multi-tenant platforms run one codebase for every tenant, with differences as configuration, and each release reaches every tenant together.
Hotfix Process
When a store cannot take payments, every minute costs money. A fix rushed out with unfinished work ships the unfinished work too, and a fix made on a server disappears at the next release. Fixes get their own branches, more than a hundred on one platform, so they are reviewed and released on their own, and issues that stop business are picked up at once.
Operations and Handover
Planned moves, written knowledge and a direct line to the customer.
Server Migrations
Moving a platform to a new server or operating system is where long outages and lost data usually happen. Improvised moves forget scheduled jobs, upload folders and changed database rules until customers notice. Every move follows a written checklist covering code and files, the database, the web server, scheduled jobs and external systems, is rehearsed on a test host with smoke tests, and is cut over in a planned maintenance window.
An engineer reviews your move plan, from the database to scheduled jobs, before the day it happens.
Documentation and Handover
A platform nobody can explain is a platform nobody can safely change. Knowledge kept in one engineer’s head leaves with them, and new engineers spend weeks rediscovering how things work. Every one of our 32 repositories has a README covering what it is, its architecture, stack and history, and open problems are written up as handover notes before anyone moves on.
Customer Communication
The engineers fixing a problem need to hear from the person who has it. Requests that pass through layers of account managers and ticket queues arrive late and distorted, and simple issues become escalations. Each customer has a private group with the people who run their platform, including outside working hours, and an account manager who knows their business.
Self-assessment Questions
Questions worth asking of any platform you run today.
- Can you trace any line of your code back to the request that asked for it?
- Does one unfinished feature stop a fix from going live?
- Who reviews a change other than the person who wrote it?
- Do you test changes on a copy of production, or on production?
- What happens before a database change runs on your live platform?
- When did you last audit your libraries for known vulnerabilities?
- Can you say exactly what was live on your platform on any given day?
- If your lead engineer left tomorrow, what is written down?
An engineer reviews how changes reach your platform, from request to release, against the questions above, and gives you a prioritised list of fixes.