Check If a Revision Went LiveBeta
When a service has a Deployment Gate, each new revision is checked before it goes live. Check the result to find out whether your revision shipped, and to unblock a held revision when you decide it should go live. For background, see Deployment Gates.
Prerequisites
You must have a service with a Deployment Gate and write permissions to services. To create a gate, see Test a Revision Before It Goes Live.
Read the Outcome
When you publish a pipeline version into a service that has a gate, the revision isn't live yet. To follow the run, click Go to gate in the notification, which opens the Gate Result page of that run.
After a gate run finishes, an icon on the Pipeline card shows the outcome. To find out why a revision was held, click the icon and check which Evaluation goals blocked it. Results from before Evaluation goals appear as a Composite check with a Historic badge.
To open the complete result on its own page, click Open full result. You can do this from the icon's popover, from Show details on the newest result on the Gate tab, or from Details on an earlier result.
Act on the Gate Banner on Overview
While a gate runs, and after a gate failed or couldn't decide, the Overview tab of the service has a gate banner.
Choose the action that matches the state:
- Held: The revision stays inactive until the gate passes, and Publish is paused for the service. Click Go to gate to follow the run on the Gate tab.
- Failed: The previous revision stays live. Click See failure to find out which goals failed. If the revision failed a Safety goal, no customer saw its answers.
- Undecidable: The previous revision stays live. Click Go to gate, then retry the gate. See Retry an Undecidable Result.
To put a failed or undecidable revision live anyway, click Override… in the banner. For the steps, see Override a Failed Result. To learn when Publish is paused, see Publishing During a Gate Run.
Find the Sessions That Failed a Goal
Use the Gate Result page to find out which Sessions made a goal fail and why. The page shows the goals grouped by category. Each goal shows its value against the bar, the margin, and how many sessions pass, for example "n of N sessions pass".
- Click Open full result from the icon on the Pipeline card, from the newest result's details on the Gate tab, or from an earlier result.
- On the Gate Result page, select the goal you want to investigate.
- In the Sessions panel, review the Sessions scored for that goal. Each Session is marked as passing or failing. To list only the Sessions that fail the goal, select Failing only.
- Expand a Session to see its trace and check why it failed the goal.
If the Sessions panel shows no pass or fail marks and no Failing only filter, your deployment doesn't report per-Session results yet. The goal values and margins still show.
To return to the service, use the breadcrumb at the top of the page.
Retry an Undecidable Result
Use a retry when the platform couldn't judge the revision, for example because a scoring run failed. After you fix the cause, retry to run the gate again instead of publishing a new revision. Retry is available only for undecidable results.
- On Overview, in the Pipeline card, click the red cross icon.
- In the details popover, click Retry gate.
You can also retry from the banner of the newest result on the Gate tab, when the banner offers Retry gate.
Retrying starts a new gate run. When it finishes, check the icon or the Overview banner for the new outcome. If it's still failed, fix the cause again and retry, or override the result.
Override a Failed Result
Override a failed result when the revision must go live although its checks failed, for example because a hotfix can't wait. Overriding puts the held revision live. Override is available for any failed result, including an undecidable one.
- On Overview, click Override… in the gate banner. Alternatively, in the Pipeline card, click the red cross icon and then click Override gate in the details popover.
- Type the reason for the override.
- Confirm the override.
The revision goes live, and the icon turns amber. If the override is refused, see the causes below.
You can also override from the Gate tab: click Override in the banner of the newest result.
The Retry gate and Override actions appear only with write permissions to services. If an action is refused, the cause is usually that another gate run is still in progress, the service was deactivated, or the service moved on to a different revision. Wait for the run to finish, or open the current held revision, and try again. For the full rules, see Overriding a Failed Gate Result.
Bypass a Gate Run in Progress
Bypass a run when a revision must go live before a long replay or evaluation finishes. On the Gate tab, click Bypass gate in the banner of the running result, type a reason, and confirm. Bypassing cancels the running check and puts the revision live right away. Bypass is available only while a run is in progress and only with write permissions to services. If the dialog reports that bypass isn't available yet, wait for the run to finish and override the result instead if it failed.
What To Do Next
- Activate a Service Revision with the REST API to follow a held revision from a CI job with the REST API.
Related Information
Was this page helpful?