CControxity Docs
GuidesReferenceHTTP APIOpen Controxity
How to

Versions, and knowing a fix is running

Name versions by number or by git commit, and Controxity tells you when a fix really runs somewhere.

Why the version matters#

Each place says which version it runs, with every report. That's how Controxity knows a fix has reached a place (Running), tells a device that hasn't updated from the fix failing, and reopens a problem only on code that has its fix.

By number#

controxity.init({ key, url, version: "1.4.2" });

Numbers compare as you'd expect: 1.4.10 is after 1.4.9. Dates work too: 2026.11.08.2.

By git commit#

controxity.init({ key, url, version: process.env.GIT_COMMIT });   // "3f9c2a1", or "3f9c2a1-dirty"

Controxity asks its copy of your code whether that commit holds each fix's own commit, so commits work as well as numbers. A -dirty version (deployed with changes not committed) counts as its commit.

The first version#

A product with no versions gets one as soon as Controxity has its code: the code as it is, numbered from its controxity.yml (version.start), its newest vX.Y.Z tag, its app.json, package.json or pyproject.toml, else 1.0.0. Versions typed in by hand with no commit go on from the last one. From there, each push gets the next number.

By release, from CI#

When your versions are names or builds that don't compare as numbers (build-77), say in CI which commit each one is: controxity release. A place reporting that version is then judged by its commit.

Each release you tell Controxity this way shows in Releases → Versions with its commit, and code pushed after it gets the next number from it: after 1.2.0+ab1d28c comes 1.2.1. The part after + is the build's name and isn't counted.

A product in parts#

A product whose parts go live separately (a server, a web app, a phone app) lists them under components: in its controxity.yml, and each place is set to the part it runs: a new place gets the part its name or kind says, and Where it runs → Change changes it. The product keeps one line of numbers for all its parts, and each place is deployed on its own: a version that doesn't change a place's part isn't offered to that place. A place that reports a number or a commit both work; one that reports -dirty code is always offered the new version. A part can number its own versions instead by giving it its own version:.

Phones and browsers#

Their versions come through your server: clientVersion. A fix shows it has reached people, not only that it's in the code.

A fix's version#

A fix that ships gets the product's next version and a line in its changelog: when Controxity puts it live, when its change turns up in your own code (you applied it by hand), or when someone presses Mark shipped. Your own commit can ship a problem's fix too: put Fixes code:error:… (the problem's code, from Problems) in its message.

Releases lists the versions; Download the changelog gives them as Markdown.

Controxity 1.132.0These pages are in the repository: docs/site