QA Interview Hub · Knowledge base · Quizzes · Українська

QA Fundamentals › Processes and Agile

How do you support a release and the post-release check?

A release ends not with the deploy but when it is confirmed that production works as expected. Before it, QA supplies facts for the go or no-go decision: scope, evidence, open bugs, risks, rollback readiness. The PO and the team decide. During the deploy the version, migrations and config are verified. Afterwards critical flows are checked on test accounts without irreversible actions, and metrics are watched.

QA Fundamentals · Processes and Agile

The release went out at 18:00 and the first complaints came at 18:20. What should QA have checked?

The release was rolled out at 18:00, the team went home, and at 18:20 the first complaints reached support: after the update the operations history does not open. Everything worked on staging, the regression was green. The difference turned out to be a migration that behaved differently in production than on a small test database. A release does not end at the moment of deployment but when it is confirmed that the system in production works as expected. This lesson is about what QA does before, during and after a release.

How it works and why. A release is at once a decision (to release or not), a controlled change (the deploy) and an observation (is everything fine after it). Each phase answers its own question. Before the release: is there enough evidence that releasing is fine? During the deploy: did the right version with the right configuration reach production? After: does the system behave as it did on staging, and have problems appeared that were not there? Why staging tests alone are not enough: production has different data, volumes, configuration and integrations, so some defects are visible only there.

Three phases of a release

Before releaseRegression, open bugs, risks, go/no-goDeployVersion, migrations, config; flow checkAfter releaseErrors, metrics, complaints; rollback or fix
Figure 1. A release is not only the deploy: every phase has its own checks and its own question.
PhaseWhat QA doesResult
Before the releaseConfirms the scope (all stories Done per the DoD), checks the release notes against the actual changes, runs regression, collects the open bugs with a decision on each, assesses risks, checks that rollback and monitoring are readyEvidence-based input for the go or no-go decision
DeployChecks the version, migrations, configuration and flags, does a short check of critical flows on test accountsConfirmation that production holds exactly what was planned
After the releaseWatches errors, metrics, logs and complaints, compares with the baseline, prepares checks on real dataA decision: all is well, fix forward or roll back

Go/no-go is a decision of the team and the business, usually the PO or a release manager. QA does not "allow" a release but provides facts and an honest risk assessment: what is verified, what is open, what is unknown. The criteria are worth agreeing in advance (this is in essence the release's exit criteria), otherwise on release day they get bent to fit the wish to ship.

Example: a readiness note and the post-deploy check. Compare two messages before a release:

Weak:
  "Testing is complete, we can release."

Useful (an illustrative example):
  Release 2.15.0: recommendation GO under the conditions below.
  Scope: 14 stories, all Done per the DoD; release notes checked
    against the scope.
  Verified: payments and profile regression, automated tests on
    staging green, new features walked through manually.
  Open bugs: PAY-240 (minor, workaround exists, fix in 2.15.1);
    PAY-244 (major, risk accepted by the PO, deferred).
  Risks: a new migration of the operations table, its duration in
    production is unknown; there is no reverse migration.
  Rollback: the application goes back to image 2.14.9; the
    migration does not, so with a data problem we fix forward.
  After deploy: 6 flows on test accounts, then 2 hours of watching
    errors. Owner: ...

The weak version has nothing to base a decision on. The useful one shows the scope, the evidence, the open bugs with decisions, the migration risk and a clear condition under which we roll back and under which we fix forward. Now concrete things can be discussed: was the migration tested on a volume similar to production. That is exactly the risk nobody noticed in the story from the opening.

A short list for production after the deploy:

After deploy, production, a QA test account (no real money operations):
  1. The version in the footer or a service endpoint = 2.15.0
  2. Sign-in, sign-out, password recovery (the email arrives)
  3. The card list and balance are displayed
  4. A transfer reaches the confirmation screen (not confirmed)
  5. The operations history opens, old records are in place
  6. Monitoring: the 5xx share is not above the baseline, no new log errors

The selection principle: what is the worst that happens if this flow is broken, and can it be checked without consequences. That is why the checks go through test accounts, and where an action is irreversible (transferring money) they stop at the confirmation screen. The list is short because it is run in minutes, right after the deploy. Deeper checks are not done in production: that is what staging is for.

Limits and alternatives. Rollback is not always possible: data migrations, sent emails and made payments do not come back, so in that case you fix forward (a hotfix) and build the risk into the plans. Feature flags (a feature is switched off without a new deploy) and gradual rollouts (canary, a percentage of users) help to reduce it: an error affects a smaller part of the audience. QA does not always own the release: deploying is usually done by DevOps or a release manager, while QA is responsible for checks and assessment. In teams with continuous delivery releases are small and frequent, each change passes automated checks in the pipeline, and manual pre-release regression shrinks to risky areas. In regulated fields (finance) change approvals, a log and a release window are also required. Only safe things may be tried in production: no real money operations, no deleting or changing other people's data, limited rights of the test account and an agreed process.

Common mistakes.

  • Considering the release finished after the deploy: problems show up in the first hours, and without observation users are the ones who report them.
  • Having no rollback or fix-forward plan: when something breaks, time goes on discussion instead of action.
  • Making the go decision by feel: without a list of open bugs and risks the decision is dishonest and irreversible.
  • Checking production with real money "to be sure": actions are irreversible, pollute data and reports and in many fields break the rules.
  • Making the production check long and complicated: it will not finish in time and the critical item gets lost among trifles.
  • Not checking the version in production: sometimes the wrong build is deployed or the configuration is not applied, and all later checks are pointless.

Check yourself

The quick production check after the deploy is green, but an hour later the 5xx share doubled against the usual one. What do you do?

Answer

I do not consider the green check sufficient. I match the growth with the deploy time and version, look into the logs for which endpoints and users are affected and assess the impact (is there a workaround). Together with the team I decide: roll back or fix forward, and inform the stakeholders. I file a bug with evidence (graphs, sample requests), and after stabilisation I suggest adding a matching item to the post-deploy list.

Why is a rollback of a release not always possible and what to do about it in advance?

Answer

Because some changes cannot be reversed: data migrations, sent emails, made payments. In advance this is accounted for in the plan: migrations are made compatible with both versions of the application, the new function is hidden behind a feature flag, the rollout is gradual, and where a rollback is impossible a fix-forward and the criteria for launching it are prepared.

In an interview. Junior: Before a release I run regression and give a go or no-go recommendation. After the deploy I do a quick check of the critical scenarios in production on test accounts, watch the logs and monitoring and know under what conditions the team rolls the release back. Middle/Senior: I prepare a note for the decision: the scope, what is verified, the open bugs with a decision on each, the risks and a rollback or fix-forward plan. The decision is made by the PO and the team, my role is facts and an honest assessment. After the deploy I check the version, migrations and config, run a short checklist without real money operations and watch the baseline metrics for a few hours. Where rollback is impossible I suggest feature flags and a gradual rollout.

More articles in this chapter