Omniscio

Baseline V2 (test-failure attribution — off by default)

When a test fails, Omniscio can tell you whether the fault is yours or whether it was already failing before your work started, and Baseline V2 is a second way to work that out — off by default. Switched on, it records that a test red is V2's to answer and then reports it unknown while two more pieces land, so nothing is ever charged on a guess. Turning it back off changes nothing.

On this page

What it is

Every red test raises the same question: is this mine, or was it already broken? Omniscio's original answer reads a large shared snapshot of the main branch — fast, but a snapshot ages, and it mixes revisions and environments together.

Baseline V2 is designed to answer the same question a different way: it takes the scope that actually failed and runs it again in the cloud, on exactly the commit your branch started from, under the same environment and settings as the run it is explaining. The answer would then be about your inputs specifically, not about a picture of the main branch taken at some earlier moment. That comparison is not finished being wired up — see How it behaves for what it does today.

It is deliberately a separate system, sitting beside the one you rely on today rather than replacing it. That is what lets it ship off, be judged on real branches, and be switched back off without risk.

Where to find it

In the Dev Pipeline panel, on the Setup tab's All settings screen — one click in from the panel's first screen. Look for the card titled "How a test red is judged" and its switch "Use Baseline V2". That switch ships off.

Turning it on reveals a second switch, "Keep V2 evidence warm" — an optional background job that pre-fills evidence for your current main branch, so a comparison can answer from what was already measured instead of running a fresh replay. It ships off too, it does nothing at all while "Use Baseline V2" is off, and an answer still works without it — it is only slower.

Switching Baseline V2 on or off takes effect on the next run. Nothing restarts and nothing is migrated. The switch belongs to you: an agent session cannot flip it to change how its own work is judged.

If Omniscio has not been restarted since Baseline V2 was installed, the app does not yet know the switch and answers "Unknown settings key". That is the switch failing to the off position rather than a fault: nothing breaks, and nothing is judged by V2. Restarting Omniscio makes the switch real.

How it behaves

With it off — the default — everything you see is exactly as before. Your red is judged as it always was, and Baseline V2 starts no cloud job, polls nothing and costs nothing.

Verdict for any repo describes the cloud testing service this page builds on: the machine that runs the replay is shared, so the repository has to be connected to it and your plan has to include cloud testing (Pro or higher).

With it on, a newly failing test run is pinned to V2, and V2 usually reports it unknown — it does not answer it yet. The reference replay now runs on Verdict 3, at the exact commit your branch forked from, and the measurement it produces is stored. What is still missing is the run's own details — which machine image, operating system and worker arrangement the replay ran under — so the comparison can show both sides ran the same way. Until those arrive, V2 records that the red is V2's to answer, keeps the measurement, and reports it unknown rather than guessing. Type check, lint, the guard lane and end-to-end ride the same Verdict 3 replay.

Once those two land, the replay returns one of four answers, and only one of them is charged to you:

  • Already failing at the reference — the same failure was there before your work. Not yours.
  • New in your branch — the reference is clean and yours is not. This is the only answer that counts against you.
  • Unstable — it fails in one arrangement and passes in another. This answer is planned but not produced yet — nothing runs the second arrangement today, so no real run will report it. When it arrives it will be recorded as something to diagnose, never used as an excuse to clear your branch.
  • Unknown — it could not be measured.

Unknown is never a pass and never a charge. That is the answer V2 gives today, and it is also the answer whenever the cloud is unreachable, the replay cannot be dispatched, or the evidence is missing or incomplete: it does not block you, it does not clear the red, and it does not get billed to your name. A test that was skipped is recorded as skipped, never as passed.

Two situations that used to read as unknown now have their own answer. When your checkout is the target — the main working copy sitting on master, or a detached commit that master already contains — V2 answers from your own run: every red in it was already there, and no replay is started. (A cloud session keeps refusing, because the branch it calls master is private to it.) And when the replay ran with a different worker arrangement than your run, the answer names both — "the replay ran serial with 1 worker, this run ran parallel with 2 workers", or, when only the slice of the test files it ran differs, "the replay ran group 1/2, this run ran group 0/1" — and stays unknown, because comparing the two would describe a different run.

A test file that cannot even load is judged too. When a whole file dies before a single test inside it runs — a broken import, a syntax error — there is no failing test to name, and V2 used to report that as unknown. It now treats "this file did not load" as the failure itself and splits it like any other: if master cannot load the same file, it is master's and not yours; if only your branch cannot, it is yours; and if master cannot load it while your branch runs it fine, nothing is charged. The two sides are matched on the file alone, never on the error message, because the same broken file prints a different message on each side.

A red whose check outlives the asker still gets its comparison. If Omniscio restarts, or the terminal running the check goes away, between asking Verdict 3 and its answer, the answer still arrives when the app is back. The check saves what it asked about — the folder, the commit, the check — before it asks, so the app can file the same comparison the check would have filed itself. The card then says the comparison has not finished yet rather than that no comparison was made, and the guard lane's several shard answers are put back together into the one run they came from.

Two limits worth knowing before you rely on it:

  • It needs the cloud. It never falls back to running the tests on your own computer, so an outage produces unknown rather than a quieter local run.
  • It answers every check it has an adapter for — your tests, a type check, lint, the guard lane and end-to-end — once the replay can be asked for the same program. V2 has a type-check adapter — a compiler error is named by file, error code and message, never by the file alone — and it rides the same Verdict 3 replay as a test run. A type-check comparison is keyed to the compiler AND the program (tsgo-<version>/<program>), so the replay now asks Verdict 3 for that program by name: one of the seven test shards is asked as its own tsconfig.<shard>.json, and the agent program is asked as the whole-program scope Verdict 3 runs by default. The answer must prove it ran that program — an answer that names a different one, or no program at all, is reported unknown rather than compared. The whole-codebase stock program cannot run as one Verdict 3 job, so a type-check red keyed to it is reported unknown by name and nothing is ever charged on it.

Turning it back off restores the original behaviour immediately — no migration, no cleanup step, no restart, and the evidence V2 already gathered stays readable. A run that was already in flight when you flipped it finishes what it started and begins nothing new; anything it cannot finish is reported as unknown.

Cloud test offload and builds explains where heavy checks actually run and how the machines that run them are managed. Dev Pipeline panel is the panel these switches live in, and covers the runs, worktrees and gates around them. Dev Pipeline is the workflow itself, phase by phase.

Last verified 2026-10-26