Your Checkout Has Never Met a BFPO Address
Most release reviews spend their time on the interesting bits: the queue migration, the new payment provider, the feature flag that definitely won’t accidentally switch on for everyone. Then the deploy goes out and checkout starts falling over because someone typed GIR 0AA into the postcode field.
That’s not a typo. It’s a real UK postcode, used for Girobank, and it’s exactly the sort of thing your address lookup provider, your regex and your delivery-partner integration have probably never seen outside a test fixture. Address data is a deployment dependency. Treat it like one.
The address form is a production system
For a lot of UK engineering teams, address capture is a fairly thin layer: a postcode lookup, a few manual fields, a validation library and a hopeful shrug. It sits somewhere between checkout and fulfilment, owned by nobody in particular and tested with the same three addresses that have been in the staging database since the last office move.
Then reality arrives. A customer lives on a new-build estate that hasn’t made it into the lookup provider’s index yet. Another has a BFPO address. Someone else lives in a flat above a shop where the royal mail record, the delivery courier and the council all disagree about whether the building number comes before or after the street name. None of these are edge cases in the “one in a million” sense. They’re normal UK addressing, and they cluster around exactly the moments you don’t want friction: peak trading, bank holiday dispatches and any release that touches checkout.
What tends to break, and when
The failures are rarely dramatic. That’s the problem. Address issues tend to degrade quietly: a lookup returns no results, the form falls back to manual entry, the customer abandons, and your dashboards show a small dip in conversion that gets blamed on traffic quality.
Common release-day traps include:
- Non-standard postcodes.
GIR 0AAis valid. So are postcodes for some large users and non-geographic addresses. If your validation is a home-grown pattern that assumes every postcode maps to a street, it will reject good data. - UPRNs and address base data. If you’re using Unique Property Reference Numbers, make sure the release doesn’t break the join between your address lookup and your fulfilment records. UPRNs are stable; the way your app stores them might not be.
- BFPO addresses. Forces postings use BFPO numbers and specific formats. They may not look like UK addresses to a generic validator, but they’re perfectly deliverable through the right route.
- New-build estates. A house can exist, have residents and receive post while still being missing from a lookup provider’s index. Your fallback to manual entry needs to actually work, not just exist as a dead-end link.
- Flat numbering.
Flat 2, 14 High Streetmeans something different from14A High Street. Manual entry fields that collapse these into one line are a delivery incident waiting to happen. - Provider fail-open behaviour. Some lookup services fall back to a permissive regex when their API is slow or unavailable. That can let nonsense through at the exact moment your error rates are already elevated.
A pre-deploy checklist for address capture
Before a release that touches checkout, fulfilment or any address-related integration, run through a short, boring checklist. It should be part of the release ticket, not a separate quality initiative that nobody owns.
- Test the weird ones deliberately. Keep a fixture set that includes
GIR 0AA, a BFPO address, a new-build address from the last six months, a flat with a sub-number, a house name without a number, and a Crown dependency address if you ship there. Run them through the full journey, not just the validator. - Check the fallback path. Disable the lookup provider in staging and confirm that manual entry still produces an address your fulfilment team can use. A fallback that loses the building name is not a fallback.
- Confirm provider behaviour under latency. Add artificial delay to the lookup API and watch what the form does. If it times out and silently accepts anything, decide whether that’s the behaviour you want during peak.
- Verify field mappings end to end. The address the customer sees, the address stored in your database and the address sent to the courier should be the same address. Release changes to data models have a habit of dropping the second line.
- Check your regional monitoring before you need it. If you can’t break down checkout errors by postcode area or region, fix that before the release, not during the incident.
Observe the failure, not just the error code
A generic address_validation_failed metric tells you almost nothing. Was it a real invalid address, a provider outage, a timeout, or a valid BFPO address that your validator rejected? Those are different problems with different fixes.
Tag address events with enough context to triage without storing personal data: postcode area or district, validation outcome, whether lookup or manual entry was used, provider response time and whether the customer completed the journey. Then build a simple dashboard that shows address-related drop-off by region. A spike in manual entry in one postcode district after a release is a much stronger signal than a slight rise in overall checkout errors.
Synthetic checks help here too. Put a handful of awkward but valid UK addresses into your monitoring and run them through checkout at a low frequency. If the new-build estate address suddenly fails validation at 2am, you want to know before the first customer complains.
Ship the boring bits properly
Address capture isn’t glamorous, and that’s exactly why it gets missed. But a release that breaks delivery for a few hundred customers in one region is still a broken release, even if the deployment pipeline went green.
Add the odd addresses to your test fixtures. Check the fallback. Watch the regional drop-off. And next time someone suggests a quick regex change to the postcode field, ask them whether it handles GIR 0AA. If they laugh, you’ve found your next release dependency.