ON-PREM CHOREO CLOUD BOTH

What you will learn

  • Say why a passing routine test run does not tell you which commit is safe to promote
  • Say what a release candidate run does to dev while it runs
  • Read the four results PROMOTABLE, FAILED, DRIFT and NOT PINNED
  • Say why the full 40 character commit, and not HEAD, is handed over

Before you start

On this page

Dev follows main, so dev moves all day. Before a commit can go to stage, someone has to be sure that exact commit passed its tests. That is the job of the .

Why the routine runs are not enough

The routine release-validation runs test dev regularly. They are advisory. Deployments to dev keep flowing while they run, so the commit under test can change part-way. A pass tells you the suites passed on something. It does not tell you which commit passed.

What a release candidate run does

A person starts the release-candidate workflow on dev. The run:

  1. Freezes dev deployments for the run.
  2. Pins the commit dev is on.
  3. Runs the integration suites against that one commit.
  4. Checks that dev did not move while the suites ran.
  5. Posts one result card.

Starting a candidate stops a running routine run by default. That run posts a cancelled result to chat, and that is expected.

The four results

ResultWhat it means
PROMOTABLEEvery suite passed and dev stayed on the pinned commit.
FAILEDA suite, or the run itself, failed. Fix the failing suite, then run a new candidate.
DRIFTThe suites passed, but dev changed during the run, for example because the freeze was lifted by hand. Run a new candidate.
NOT PINNEDDev did not settle on one commit within 10 minutes. Check the release status dashboard, then run a new candidate.

Suites that are switched off in dev by design do not block a PROMOTABLE result. The card lists them as skipped, so the SRE team can see what was not run.

Why the full commit and not HEAD

Only the full 40 character commit from a PROMOTABLE card may be promoted from dev to stage. Deployments resume when the run ends, so HEAD soon points at a commit the candidate did not test. For a promotion from dev to stage the requester hands over a link to the PROMOTABLE card.

Your turn

Imagine you start a candidate at 10:00. At 10:20 someone lifts the freeze on dev by hand and a new commit lands. The suites pass at 11:15. Which result do you expect, and what do you do next? Check your answer in the table above, then try the quiz.

Recap

  • Routine validation runs are advisory. A pass does not show which commit passed.
  • A release candidate freezes dev, pins one commit, runs the suites and checks that dev did not move.
  • It ends as PROMOTABLE, FAILED, DRIFT or NOT PINNED.
  • Only the full commit from a PROMOTABLE card goes to stage, not HEAD.

Wrap up

Recap

Tick each one when you could explain it to a colleague.

Finished?

Quick check

Loading the quick check...

Spotted something wrong or unclear in this lesson? Report an inaccuracy (opens GitHub in a new tab)