Home · Designing an AI Gateway for Enterprises · Part 13 of 17

"Deployment succeeded" is not "it works"

Accepted, valid and working are three different things.

operationsresilience

Any control plane will take your configuration, check that it's well formed and tell you "succeeded". That's a statement about the paperwork, not about the system. Sometimes you find that out at the first real user request.

I hit this often enough to turn it into rules. With two halves to release, a gateway and a portal, the cost of being wrong was twice as large, and the temptation to trust a green tick twice as strong.

✓ ✓ ✗ Configaccepted Deployment"succeeded" First realrequest Where youfind out
Two green ticks and one red cross. Only the last one counts.

Four rules

  1. Validate before you deploy. Ask the tooling's own validator what it thinks, and do it as a separate step ahead of the real deployment, where a failure costs seconds instead of minutes.
  2. After every change, send one real request. Not a health check. A real request, through the real path, as a real caller would send it.
  3. Make the check falsifiable. A check that can't fail proves nothing. Send something unique and see it come back. If you can't tell the difference between "it worked" and "nothing happened", you haven't tested anything.
  4. Green means accepted. Write it on the wall. "Accepted" and "working" are different words.

One entry point

Both halves go out through one entry point, and I treat them as one release. A portal that deploys cleanly into a gateway that's quietly misconfigured is a nicely lit room with the door bricked up. The checks follow the same logic. After a change, send a real request through the door, load a real page in the control room, and confirm that the two agree about what just happened.

That last step catches a surprising amount. If the request appears in the portal with the right person, the right model and a sensible cost, a whole chain of things is working at once: identity, routing, metering, storage and reporting. If it doesn't, you know the chain is broken and roughly where.

Why valid isn't the same as working

A system can usually check that your configuration is well formed, not that it does what you meant. The difference between those two is exactly where deployments go wrong. A setting can be perfectly valid and perfectly useless. A rule can be accepted and silently never run. Only a real request tells you which you have.

A habit, not a procedure

The rules only work if they become habits. The first week, sending a real request after a change feels like overhead. By the third week, not doing it feels reckless. I keep the check small on purpose, a single request and a single look at the result, because a heavy ritual gets skipped on exactly the day you're in a hurry, which is also the day you most need it.

I also keep the evidence. The request I sent, the answer that came back and where it appeared in the portal go into the record of the change. Six months later, when someone asks whether a change was ever tested, the answer is a fact, not a memory.

The cost

A few minutes per change. The benefit is that you learn about a broken configuration before your users do, which is a better week for everyone. It also changes habits. Once "it deployed" stops counting as an answer, people start asking better questions in reviews: what did you send, what came back, and how would you have known if it hadn't worked?

"Succeeded" means the paperwork was accepted. It doesn't mean the system works.

Was this useful?

Want to discuss this? Connect with me on LinkedIn.

Next: keeping the glue thin.