GitHub releases
Link a website, MCP server, CLI or API to its GitHub repository and every release is checked once it's live and compared with the release before it: pages that stopped opening, tools or commands that went missing, AI readiness that dropped, and errors and latency in its first hour and day. The result is posted on the commit as a GitHub check, so it shows on the pull request too.
Set it up
In the property's Settings → Integrations → GitHub:
- Connect GitHub. This links your GitHub account to your AgentStats account, on top of however you sign in now. It's only used to list the installations and repositories you can see, so nobody can link a repository they don't have access to.
- Install the GitHub App on the account or organization that owns the repository, for all repositories or the ones you pick. It asks to read code, deployments and Actions, and to write checks.
- Pick the repository, and in a monorepo the folder the property lives in (
apps/web): the picker lists every folder with apackage.json,Cargo.toml,pyproject.tomlorgo.mod, or type one. Only commits that touch that folder count as its releases.
When a release counts as released
GitHub tells us when a commit is pushed, tagged, built and deployed. Each property picks what counts as released (worked out for you when you link it, and changeable after):
| Released when | |
|---|---|
| A deployment environment | GitHub hears a deployment to it succeeded: what Vercel, Netlify, Railway, Render, Cloudflare Pages and GitHub Actions jobs with environment: report. In a monorepo, pick the project's own (Production – web). |
| A workflow finishing | That GitHub Actions workflow passes on the default branch: for hosts that don't report deployments (SSH, flyctl without environment:). |
| Each push | A push to the default branch: for hosts that tell GitHub nothing. |
| A published release | A GitHub release, version tag (v1.4.2) or version bump (below). A CLI's default. In a monorepo, set the tag prefix (@acme/cli@ for @acme/[email protected], cli-v for cli-v1.4.2). |
Version bumps
A push that changes the version in the folder's package.json, Cargo.toml ([package]) or pyproject.toml ([project] or Poetry's) is that version's release, tag or not, so a monorepo that bumps versions with Changesets or by hand gets versioned releases. Its numbers are then compared by version, like a tag's.
Turn on Only when the version is bumped to ignore every other push to the folder: a release is then a version bump (or a version tag), still counted as deployed by the signal above.
Released isn't the same as live, so a release waits until it really is:
- Website or API: its address answers (checked a minute after the deploy, for the CDN). A preview is checked at its deployment URL.
- MCP server: it reports the release's version on
initialize(or answers, when the commit has no version tag). - CLI: its package is on its registry at that version: npm, PyPI, crates.io or the Go module proxy. The package is read from the folder's
package.json,Cargo.toml,pyproject.tomlorgo.mod.
A release that never gets deployed is given up on after six hours. When a newer one goes out first, the older one is marked superseded. Deploying an older commit again counts as a rollback.
What's checked
| Property | Checks |
|---|---|
| Website | The AI readiness checks (access for AI crawlers, content, discovery, WebMCP tools, link previews), its ten busiest pages (still opening, no new noindex), its WebMCP tools against the last release's, and WebMCP evals set to run On every release, on the release's own address (a pull request's preview) |
| MCP server | The MCP server check against its URL, its tool list against the last release's, and evals set to run On every release |
| CLI | Its package on the registry, and its command list against the last release's |
| API | Its route list against the last release's |
A regression is a check that passed on the last release and fails or warns now, a tool, command or route that's gone, or the AI readiness score falling by 10 or more.
Live traffic
An hour and a day after a release goes live, its numbers are compared with the release before's: the error rate and p95 latency of its tools, commands or routes (and each of the ten busiest), and for a website how often AI crawlers get server errors or missing pages and how often people land on a page that isn't there. A CLI or MCP server with version tags is compared by version, this version's calls next to the last version's in the same hours. Anything else is compared by time, the hours after it went live next to as many hours before. A rate counts as worse when it's up by 2 points and by half; latency when p95 is up by half and 200 ms. Small samples never count.
Pull requests
With Check pull requests' preview deployments on, each preview deployment GitHub hears about (Vercel and Netlify previews, any environment that's transient or named like a preview) is checked the same way against the latest production release, and its check shows on the pull request before it's merged. A preview behind a sign-in (Vercel Authentication) can't be opened, so allow AgentStats through or turn previews off.
The check on GitHub
Each release gets a check named AgentStats · property on its commit: queued until it's deployed, in progress while it goes live and is checked, then the result with every regression and every check that isn't passing. It's neutral when something got worse unless Fail the check when something got worse is on, so it never blocks a merge unless you ask it to. Check again on the check (or on the release's page) runs it again.
Where it shows
- Releases in the property's sidebar: every release with its timeline, what got worse, each check next to the last release's result, and its live numbers. This release's traffic opens the property's analytics for just that release: a CLI's or MCP server's Version filter, or the days it was live.
- A flag on every chart of the property's pages where each release went live.
- An alert (and email, under Settings → Emails → Release regressions) when a release regresses, and the
release.checkedandalert.release_regressionwebhooks.