Sub topic 13
Building a release-readiness checklist
Earlier chapters covered the release timeline, release notes, Release Updates, and preview sandboxes. This chapter combines them into one checklist that you reuse for every Spring, Summer, and Winter release. It assumes you can use Setup, know what a sandbox is, have seen Flow and Apex, and can run a command in a terminal.
Why a checklist
Each release has the same shape: read, assess, test, communicate, upgrade, monitor. The details change every time, so teams forget steps. A written checklist makes the work repeatable. It also assigns each task to a named owner, so nothing is assumed to be someone else's job.
A good checklist has four properties:
- Dated. Every item is tied to a milestone on the release timeline, such as the preview sandbox upgrade or the production upgrade window.
- Owned. Each item has one named person.
- Verifiable. Each item ends in evidence you can point to, such as a test report or a sent email. "Looked at it" is not evidence.
- Reusable. The template is stored in one place, and you copy it for each release.
Anchor the checklist to the timeline
Start by copying the dates from the official release schedule into the checklist. Salesforce publishes the schedule for every release. Preview sandboxes upgrade first, then production orgs, usually in waves over a few weekends. Your own org's date depends on its instance, so look it up and don't assume the date from a general announcement.
Work backward from the production upgrade. Fixing a failing Apex test or rewriting a Flow takes days, so "regression testing complete" must land well before the production window. Do not schedule it for the week of the upgrade.
The checklist, phase by phase
Phase 1: Plan
- Record the preview sandbox upgrade date and your production upgrade date.
- Name a release owner and a backup. Name a tester for each business area, such as Sales, Service, and Finance.
- Decide which sandboxes will be on the preview instance and which will stay on the current release. Keep at least one non-preview sandbox for urgent fixes to production, because a preview sandbox runs a newer version than production.
- Check that the release owner has access to the notification channels you use: the Salesforce release notes, the Trust site, and your internal chat channel.
Phase 2: Assess
- Filter the release notes to the clouds, features, and editions you use. Write down each change that touches something you have customized or turned on.
- Open Release Updates in Setup. For each update, note its enforcement date, whether it is already enabled, and which of your customizations it might affect.
- Review your org's API versions. List Apex classes, triggers, Flows, and integrations that run on very old versions, and decide whether any need attention.
- Rate each finding by impact and effort. Findings that can break a business process get regression tests. Findings that only change the interface get a communication item.
Phase 3: Test
- Confirm the preview sandbox has upgraded. Check the version shown in the org before you test, or you may be testing the old release.
- Run all local Apex tests and record the results.
- Run the key Flows, validation rules, and approval processes with realistic data.
- Walk through the top user journeys by hand, for example "create a lead and convert it" or "open a case and escalate it". Include a user with a restricted profile or permission set, since permission problems often don't show for administrators.
- Test integrations: inbound API calls, outbound messages, and any connected apps.
- For each Release Update you plan to enable early, test it in the sandbox first.
The Apex run can be a single command. This one targets a preview sandbox and waits up to 20 minutes:
sf apex run test \
--target-org my-preview-sandbox \
--test-level RunLocalTests \
--result-format human \
--wait 20Save the output with the checklist. If a test fails, compare the failure against the same test in a non-preview sandbox. A test that fails in both has an existing problem. A test that fails only in the preview sandbox points at the release.
Phase 4: Communicate
- Tell administrators and developers which changes affect the org and which tests passed or failed.
- Tell end users, in plain language, about changes they will see. Include the date and what to do if something looks wrong.
- Update training material, screenshots, and help text that no longer match the interface.
- Publish the production upgrade window and the support channel for problems.
Phase 5: Upgrade day
- Check the Trust site for the status of your instance and for scheduled maintenance.
- Pause deployments and big data loads during the upgrade window.
- Keep the release owner and the testers reachable.
Phase 6: Monitor and triage
- After the upgrade, run a short smoke test in production. Use read-only checks, or test records you can clean up.
- Watch error emails, Apex exception emails, failed Flow interviews, and integration error logs for the first few business days.
- Triage each report: is it a release regression, an existing defect, or a training question? Log each as a ticket with the release version, so you can see patterns later.
- Open a support case with Salesforce for issues you can reproduce that look like a platform change.
A compact checklist table
| Phase | Item | Owner | Evidence |
|---|---|---|---|
| Plan | Dates copied from the release schedule | Release owner | Link to schedule |
| Assess | Release notes filtered and findings rated | Admin lead | Findings list |
| Assess | Release Updates reviewed | Admin lead | Screenshot or list with dates |
| Assess | API version review | Dev lead | List of old components |
| Test | Apex tests run in preview sandbox | Dev lead | Saved test output |
| Test | Key journeys tested | Business testers | Signed-off test sheet |
| Communicate | Admin and user notices sent | Change manager | Sent messages |
| Upgrade | Trust status checked | Release owner | Note in the log |
| Monitor | Smoke test and error watch | Dev lead | Triage ticket list |
Handling API versions in the checklist
Components in your org, and the source you deploy, carry an API version. In a Salesforce DX project, the sourceApiVersion field in sfdx-project.json sets the version used for source deployments:
{
"packageDirectories": [
{
"path": "force-app",
"default": true
}
],
"sourceApiVersion": "65.0"
}The number 65.0 is only an example. Use the version that matches the release you have tested against. Add one checklist item for this: raise sourceApiVersion deliberately, in its own change, after your tests pass on the new release. Don't raise it in the middle of other work, because the change can alter how metadata is retrieved and deployed. Keep it in version control so reviewers can see the change.
Common errors
- Testing only as an administrator. Admins have broad permissions, so a missing field permission goes unnoticed. Always include a restricted test user.
- Testing the wrong release. The sandbox has not upgraded yet, or it was refreshed after the preview window and is now on a different instance. Verify the version first.
- Treating the checklist as one-time. Each release has new Release Updates and new dates. Copy a fresh checklist and update it.
- Skipping the retrospective. After each release, note which checks found real problems and which found nothing. Add the first kind to the template and drop the second.
- No rollback thinking. You cannot downgrade a production org. Your recovery plan is a fix, a workaround, or turning off a Release Update where Salesforce allows it. Decide who can approve each option before upgrade day.
Exercises
Exercise
Your regression test run on the preview sandbox shows two failing Apex tests. What should you check before you decide the release caused the failures?
Show answer
Run the same tests in a non-preview sandbox that has the same metadata and data. If they also fail there, the problem exists independently of the release. If they pass there and fail only in the preview sandbox, the release is a likely cause, and you should check the release notes and Release Updates for related changes.
Exercise
List three things the checklist should record for every item, and give one example of acceptable evidence for the item "Apex tests run in preview sandbox".
Show answer
Each item should record an owner, a date or milestone, and evidence of completion. Acceptable evidence for the Apex item is the saved output of the sf apex run test command, with the preview sandbox name and the pass or fail counts.