Identify which route the request follows
A Cloud Run service can distribute ordinary requests across multiple revisions. A traffic tag provides a separate URL that reaches a particular revision. That makes tags useful for candidate testing, but a successful tagged request does not prove that the ordinary service URL sends traffic to the candidate. Likewise, a candidate with no percentage allocation can still receive tagged requests.
A rollout therefore needs two kinds of evidence: direct validation of the candidate and observation of the service's configured allocation. Keep revision identity in logs and metrics so failures can be attributed to a release rather than averaged across the entire service. Authentication requirements also continue to apply to tagged endpoints.
Before beginning, identify the stable revision, candidate image digest, project, region, expected request mix, and rollback owner. Check compatibility of shared databases and external side effects. Reassigning traffic cannot undo an incompatible schema change or reverse messages already published by the candidate.
Validate the rollout in stages
- Read
gcloud run services describe storefront --project=PROJECT_ID --region=REGION --format=export. Inspect the traffic section, revision names, tags, and whether allocation follows an explicit revision or a latest-revision target. Confirm the current state before planning a change. - Test the candidate through its intended tagged URL using approved credentials and safe business records. Cover startup, dependencies, and a representative operation. Include a revision identifier in internal diagnostics so the test can demonstrate which release handled it without exposing implementation details to customers.
- Apply the reviewed percentage split through the deployment source. Exercise the ordinary service URL and evaluate revision-level error and latency metrics. Use enough traffic to produce useful evidence, while acknowledging that a small sample need not match the configured percentage exactly.
- Promote or restore the prior allocation based on explicit acceptance criteria. Verify the resulting traffic configuration after the command completes. Clean up obsolete tags only after confirming that no test automation or operational tool depends on them.
Illustrative scenario
A hypothetical reporting service deploys a candidate with no ordinary traffic and a preview tag. A test runner reports that the release is healthy. Later, an operator expects customer requests to reach that release, but the traffic configuration still assigns the full service allocation to the stable revision. The problem is a missing migration step, not stale DNS or a failed deployment. Direct tagged testing and ordinary traffic verification answer different questions.
| Observation | Check | Response |
|---|---|---|
| Preview works, customers see old behavior | Ordinary service traffic allocation | Apply the intended reviewed split |
| Candidate errors are hidden in averages | Metrics grouped by revision | Evaluate candidate-specific outcomes |
| Rollback serves an incompatible application | Database and dependency compatibility | Use the broader recovery plan |
| Unexpected tagged instances stay warm | Legacy revision minimums | Review tags and scaling together |
Verify a rollback before you need it
Confirm that the stable revision still exists and can authenticate to current dependencies. Test a safe request against it when appropriate. Document the previous allocation, not merely the word "rollback." A prior deployment may itself have used multiple revisions. After restoring traffic, watch for ongoing candidate work and reconcile any business operations that crossed the transition.
Release operating procedure
Record the candidate digest, revision names, tagged tests, ordinary service checks, acceptance thresholds, and final allocation in the release record. Monitor both user-visible behavior and revision health throughout the observation window. Review tag ownership and minimum-instance effects during cleanup. Rehearse traffic restoration in staging so the team understands its limits before production pressure arrives.
Explore Clouvenix cloud architecture for implementation and operational handover.
Technical reference
rollouts and traffic migration and tagged revision minimums.