Modern Software Delivery: How to Measure Releases, Manage Risk, and Recover From Failure

osama ahmed ·Dec 5, 2021 ·6 min read
Two colleagues discussing a printed release plan at a meeting table

A team adds a new order status to its customer portal. The change passes review and deploys successfully. Minutes later, customer service notices that older orders show a blank status. The deployment system did its job. The release still needs attention because a task customers rely on has stopped working.

Modern software delivery connects code review, deployment, and what users experience after a change. A good release plan identifies the task that must keep working, the evidence that will show it works, and what the team will do if it fails. The order status example below shows how to put those decisions into a repeatable release process.

Start Modern Software Delivery With an Acceptance Test

Write down what the change should do from the user’s point of view. For the portal, customers should see the new status when it applies and continue seeing the existing status on older orders. Support staff should see consistent information when they look up the same order. Those expectations give the team a basis for choosing tests and deciding whether to proceed.

Include cases that can easily be missed in a new feature demo. What does the portal display if an older record has no value for a newly added field? What happens if the order system is slow or temporarily unavailable? Which details may users see for orders that belong to their account? Use test data to cover both recent and older orders.

Give reviewers a short explanation of what changed and how to check it. Include the expected behaviour and the conditions under which the team would pause the release. Keep those notes with the change so the person on duty can find them without reconstructing the reasoning from chat messages.

Review the Change Before It Reaches Production

Use automated checks for behaviour you can verify consistently. A unit test might check how a missing status is displayed. An integration test might check how the portal reads an older order from the orders service. A user-facing test might sign in with a test account and verify that the right status appears on the page.

Ask reviewers to check the work the tests don’t explain. For example, can the portal and orders service run different versions during deployment? Will a status change affect an export or a downstream report? If reverting the application leaves a database change behind, check whether the previous application version can still read those records.

Apply the same acceptance criteria to AI-assisted changes. Reviewers should be able to explain the proposed behaviour, why a new dependency is needed, and whether the tests cover older data and failure cases. Run the checks in the project’s normal workflow and review any unexpected change in scope. Someone on the team should own the decision to merge.

For background on tools and team practices across the wider lifecycle, see NetworkUstad’s software development guide. In this release, the focus is on the checks that let the team ship one change and verify its effect.

Roll Out in Stages and Check the User Task

Engineer pinning a card to a corkboard beside a window
Give each rollout stage a check and an owner.

A staging test can catch mistakes before customers see them. Production can still differ in traffic, data age, and how services respond. If your platform supports a staged rollout, begin with a limited group or a controlled production check. Decide how long to observe it and what evidence you need before making the change available to everyone.

Agree on signals tied to the change. For the portal, those could include successful order lookups, page errors, response time, and reports of blank statuses. Use a test account to walk through an old order and a recent one. A healthy average can hide a problem that affects only one group, so look at the cases most likely to be different.

Release stageWhat to verifyWho acts if it fails
Before deploymentAcceptance tests pass and the recovery procedure is available.The change owner addresses the failure before proceeding.
Limited rolloutSample lookups work and the chosen monitoring signals stay within the agreed limits.The release owner pauses expansion and investigates.
Wider rolloutOrder lookups and status displays still work under normal traffic.The on-call owner initiates the agreed response.
After recoveryUsers can complete the affected task and data remains consistent.The incident owner confirms recovery or escalates.

Use limits that make sense for the service and its traffic. A single blank status on a known test order might justify stopping immediately because it directly contradicts an acceptance test. A short increase in error rate might need a closer look at volume and baseline. Record which rule applies before the change begins.

Plan Recovery Before You Need It

For the order status example, the quickest recovery might be to disable the new display through a feature flag or deploy the previous application version. Either option depends on how the change was built. Check that the previous version can still read any data written by the newer one. If the release made changes that cannot be reversed safely, plan how to restore service without losing customer records.

Name the person who can make the call to pause or recover. Make sure they have the access and instructions they need during the release window. If they’re unavailable, the team should know who takes over. Keep a record of the version deployed, when symptoms appeared, and the action taken. Customer service can use the same timeline when responding to reports.

After recovery, repeat the user task that failed. Check an older order, a new order, and any records created during the affected period. A successful rollback command tells you that a step ran. The follow-up checks tell you whether customers can use the portal again. Record any remaining data issues and assign an owner to resolve them.

Read Software Delivery Metrics Together

DORA’s software delivery metrics guide describes measures for throughput and instability. Use a consistent definition and time window for the service you’re measuring. The measures answer different questions about a release process.

MetricWhat it helps answer
Change lead timeHow long does a change take to get from commit to production?
Deployment frequencyHow often does the service deploy changes to production?
Failed deployment recovery timeHow long does recovery take after a failed deployment that requires intervention?
Change fail rateWhat share of deployments require immediate intervention, such as a rollback or hotfix?
Deployment rework rateWhat share of deployments are unplanned work prompted by production incidents?

Suppose a service has 20 deployments in a month and two require immediate intervention. Under that definition the change fail rate is 10%. The count matters too. With that volume, one more failure would move the rate by five percentage points. Compare the rate across several periods, and review which failures had material customer impact. Record recovery durations and whether the corrective work required unplanned deployments.

Define which events your team will count before reporting the numbers. A deployment and a feature becoming visible to users can happen on different days. Capture both dates when that helps explain what happened, and apply the same deployment definition across reporting periods. Ask what information would be lost if you combined unrelated services in one total.

Use the Next Release to Check One Improvement

Start the review with what the team saw. The order status release might have passed tests for newly created orders while skipping older records from before a migration. Add a representative legacy record to the test suite, give someone responsibility for the new check, and run it in the same pipeline the portal uses for releases.

Take a second look when the next related change goes out. Did the check run? Could the person handling the rollout find the recovery instructions? Did the monitoring distinguish orders affected by the new behaviour? If a check never ran because it depended on manual setup, fix that handoff before adding more metrics.

You can apply the same approach to platform engineering. Put a reliable set of build, test, and monitoring defaults in a shared template when multiple teams keep solving the same problem. Ask a team that didn’t design the template to try it. Their experience can show where the defaults save time and where the documentation needs work.

The next release needs a clear user task, a person who owns the decision to proceed, and a way to verify recovery. Review the results with the people who support the service. Then choose one change to the process that will make the next release easier to verify.

Release planning note

The release and figures are illustrative. Confirm your service’s data compatibility, monitoring, and recovery procedure before applying any production change.

Osama Ahmed is a technical writer and software engineer with 10 years of experience creating step-by-step guides and tutorials. Certified in AWS Solutions Architect and Google Cloud Professional. Has authored 350+ tutorials.