run_results.json dbt
writes for each invocation, and, where the project installs the Elementary
package, the history of test results the package uploads to the warehouse. Every
source is turned into the same observations, and one rule turns observations
into incidents, so two sources can never open or close an incident by different
rules.
The rule lives in the engine, in exmergo_dex_core.maintain.incidents, as one
pure function, fold_incidents. It opens no connection, reads no file, runs no
dbt, and keeps nothing between calls: each call derives the incidents from the
history the sources hold at that moment.
Three states, never two
Every interval of a check’s history is one of three things:- observed good: a source recorded the test passing;
- observed bad: a source recorded it failing (an error or a warning counts);
- unobserved: nothing recorded an outcome. dbt did not run, the test was skipped or not selected, the package’s hooks did not run, test-result uploads were off, or retention removed the rows.
What an incident is about
An incident is keyed by a subject and a signal.- The subject is the claim id in
config.meta.dex.claimwhere dex rendered the test from a declaration, otherwise the test’s dbtunique_id. The kind of key is part of the subject, so a claim id and aunique_idnever collide. Because a claim id survives a test’s rename, a renamed test checking the same claim stays one incident. See “The claim each test checks” in the transform skill’s declarations reference. - The signal is what failed beyond the subject: the column and the metric of a test that writes one row per column, such as an Elementary anomaly test, and nothing otherwise. It never holds the test’s name.
The lifecycle
Observations are ordered by invocation, not by clock, because sources stamp times
with different clocks. Within one invocation a failure is read before a pass, so a
source that passes in the same run another fails is evidence, not the opener.
One outcome per source per run
A source has one outcome for a subject and signal in each run. Where it holds more than one row for that run (two tests carrying one claim, or an adapter that did not deduplicate), a failure wins over a pass, as on the coverage timeline. SoN counts runs: two passing rows in one run are one pass, and a run that
failed is never also counted as a pass. Every row is still kept on the
incident, so its tests and its latest severity are as the sources wrote them.
One invocation order for every source
A run id names one invocation, so it has one place in invocation order whichever source holds it, and that place holds no other run. Across the observations, the runs eachSourceHistory holds and the timelines, fold_incidents refuses with
a FoldInputError:
run_sequence_conflict: one run id that carries twosequencevalues;sequence_run_conflict: onesequencethat carries two run ids, which is what an adapter numbering its own runs from 1 most often produces.
Which source opens a tie
Where more than one source fails in the run that opens an incident, the source named first insources opens it. The order of sources is the only precedence:
source names are never compared. A tie that involves any source sources does not
name is refused, even where another tied source is named,, with code opener_tie_undeclared, rather than settled by an
order nobody declared.
The choice matters, because only the opening source’s passes close an incident.
Name first the source that holds the longer run history of a check: a source
that holds only the invocation it read cannot supply N passes, so an incident
it opens stays open until the check stops running.
When a check has stopped running
At call time, an open incident ends asno_longer_observed when either holds:
- removed: its subject is not among the checks the project currently has (the test was removed or disabled);
- stale: its opening source has not observed it for longer than the expected schedule allows (the test was deselected, or the source stopped uploading).
unknown, and nothing is ended for staleness. Every incident still open or ended
at call time reports the schedule it was judged against, and which series it was
derived from.
A gap that later resumed is history, not an ending: an unobserved interval
between two failures leaves one incident.
When it started
first_observed is the incident’s first observed failure only when an observed
pass precedes it. Where no source holds a pass before the first failure, the
failure may have begun before the oldest point any source still holds, so
first_observed is unknown, never the run that happened to be read first. A
single run_results.json holds one invocation, so every incident read from it
alone starts unknown.
Fields
The coverage timeline
An incident’s coverage, and the history a diagnosis reads, are laid on one source’s timeline: its runs in invocation order, with every interval that recorded no outcome marked unobserved, and why. The timeline lives inexmergo_dex_core.maintain.timeline and is pure logic too: the adapters supply
the runs and the observations.
The heartbeat
A timeline is laid on a heartbeat, a series that shows a run happened even when it recorded nothing for a test:
Only invocations that run tests (
build, test) are heartbeat points: a
dbt compile writes an invocation row too, and checks nothing.
The timeline names its basis, the invocation-upload setting as the package’s
configuration gives it (on, off or unknown), and why it fell back
(invocation_upload_off, or no_invocations where the table held no rows).
Why an interval is unobserved
dbt’s own test materialization is not among them. Where the package’s
materialization is not in use, Elementary still uploads a row for every test dbt
ran, built from the test’s definition, so the test is observed; only its sampled
rows and failed-row counts are missing.
Gaps against the schedule
The expected gap between heartbeat points is declared by the caller, or derived as the median gap between them (three dated points or more), orunknown, in which case no gap is read as missed. A gap more than one and a half
expected gaps long holds at least one missed run, and the timeline estimates how
many. With a derived schedule a gap must also exceed an hour, for the same reason
the staleness allowance does: builds run by hand seconds apart are not a schedule.
A declared schedule has no floor.
Order and commits
Runs are ordered by invocation, never by clock. Each run carries its commit and where that commit came from, in this order:git_sha: the commit the run’s invocation records (in Elementary’s invocations table). Elementary fills it only fromDBT_GIT_SHA,DBT_CLOUD_GIT_SHAorGITHUB_SHA, so it is empty under most other orchestrators.orchestrator: the commit the orchestrator records for the same run, where it records one. The adapter that reads the orchestrator’s run history matches its run to the invocation and supplies the commit. Orchestrators that record one per run include dbt Cloud (each run’sgit_sha), GitHub Actions (each workflow run’shead_sha), GitLab CI (each pipeline’ssha) and Airflow 3 with a Git Dag bundle (each Dag run’s bundle version, the commit it ran). Dagster+ exposes the commit to the run asDAGSTER_CLOUD_GIT_SHA, which a project can pass on asDBT_GIT_SHA, so it reachesgit_shainstead.unknown: neither records one.
unknown, so a commit can carry no
value from the data and is never read by git as an option.
The commits a break spans
Runs and commits can disagree. A commit can be deployed days after it was made, a rollback runs an older commit after a newer one, and two branches can deploy in turn. A commit range read off run order alone can then name commits that never ran in it. So, given the repository’s history, a break also carriescommits:
the commits read from that history, never from the runs in between. Without a
history to read, commits is null.
The range ends at the first failing run’s commit. It starts at every earlier
passing commit that is an ancestor of it, as git bisect would take them: the
range is the commits the failing commit has that none of those passing commits
has. A passing run whose commit descends from the failing one (a rollback, or a
branch deployed in turn) bounds nothing, so it is left out rather than read as
the start of the range, and run_order says disagrees. Deployed in the order
A, C, B, where B introduced the failure and C fixed it, the range is A to B, and
C is not in it; deployed in the order A, B, C it is the same range, with
run_order: agrees.
Each end names its run and where its commit came from (
git_sha,
orchestrator or unknown), and last_good_run is always the last passing run
in invocation order, whether or not it bounds the range. unplaced_good_runs
counts earlier passes whose commit is unknown or not in the history: each could
only narrow the range. A shallow clone holds only part of the history: a commit
older than its depth reads commit_not_in_history, and where the clone’s cut could
hide an ancestry (a commit that is not an ancestor in the clone may be one in the
repository) or shorten the range, it reads history_shallow rather than
not_ordered or a short range.
The history is read through exmergo_dex_core.maintain.commit_history:
GitHistory asks git in a local checkout, read-only and one call at a time
with no shell, keeping its answers for the life of the reader, and MappedHistory holds a commit graph in memory for a host with
no checkout.
A subject’s history
A subject’s history is its series of observed outcomes on the timeline, collapsed into segments. Its latest observed pass is its last verified run: a deselected test, a missed run or a run with uploads off leaves it where it was, andlatest says the state of the timeline’s latest run for that test, so a test
the last build did not select reads “verified at run 1, unobserved since”.
Each time the history goes from good to bad it holds a break: after the last
observed-good run, up to and including the first observed-bad run. An unobserved
interval between the two widens the range rather than splitting it, and the
break counts the unobserved runs, the missed runs and their reasons. Where no
observed pass precedes the failure, the break is after unknown. An incident’s
onset is the break at its first failure.
Sources
Each source has an adapter that turns what it recorded into observations and a run history (aSourceHistory: its runs and the oldest point it still holds).
An adapter opens and closes no incident: fold_incidents does that, by the one
rule above, whichever source the observations came from.
dbt run results
exmergo_dex_core.maintain.run_results_incidents reads the test results in the
run_results.json dbt writes, under the source name dbt_run_results. It needs
no warehouse connection and no Elementary package, so it works on every dbt
project. read_run_results(project_dir, manifest) finds the file and reads it;
observe_run_results(document, manifest) maps a document already parsed.
- Which run. The newest
run_results.jsona building dbt command left (build,test,run,seed,snapshot) that holds a test result, in the project’s target path or dex’s isolated build directory, each with thecold/directory beside it. A laterdbt runordbt seedholds no test result, so it observes nothing; it is passed over, with a note, rather than hiding the failures of the build before it. Acompile,parseorlswrites the file too, wheresuccessmeans compiled, so it is never read. The runs in those directories are separate invocations, often against separate targets, and are not stitched into one history. - One invocation, so no known start. The file holds one invocation, which
is the source’s whole history and its retention bound. Every interval before
it is unobserved, and every incident read from it alone has
first_observed: unknown. The run read is never reported as the start of a failure. - A run the project did not log is refused. When the dbt logs beside the file do not name its invocation, the file came from somewhere else (copied artifacts, another checkout), and nothing is read from it. With no log to check, it is read, and a note says so.
- Only current tests. A result is observed only for a test (or unit test) the current manifest still has, enabled. A result for one since removed or disabled is counted and dropped. A test the run did not reach has no observation, so the timeline reads that run as one that did not check it.
- Statuses.
passis observed good.fail,error(runtime erroron older dbt releases) andwarnare observed bad.skippedis unobserved, never good. A status outside those is counted and gives no observation. - Subject and severity. The subject is the test’s claim id where its
manifest node carries one in
config.meta.dex.claim, else itsunique_id;manifest_claimsinexmergo_dex_core.transform.claimsreads the claims from a manifest. The signal is always empty, since dbt writes one result per test. A warning carries severitywarn; a failure or an error carries the token the test’sconfig.severitysets, where it is one. - No commit.
run_results.jsonrecords none, so every run’s commit isunknown.
sequence, the run’s place in invocation order (1 by
default). Folded beside another source that observed the same invocation
(Elementary’s dbt_invocations carries dbt’s invocation_id), the caller
passes the place that source gave it, since the fold refuses one run at two
places.
read_run_results returns a status of read, missing (no_run_results:
no building run on disk; no_test_results: none of them ran a test) or
refused (unlogged_invocation, or
no_invocation_id for a file that names no invocation, since a run id is never
invented), with the run it found, the counts of what it dropped, and notes
naming each. From a result row it reads unique_id and status and nothing
else: never message, compiled_code, failures, adapter_response or
relation_name.
Elementary’s tables
exmergo_dex_core.maintain.elementary_incidents reads dbt_invocations and
elementary_test_results, under the source name elementary, where the project
installs the Elementary package. It holds both tables to the release’s recorded
layout before writing a statement, sends every statement through the query
firewall, the source allowlist and the cost handshake, and reads ids, status and
severity tokens, an anomaly test’s column and metric, each run’s times and
commit, and counts. It maps dbt’s statuses as the run-results adapter does.
Unlike run_results.json, the tables hold many invocations, so an incident read
from them has a known start wherever an observed pass precedes its first
failure. plan_read(..., last=n) reads only the newest n invocation rows (by
created_at, ties by id), so a window can be a run count rather than a time.
The reader reads releases 0.16.4 and 0.26.1 of the package, each matched
exactly; any other release is elementary_release_untested and no table is
read. Both releases lay out dbt_invocations and elementary_test_results
alike and write the same values into every column the reader reads, so one
read may span rows each wrote, as a table upgraded from one to the other holds.
Rows written by any other release are refused (elementary_rows_untested_release). Two
differences are named rather than absorbed:
- 0.16.4’s
test_result_rowshas norow_index. The layout check reports it unobserved at that release, never as passing. - 0.16.4 writes
passfor any test with zero failures, whatever dbt said, so a failure whosewarn_iforerror_ifholds at zero (>=0,=0) is stored as a pass. In a run that release wrote, a pass from a test whose thresholds the manifest does not show fire on a nonzero count alone is unobserved, and counted underpasses_unobservedwith a warning. dbt’s default!=0is a pass as written.
dex maintain incidents
The command (DexEngine.incidents) reads both sources and folds them together,
Elementary first: the fold’s tie-break between two sources failing in the run
that opens an incident is the order they are named in, and Elementary’s tables
hold the longer run history.
- A bounded read. Elementary’s tables are read over the newest 20
invocations, or
--invocations <n>(at most 2000). A run count rather than a number of days, so the price does not depend on the schedule. Every statement is priced before any runs, with the profiles the firewall needs on a first read, as one handshake. - One order. dbt’s run is placed where Elementary placed the same
invocation, or after the window when it started after the window’s newest
run (dbt’s
invocation_started_atagainst Elementary’srun_started_at, two starts;generated_atis the run’s end). It is then named underwindow.after_window, outside the count, which never exceeds the run count. A run that is neither has no place in the order and is left out of the fold, withfolded: false. A run placed in Elementary’s window or after it sits in Elementary’s order, so the run-results note that no failure has a known start is left out there. Where the run itself opened incidents with no known start (a test Elementary holds no result for), a note in its place counts those incidents alone, since others in the same fold can be dated. A run read alone, or with no place, keeps the note as written. - Every source answers.
data.sourcesreports each sourceread,missingorrefusedwith a reason code: no package (not_installed, with thedex initthat offers it), a package whose uploads are off (not_uploading), a schema outside the source allowlist (outside_allowlist, with thedex config setthat adds it, carrying the comment the entry keeps in the file; nothing is read past the allowlist, anddex initproposes the same entry for the schema the package writes in production), a connection or catalog that could not be read (connection_unavailable,catalog_unavailable), a read that could not be priced (unpriced: it is never asked for at a lower price than it would spend), a statement the warehouse refused mid-read (warehouse_refused, its words masked, the price kept), or the reader’s own refusals. Each source answers alone, so dbt’s run results are still read when Elementary’s tables are not. A confirmation, budget or ceiling refusal is the command’s, not a source’s. An emptyincidentslist means no failure only where a source readsread. - Read alone, dbt’s run results never close an incident. The next build overwrites the file, so a fixed failure drops out of it rather than reading as two passes.
dex maintain diagnose
The command (DexEngine.diagnose, #1475) reads the incidents as
maintain incidents does, with the repository’s history handed to the fold,
and takes each open incident to a cause, or to none.
- Bisect. The range is the incident’s onset: after the last observed-good run, up to and including the first observed-bad one. A run that recorded nothing between them widens the range back to the last observed pass; it never splits it, so it is never read as good.
-
Bound. The committed
maintain snapshotseries is the versions of.dex/snapshot.jsonin the repository’s history. The newest snapshot captured at or before the last observed pass issnapshots.before; the oldest at or after the first failure issnapshots.after. A snapshot is placed by when its warehouse state was measured:cache_updated_atwhere it was pinned from the exploration cache, the earlier snapshot’s time where a--project-onlysnapshot carried the block forward. On a project’s first day there is no series (series: none), and the whole break is a window no recorded state of the warehouse covers (unseen,no_snapshot_series): a check then confirms a cause as present now, not when inside the break it entered. With a series, the unseen window is the stretch between the bounding snapshots. -
Confirm with a check Dex already has. Each candidate names the check that
answered it and the finding code. The loader’s duplicate delivery
(
duplicate_load, one of the two cause kindsdex demoseeds) is a uniqueness test failing because the loader delivered a key twice. It is held, on each source relation the tested model reads that carries the tested columns, by the grain axis ofmaintain check:key_lost_uniquenessagainstsnapshots.beforewhere its measurement proved the key unique (the volume axis’s row counts ride beside it as evidence), and otherwise the declared-claim check, which needs no baseline: the failing test’s own claim held to the source (declared_grain_not_unique), and only where one source the model reads carries the key: with several, today’s data cannot tell a duplicated delivery from a source at another grain (several_sources, not checked). A source the bounding snapshot measured not unique while the test passed is ruled out (not_unique_at_before_snapshot); a relation nothing counted isnot_checked(uncounted), never ruled out. -
The other cause kinds (#1476). Every owner is answered for every open
incident, each by evidence read at the runs that bound the break, so a
no_causeanswer names what it could not rule out. The evidence is read over the failing test’s lineage: the test, the model it is attached to and every model, seed, snapshot and source upstream of them in the manifest, the files they are built and patched from, and the packages they read through a node or a macro.-
The loader retyped a source column (
source_retyped): the schema axis ofmaintain check(column_retyped) on each source the lineage reads, betweensnapshots.beforeandsnapshots.after, or the live catalog where no later snapshot exists (metadata only, free). Confirmed for a column the tested model reads: the tested column, or a word in the code of a model that reads that source directly. Where that cannot be told (no code in the manifest, or a wildcard projection reading the column unspelled) the retype is namednot_checked(column_read_unknown), never a cause. A source is matched to its relation by database, schema and name, and one two relations could be is not measured. With no snapshot before the break it isnot_checked(no_measured_before): a type needs a baseline. -
The project changed a model in the range (
project_change): the files the break’s commit range touched (git logover the commits the failing commit has and no bounding passing commit has, not capped at the 50onset.commitslists, a merge’s own conflict resolution included), kept where the lineage is built or patched from them (a project macro counts for the models that call it, directly or through another macro, anddbt_project.ymlfor the tested model). Thenmaintain verifyon the changed models, in the same process: a finding of medium or high severity on a changed model confirms; a build finding on a test node never does, so the incident’s own failure cannot confirm itself. Verify reads the project as it stands, so where a changed file reads otherwise now than at the failing commit its answer is kept as evidence and the candidate isnot_checked(changed_since_failure). Ruled out where nothing in the range touches the lineage (not_in_lineage) or verify finds nothing (verify_clean);not_checkedwhere verify’s scan was offered (scan_offered) or its data checks were all suppressed (verify_suppressed), and where only the failing test’s own definition changed (test_definition_changed: a changed claim verify cannot judge). -
A package was upgraded (
package_upgraded):package-lock.ymlat the last passing run’s commit and the failing one, each entry keyed by thenamedbt 1.7 writes, else its source’s last path part. Confirmed where a package the lineage reads moved; ruled out where every pin is the same (same_versions) or only packages the lineage does not read moved (not_in_lineage). With no lock committed it isnot_checked(unpinned):packages.yml’s ranges can resolve differently on the same commit, so the versions each run installed are not recorded. -
A seed was edited (
seed_edited): each seed in the lineage’s file hash (git’s blob name) at each bounding commit and at the failing one. Confirmed where the failing commit’s hash differs from every bound’s, so content a passing commit already held never counts; ruled out onsame_hashorno_seed_in_lineage. Hashes only, never a row. -
The schedule built a parent after its child (
built_before_parent): for the tested model and each model it reads directly (a model a test reads beside it, such as arelationshipstest’s other side, is a pair only where the tested model reads it), both models’ last successful builds, read from Elementary’sdbt_run_results. The build a run’s test read is the one that run made itself, else the newest that completed before the run started. Confirmed where, at the last passing run, the parent’s build completed before the child’s started, and at the first failing run it completed after: the child read an older parent than the one the test reads. Ruled out where the parent was built first at the failing run (parent_first) or the order was already reversed at the last pass (order_unchanged).not_checkedwhere Elementary’s tables were not read ordbt_run_resultsdoes not hold build times Dex can read (no_run_times), or a model has no recorded build (no_build_recorded). The read is one bounded statement (ids and execution times of successful model rows, nevercompiled_code,messageoradapter_response, which a profile withholds), through the query firewall and priced into the checks’ one handshake. Where the grain checks fit what the ceiling has left and the two together do not, the grain checks run and the read alone is offered (price.checks.schedule_offered). -
A source’s rows arrived after the run read them (
source_arrived_late, #1623, the other cause kinddex demoseeds): the pipeline ran on time, the loader was late, and the run built the model without rows that had not landed. Answered for a failing completeness or freshness test (relationships,dex_parent_population,dex_freshness, and Elementary’svolume_anomalies,freshness_anomaliesanddata_freshness_sla); a uniqueness failure is the duplicate delivery’s. Each source the lineage reads is held by two of its columns:- the capture time, when a row landed: the source’s dbt
loaded_at_field(at the top level, or underconfigorconfig.freshness), else a column that a model reading the source directly declares withfreshness.basis: capture. A business timestamp is never read as an arrival time. - the event time, which places a row in the window a run judged: the
failing test’s own time column (Elementary’s
timestamp_column,dex_freshness’s column), else, where the test names none or names the capture column itself (a freshness monitor on when rows landed), the one column the tested model declares with roletimeon another basis. It has to be a column the lineage reads from that source.
max_lag_seconds(dex_freshness) judged, at each run, the rows within that lag of the run’s start instead, since those are the rows it could count (window_basissays which). Both starts are the runs’run_started_atindbt_invocations. Confirmed where some rows of the failing run’s window have a capture time after that run started, and no row of the last pass’s window landed after it started and before the failing run; the evidence is both windows’ row counts, the late rows, the rows with no capture time and both runs’ starts. Ruled out where every row of the failing window landed before the run (arrived_before_run), or where rows of the last pass’s window landed after it and before the failing run (lateness_unchanged: lateness the test already passed with, so a loader whose usual lag reaches past a run’s start is ruled out here, however late one batch was). A row still missing at the failing run is that failure’s lateness, never the pass’s.not_checkedwhere no capture time is named, it is not a date or timestamp, or rows of either window have none so their arrival cannot be told (no_capture_time), a run’s start is not recorded or no pass precedes the failure (no_run_times), or no event column can be read for the test (window_unknown), where the connection does not list the source (source_not_listed), and where the read itself did not answer (firewall_refused,warehouse_refused,scan_offered). The read is one statement per source of six counts, never a value, each column read as whole epoch seconds (a timestamp with no time zone as UTC), through the query firewall and priced into the checks’ one handshake, offered alone (price.checks.arrival_offered) where the grain checks fit and the two together do not. It reads the source as it stands at diagnosis, with no snapshot needed: a row deleted or rewritten since the break is not seen, and a row redelivered since reads as late. A freshness test (dex_freshness,freshness_anomalies,data_freshness_sla) that also failed on the lineage in the break’s range is listed undercorroborated_by, and never decides the answer. - the capture time, when a row landed: the source’s dbt
packages.yml,dependencies.ymlandpackage-lock.ymlthe package’s, and every other file the project’s, so one edit is never claimed twice. Where the failing commit passed earlier (same_commit) the project, seed and package are ruled out together; where the commits the break spans are not known they arenot_checked(no_commit_history,commit_range_unknown). A rule-out that rests on something being absent (not_in_lineage,no_seed_in_lineage,no_parent_model) isnot_checkedwhere the read was incomplete: the walk upstream stopped at its limit (lineage_truncated) or the range’s commits were listed in part (range_truncated), with the rule-out it would have been underwould_rule_out. -
The loader retyped a source column (
-
No cause is an answer.
verdictiscause,several(each named, none preferred) orno_cause. With no confirmed candidate the answer isruled_outandunseen; the most likely candidate is never named as the cause. -
The repair is
transform’s. A confirmed cause carries the step that would repair it undernext_steps: adex transform planfor a duplicate delivery, a seed or a package pin,explore profilebefore a retype’s cast,maintain verifyon a changed model, for the schedule the incident read again once the jobs are reordered, and for a late source the incident read again after a rebuild once the rows have landed, with a declaredfreshness.deadlineon the event column, or a later schedule, where the delay recurs (an orchestrator’s schedule is not a project file). Nothing here writes it. -
Who reads it. Beside the cause,
semantic_readers(#1478) names the semantic-layer objects that read the failing test’s columns: the model and columns come from the test’s node in the manifest (a uniqueness test’s claim, else the column it is attached to), and the readers from dbt’s semantic layer asmaintain snapshotfingerprints it, which maps each entity, dimension and measure to the one column it references. Only the semantic models on the tested model itself are matched: one on a mart that selects the column from the tested staging model is not followed, and everyreadsays so in itsdetail. Each reader names its semantic model, the model it sits on, its kind and column, and for a measure the metrics built on it, through every metric built on those. A member on the tested model whose expression is computed, and a semantic model whosemodelnames nothing readable, are listed asunresolved, never guessed: Dex cannot say which column such a member reads, or whether it reads one (countover1reads none). A test on a versioned model lists the members that read its column asunresolvedtoo (version_unresolved, with thecolumn), never as readers, since the fingerprint keeps a semantic model’sref()by name and not the version it resolves to. Three readings are kept apart:readwith an emptyreaderslist (the layer was read and no resolved member on the tested model reads the column; anunresolvedmember still may),absent(the project declares no semantic layer) andunreadable(a layer is there and could not be read:unparsed_files, each named inunread_files, which beside a layer that was read means the list may be short;project_unreadable;no_project).not_readsays why the layer was not looked up:no_tested_column, orvendor_not_coveredwheresemantic.vendornames a native layer, whose semantic models name a relation rather than the dbt model a test is attached to. A metric’s filter or grouping on a dimension is not traced, nor is a semantic model written inline under a model’smodels:entry, which the fingerprint does not read. Repo-only: no warehouse query. -
Priced. The incident read prices its own statements first; the checks
are then priced together as one handshake before any probe runs, within
what the per-command ceiling has left after the read. Checks that do not
fit are offered (
scan_offered,price.checks.offered), not asked for again, anddata.spendsums both phases.
No value crosses into an incident
An incident, a timeline and a history carry ids, statuses, counts, times and commits. It never carries a sampled row, a failing key, a result’s message or a compiled query’s output. The observation every source adapter builds declares only those fields and refuses any other, and a severity is a short token (warn, ERROR) rather than free
text, so a value cannot ride along in it.
Source: references/incidents.md (edit on main). This page is generated; change the source, not the site.