@autter/runtime-node1.16.0, and@autter/runtime-next1.11.0 on the server (it requiresruntime-node1.16.0)- copies of
autter_tracing.pyfrom Autter Runtime 1.20.0 (Python) @autter/runtime-cli1.4.0, for source map uploads
You no longer need to pass release
release option, the Node SDK reports:
AUTTER_RELEASE, if it is set;- else the running commit, read from the hosting environment.
- 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.initAutterServerandinitAutterLoggingput it on spans and on log records, so request summaries and operation summaries carry it too.
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.
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:
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:- The SDK. The
deployment.commityour service sent. - Vercel or Cloudflare. The commit of the platform deployment.
- 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.2andweb@1.4.2are the same release.web@andapi@are different releases.
- a commit SHA inside the release name, such as
web@2026.10.20-a1b2c3d; - the deployment that shipped the release;
- 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.”
Check what your service reports
verify picks the release the same way as the SDK and reports the commit it found (commit in --json):
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:
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.
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
testby 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
teststill 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’sdeployment.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.
