Your Release Has a Supplier You’ve Never Met: Making Public APIs Visible in Deploy Decisions
Photo: UK Government, CC BY 2.0, via Wikimedia Commons
On a wet Tuesday in November, someone drops a link into the release channel: Companies House is returning errors. The team about to ship a change to the customer portal freezes. Another engineer is halfway through a routine deploy of an internal admin tool and wonders whether to pause. A third points out the release has nothing to do with company filings and carries on.
All three reactions are reasonable. Only one of them is a policy.
Public APIs have become the plumbing of UK digital services. Companies House confirms who you are doing business with. HMRC powers tax and Making Tax Digital flows. DVLA answers vehicle enquiries. GOV.UK Notify sends the emails and texts that tell people something happened. None of these systems belong to you, but when they wobble, your release process needs to know whether that matters — and by how much.
Start with a dependency register, not a panic button
Most teams already have an informal list of external services in their heads. The useful version lives in a file, with fields that help a release manager make a decision at 4pm on a Friday. For each public API, record the provider, the endpoint or product, what your service uses it for, whether it sits on a customer-critical path, what happens when it fails, who owns the relationship, where the status page lives, and any auth or rate-limit quirks.
Then give each dependency a tier. Tier one means a release that touches that integration should probably wait, or at least require a named approver, when the dependency is genuinely degraded. Tier two means ship, but watch the dashboards and be ready to disable the integration. Tier three means note it in the release record and carry on. The tiers are the important bit. Without them, every external outage looks the same, and teams either stop everything or learn to ignore status pages altogether.
Gates should be conditions, not guillotines
A deploy gate that trips on any red status page will be bypassed within a month. A better gate asks three questions: does this release change code that calls the dependency, is the dependency currently failing for real users in the UK, and do we have a safe fallback? If the answer to the first is no, the gate should stay open. If the answer is yes and there is no fallback, hold the release or escalate. If there is a fallback, ship behind a flag and prove the fallback works.
That last point matters. Circuit breakers are only comforting if someone has tested them. A circuit breaker that has never opened in anger is a rumour. Add a game day or a staging exercise where you force the dependency to fail and watch what your service does. Does it show a clear message, retry sensibly, queue the work, or fall over with a stack trace?
Synthetic checks should test the journey, not just the ping
A TCP check tells you a host is reachable. It does not tell you that an HMRC submission will be accepted, that a DVLA vehicle lookup returns the fields your form expects, or that a GOV.UK Notify message reaches an inbox. Build small synthetic checks around the journeys you actually depend on, using test accounts and internal recipients. Run them from more than one UK region if you can, and keep them polite: respect rate limits, cache where possible, and do not turn a public service into your load-testing target.
Tag the results with the dependency name and the service that consumes it. Then wire those tags into your dashboards and alerts. When the check fails, you want the on-call engineer to see which releases are in flight and which ones touch that path.
Status pages are inputs, not oracles
Public status pages are useful, but they lag. They may say degraded while your checks are green, or green while your users are seeing errors. Treat them as one signal among several. Ingest the feed if it helps, but verify with your own telemetry: error rates, latency, failed submissions, delivery callbacks. A dependency incident should inform the release conversation, not replace it.
The same goes for communications. A release note that says 'known supplier incident, fallback active, monitoring' is worth more than a wall of silence. It tells the next person on shift what they are walking into.
Make the invisible supplier visible
You do not need a grand programme to start. Pick the ten public APIs your services rely on most. Add them to the release checklist. Write one synthetic check for the journey that would hurt most if it broke. Agree a tier for each. Then test one circuit breaker before you need it. The goal is not to stop shipping every time a government API has a bad afternoon. It is to know, quickly and honestly, whether this release is the one that should care.