Skip to content
S3U
Login Create Account

Science / DevOps / Grade 9 / sd990

Read a Release Gate

Use test evidence, recovery limits and secret-handling rules to evaluate a release.

All worksheets

Watch the lesson | Release Lab

5 questions0m 0s

Learn first

Percent means out of one hundred

A percent compares an amount with one hundred equal parts. The % symbol means percent. A change amount is different from the final amount after the change.

How to work it out To find p% of an amount, multiply by p/100. For a percent increase, add the increase to the original only if the question asks for the new total.

A separate example In a separate example, 15% of 60 is 0.15 × 60 = 9. An increase of 9 would make a new total of 69.

A release needs evidence about the right version

A version identifies a particular set of changes. A test gives evidence about the version tested. Deployment makes a version available in a stated environment.

How to work it out Check that the tested version matches the proposed release. Keep permission, data correctness, recovery time, and availability as separate checks.

A separate example A passing test for a separate package 8 does not establish that changed package 9 passes. Retest the changed version before relying on the old result.

Learn the skill

A pipeline can automate build and test steps. A release gate blocks deployment until required checks pass. A staging environment supports checks before production. Rollback may restore old code, but it does not automatically undo database changes. Secrets belong in private configuration.

Worked example

Build passed but a required data test failed: the gate stays closed. Restoring an old program after a database format change may not restore compatibility. Plan a backup and a tested recovery procedure before a risky migration.

Build passed. Unit tests have 18 passes and 2 failures. The staging smoke test has not run. Required checks are incomplete.
Fix failures and complete required checks before releasing.

Fictional Pipeline

Build: pass. Unit tests: 18 passed, 2 failed. Staging smoke test: not run. The policy requires all unit tests and the staging smoke test to pass before release. An API key must not appear in source files, browser code or logs. This is a paper review, not permission to run commands on production.

Question 1 How many unit tests ran?
Question 2 What percentage of unit tests passed?
Question 3 Does this release meet the stated gate?
Question 4 What must be considered before rolling old code back over a changed database?
Question 5 Where should the API key belong?