Skip to main content
Autter needs two facts about every error: which commit was running, and whether it came from production or from your test suite. From Runtime 1.20.0 the SDKs work out both on their own. You can still set them yourself, and a value you set always wins. Available from Runtime 1.20.0:
  • @autter/runtime-node 1.16.0, and @autter/runtime-next 1.11.0 on the server (it requires runtime-node 1.16.0)
  • copies of autter_tracing.py from Autter Runtime 1.20.0 (Python)
  • @autter/runtime-cli 1.4.0, for source map uploads

You no longer need to pass release

With no release option, the Node SDK reports:
  1. AUTTER_RELEASE, if it is set;
  2. else the running commit, read from the hosting environment.
The commit is the first of these variables that holds 7 to 40 hexadecimal characters:
  • A variable that holds something else, such as a branch name or refs/heads/main, is skipped and the next one is tried.
  • The SDK reads environment variables only. It never runs git.
  • The full commit is the release, so Autter can link errors to the commit and its pull request.
  • The commit is also sent as the resource attribute deployment.commit, whatever the release is. initAutterServer and initAutterLogging put it on spans and on log records, so request summaries and operation summaries carry it too.
The Python adapter does the same in init_tracing(): same variables, same order, lower-cased. With no service.version on the resource, the release is AUTTER_RELEASE, else the commit. A deployment.commit you set in OTEL_RESOURCE_ATTRIBUTES is kept, and the release defaults to it. The browser tracker cannot read your server’s environment. Pass release to initAutterBrowser at build time, for example import.meta.env.VITE_GIT_SHA. The edge SDK, @autter/runtime-edge, detects no release and sends no deployment.commit. Pass release explicitly.
This is a behaviour change. A Node or Python service that set no release, and runs where one of these variables holds a commit, now reports one. That turns on release health on the Deployments tab and New in this release on the Errors tab for that service.

Set or turn off the release

Turning the release off does not stop the commit: deployment.commit is still sent. Other OpenTelemetry senders set both attributes themselves:
Autter also accepts vcs.ref.head.revision as the commit (ingester 1.20.0).

How Autter finds a release’s commit

Autter maps each release to the commit it shipped. It uses the strongest source it has, in this order:
  1. The SDK. The deployment.commit your service sent.
  2. Vercel or Cloudflare. The commit of the platform deployment.
  3. A GitHub release tag. A published release tag resolves to its commit through the GitHub API, using the GitHub App. Spellings match, so v1.4.2, 1.4.2 and web@1.4.2 are the same release. web@ and api@ are different releases.
When none of those has a commit, Autter falls back to:
  1. a commit SHA inside the release name, such as web@2026.10.20-a1b2c3d;
  2. the deployment that shipped the release;
  3. the default branch. Autter then says: “No commit is known for release X, so authorship was read at the default branch, which may have changed since the error appeared.”
A release name you reuse across deploys gets a commit only if one commit carries at least 90% of that release’s events. Use unique release names, such as the commit SHA, or GitHub release tags. See Link errors to code.

Check what your service reports

verify picks the release the same way as the SDK and reports the commit it found (commit in --json):
See Is my data arriving? for the other checks.

Source maps upload under the same release

autter-runtime sourcemaps upload without --release, and the bundler plugins, now use AUTTER_RELEASE first. After that they read the same variables as before (GITHUB_SHA, VERCEL_GIT_COMMIT_SHA, CF_PAGES_COMMIT_SHA, GIT_SHA, any value), then a commit from the SDK’s other variables, then git rev-parse HEAD. Existing builds upload under the same release as before, and it matches the release the SDK reports by default. If AUTTER_COMMIT and one of those four variables hold different commits, the SDK reports AUTTER_COMMIT and the upload uses the other. Set AUTTER_RELEASE where the app builds and where it runs to name releases yourself. See Source maps.

Upgrading from an earlier SDK

enrichDeployment() used to copy any value of these variables, up to 64 characters, into deployment.commit. A value that is not 7 to 40 hexadecimal characters, such as a branch or tag name, is now skipped.

Test runs report environment test

A test suite that runs with telemetry on would otherwise report its errors as production. The SDKs now report the environment test when they run under a test runner and you set no environment: For a plain OpenTelemetry SDK, set it in the CI job that runs your tests:
An environment you set always wins. In Python, an environment in OTEL_RESOURCE_ATTRIBUTES counts as set, so keep deployment.environment.name=production (or the older deployment.environment=production) out of the environment your tests run in. The adapter logs one line when it reports test.
This is a behaviour change. Under a test runner, a Node service with no environment and no NODE_ENV used to report production. It now reports test.

What Autter does with test traffic

Autter treats exactly two environment names as test environments: test and testing, in any case. staging, preview, development and ci are not test environments.
  • Stored, but out of the default view. Errors from a test environment are kept. Runtime views open on All except test. Pick All environments, or pick test by name, in the environment selector to see them. A direct link to a test issue still opens.
  • No incidents, pages, tickets or notifications by default. A test-environment error never opens an incident or pages anyone. It is not analysed automatically, so it sends no new-error email. You can still analyse it from its issue page.
  • Rules. Alert rules, and rules that file tickets automatically, skip test environments when they have no environment filter. A rule that names test still fires.
  • LLM budget. The LLM budget alert still counts calls from tests, because they cost real money.

Autter never decides the environment from the request

The environment is the resource’s deployment.environment.name or deployment.environment, else production. deployment.environment is deprecated in OpenTelemetry; Autter reads both and prefers deployment.environment.name. Autter never changes it because of what a request says about itself: its user agent, its host or its client address. The caller controls those values. If a user agent could move an error into test, any caller could send that user agent and hide its errors from production views and alerts. Requests made through Starlette’s or FastAPI’s TestClient (user agent testclient) get autter.test_client: true on their server span. The Python adapter also marks Django’s test Client when the instrumentation records the host testserver. This is a hint you can read on the trace. Autter never acts on it.