Check every release automatically
BetaHave Scout re-check your site once for each new version real visitors reach, and see which problems the release fixed.
When real visitors reach a new version of your site, Scout re-checks the site once, compares it with your last audit and marks the problems it no longer finds. It can also check the release's tasks on your board.
Before you begin
- You need the Editor, Admin or Owner role.
- Flamio On-Live must record your site with the web SDK. See Install the web SDK.
- Run one complete Scout audit of the same address first: a release of
app.example.comcompares only with an audit ofapp.example.com(a leadingwww.aside), never ofexample.com. A check compares only with an audit in its own sign-in state, and is skipped when there is none. When the project has a test account that fits the address, run one audit signed in with it: until one exists, release checks run signed out against a signed-out audit, and Notes on this run say so. - To check the release's board tasks, connect Jira, GitHub or Trello to the project. See Connect an issue tracker.
On by default
Release checks start switched on. Once the project has a completed audit and your visitors report a version, every new version starts a check that spends tokens from your balance, up to the monthly budget — nobody has to click Check my site.
Set up release checks
Pass your release version to the SDK
Add the version option to Flamio.init. A new value seen on real visits counts as a new release.
import { Flamio } from '@flamioai/web-sdk';
Flamio.init({
projectKey: 'YOUR_KEY_HERE',
endpoint: 'https://api.flamio.org/api',
version: 'YOUR_RELEASE_VERSION',
});YOUR_KEY_HERE— the key from Flamio On-Live > Setup.YOUR_RELEASE_VERSION— your release, for example1.4.2. Set it at build or deploy time.
Once Delivery knows your production environment, visits on another environment's address — one you entered, or one its deploys reported more than once — do not count, unless production has that address too. A version your staging site runs is not a release. The Release version step under Finish setting up on Delivery shows the newest one.
Open the automatic checks
Open Flamio Scout and click Automatic checks at the top right of the page. The button counts the checks that are on. The panel opens on Release checks: Check every new release automatically is on by default.
A release check walks the address of your last audit and only looks and clicks. When the project has a test account that fits that address, Scout signs in with it first: it types the account into the sign-in form only, then walks the site signed in. When a run could not get in with it (a changed password, a second step), the next release checks run signed out until you save the account again or a run gets in with it, and Notes on this run say why. With no signed-out audit to compare with, they try the account again. A check that did not get in while its earlier audit did marks nothing fixed and nothing new.
Set the monthly budget
Enter the Monthly Scout budget (tokens) and press Enter. Release checks, staging checks, scheduled audits, status-triggered task checks and pipeline checks all spend from it, and you can set it with release checks turned off. The line under it reads how much they spent this month. When the budget is reached, further releases, scheduled audits and status-triggered task checks are skipped and pipeline and staging checks are not started until next month. Creating a CI key offers to raise it to 6,000 tokens when it is lower.
Optional: check staging after every deploy
Turn on Check staging after every deploy. After each successful deploy to your staging environments, Scout checks it once: first the tasks of the pull requests the deploy brought and your scenarios, doing them as a user would (typing and submitting, signed in with the project's test account when the address is one a member typed or GitHub or Bitbucket reported and the account fits it), then the whole site, only looking and clicking. A deploy with no pull request linked gets the whole-site check alone. Its result shows on the staging card in Delivery. It is off until you turn it on.
The line under the switch names the environments it checks. Turned on with no environment named, it checks every staging environment, whatever its name, one that appears later included, except those you hid from Delivery. Once the rules name environments (staging.check.environments in Rules or .flamio.yml), it checks only those, hidden or not. Under Production only it checks none. Scout checks the address you entered for the environment, else the one the deploy reports; an environment with neither shows "has no address" under the switch.
A deploy to staging stops the check still running there on any other build — the site it walked has changed — and leaves it out of Delivery and your git host. A redeploy of a checked build keeps that build's check; a check that failed runs again on the next redeploy. With Show Scout results in Bitbucket or in GitHub on, the result of a staging check shows on the deployed commit once it ends. A deploy gets no check when the monthly budget has no room for it, when it reached Flamio more than an hour after it happened, or when a newer deploy to staging came first. The check runs as the member who turned it on; after they leave the organization or become a Viewer, staging checks stop until someone turns the switch off and on again.
Optional: check the release's board tasks
Turn on Also check the release's tasks on the board. If more than one board is connected, pick the board. Then pick which tasks:
- Tasks of the release's version — taken from the Jira fix version or GitHub milestone named like the version your SDK reports.
- Tasks in a status or column — pick the status or column.
Scout checks the tasks first. Checking a task means doing it, so for the tasks Scout fills and sends forms as a run with Also fill and send forms does, with delete and remove controls blocked. The re-check of the site comes after them and only looks and clicks: it never types, sends, books or pays. Each task gets the verdict as a comment on the board, and a task Scout could not check gets a comment that says why. When the re-check after the tasks runs out of the check's budget, Notes on this run in the report say so, and how much of it was spent before the re-check. Tasks the month's Scout budget has no room for are left out of the check, and so are all of them when the board cannot be read; they get no comment, and Notes on this run name them, or the board, and say why. Without a connected board, the card reads "Connect Jira, GitHub or Trello to also check each release's tasks on the board." with a Connect a board link.
Follow each release
Each new version appears in the list with the date it was first seen and what Scout did:
| Label | Meaning |
|---|---|
| Starting point | A version that was live before release checks started. Not checked. |
| Checked | Scout checked this release. |
| Skipped — checks are off | Release checks were turned off. |
| Skipped — monthly budget reached | The month's budget was spent. |
| Skipped — another release was checked under 6 hours ago | The next release's check covers this one. |
| Skipped — run one Scout audit of this site first | No earlier audit of this address to compare with. |
| Could not start — check the token balance | The organization's balance could not cover the check. |
| Skipped: the test account could not be used, save it again | The project's test account could not be read or was removed, and there was no signed-out audit to check against instead. |
Click Open check to open that release's report.
Result
The release's report opens with "Release check of version" and the version, linked to the previous audit. Findings the previous audit did not report carry Not in the previous check. Two checks of an unchanged site can differ, so this label is a pointer, not proof that the release introduced the problem.
On the previous audit's report, problems the check no longer found read "Not found again by the check of" and the version. With On-Live recording, each shows real visitors on that page before and after.
Until the SDK reports a version, the list reads "No versions seen yet."
Related
Check every deployed preview from CI
Scout checks the tasks a pull request ships on its preview, fails the build when one is broken, and comments the verdict on the pull request.
Audit the site on a schedule
Have Scout audit your site every night or every week, and see what changed since the previous audit.