Before / after fix verification

Before / after fix verification

Did the fix stop the customer’s failure, and where was that checked?

Before / after verification on a Connect session compares the customer’s original failure with every check made after the fix. Each check names its environment and when it ran, so a pass in staging is never mistaken for a fix in production.

Warning:A successful deployment is not proof that the problem is fixed, and the verdict never resolves the ticket by itself. A person decides, usually after the customer confirms.

What it compares

CheckEnvironmentBefore / after
The approved reproduction scenario’s test, each recorded executionAs recorded: CI, staging, production, customer, localAs recorded: before the fix, after it, after deploying
The customer’s browser reproductionCustomer’s environmentThe original is before; each repeat is after deploying
The Connect agent’s reproduction runsCustomer’s environmentThe original is before; each repeat is after deploying
The CI test plan for the fix (base branch vs fix branch)CIAfter the fix
Post-deployment verification from production telemetryProductionAfter deploying

The approved reproduction scenario is kept as the original failure.

Verdicts

VerdictWhen
RegressionAny check after the fix shows a new failure: a CI test that passed on the base branch fails, or post-deployment verification detected a regression.
UnresolvedThe original failure still happens after the fix (in production or the customer’s environment, or in every other environment checked).
ResolvedThe original failure was reproduced before the fix, at least one check in production or the customer’s environment shows it no longer happens, and no check shows it still does.
Partially resolvedSomething improved but that standard isn’t met: only CI, staging or local passed; environments disagree; or there’s no reproduced failure from before the fix to compare with.
Not verifiedNothing after the fix has a result yet. A deployment waiting for telemetry is not a check.

The report also lists the reasons, the environments not checked yet, and the next step (for example: ask the customer to repeat the reproduction).

Getting checks after the fix

  • Record executions of the approved scenario’s test from CI, staging or production.
  • On a browser reproduction, Ask the customer to repeat it; on an agent reproduction, repeat the run. Both need the customer’s approval again.
  • Link the fix’s investigation to its release so post-deployment verification runs.

Saved reports

Save report stores the report with its verdict. Each saved report is on the session timeline and the investigation’s audit trail, and sends the connect.verification.reported webhook.

API

  • GET /api/trial/:id/connect/sessions/:sid/verification: the current report (not saved) and the saved ones
  • POST /api/trial/:id/connect/sessions/:sid/verification: save a report
  • GET /api/trial/:id/connect/verification/:reportId