How do you validate a deployment with synthetic checks and post-deploy verification?
IntermediateProductionRelease Engineering and Progressive Delivery
Answer
After the rollout completes, the pipeline runs smoke tests against the real endpoint (login, key read/write path), checks error rate and latency in monitoring for a bake window, and verifies the running version (/version endpoint returns the expected SHA). Continuous synthetics (Checkly, CloudWatch Synthetics, Grafana k6 cloud) keep running afterwards. Failure triggers rollback and a notification linking the failing check.
test "$(curl -fsS https://api.example.com/version | jq -r .sha)" = "$GIT_SHA"
More on Release Engineering and Progressive Delivery
How do you do zero-downtime deployments on Kubernetes?IntermediateHow do you implement a canary release with Argo Rollouts and automated analysis?AdvancedHow do you roll back safely when a deploy includes a database migration?AdvancedHow do you design an automated rollback trigger?AdvancedHow do you handle hotfixes in a trunk-based flow?IntermediateHow do you version and release libraries versus services?Intermediate