TECHNOLOGY

OpenLineage dbt test events: a completed run can still contain a failed check

In this article
THE QUICK TAKE

A lineage event can record a failed advisory test inside a successful run; code location and quality details are useful only when the producer actually emits them.

Read the release as an instrumentation change

The OpenLineage release notes date version 1.46.0 to April 7, 2026. They describe additions for dbt code-location metadata and test-result events, together with specification and client changes. These features connect an execution to code provenance and quality observations. They do not make OpenLineage a standalone model registry or automatically provide a searchable web interface.

The project overview defines an extensible event model built around runs, jobs and datasets. Facets enrich those entities. A configured transport sends events to a backend; the backend’s storage and presentation remain separate from the producer that observes a job.

Keep a failed check separate from its consequence

The release introduces TestRunFacet support, but its practical interpretation benefits from reading the actual dbt integration change. Test status describes whether a check found a problem. Severity describes the configured consequence of that problem. A failed check with warning severity can therefore coexist with a completed run.

The implementation explicitly handles that distinction for singular dbt tests. In the regular artifact-processing path, generic tests continue through dataset quality assertions, while singular tests receive individual run events with test metadata. The structured-log path also checks the node’s test metadata. It would be inaccurate to infer that every dbt test now has an identical new event layout merely from the broad release summary.

Inspect the fields that were actually populated

The specification permits expected and actual values alongside other test details. An optional field in a schema is not proof that every integration fills it for every kind of check. The reviewed dbt change constructs status and severity, with additional context depending on the processing path and available node information.

For a useful report, preserve the emitted event and its schema reference, not just a screenshot saying the pipeline succeeded. A warning may explain why a questionable dataset continued downstream. Conversely, a missing test facet does not establish that the underlying data passed a check; the producer may not have observed or represented that check through this path.

Treat source location as recorded provenance

The same release documents a dbt repository override and Git autodetection for sourceCodeLocation, plus an optional pull-request number. These provide pointers for investigating which code a job belongs to. A repository URL or pull-request number alone does not identify the exact bytes that executed, nor prove that a working directory had no local modifications.

The notes also state that Python-client Git autodetection became opt-in. Keep that client setting separate from the dbt integration’s own repository handling. Upgrading a package does not establish that every event will suddenly contain code-location evidence. Compare the actual configuration and output rather than interpreting absent metadata as an absent repository.

Follow the relationship through the receiving system

The existing guide to explicit lineage edges explains why grouping related records does not establish the direction of a dependency. The MLflow checkpoint guide makes a complementary distinction between an execution and a particular produced model. OpenLineage’s new facets enrich these kinds of provenance questions without replacing artifact identity.

An informative assessment follows a known code revision and a distinguishable advisory failure from producer output to the receiving backend. It checks that status, severity and dataset relationships survived transport. That verifies the integration’s meaning at a declared version; it does not certify every downstream model or establish data quality beyond the checks actually performed.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles