How capture works
dbtobsb adds an evidence path around a normal dbt build. It does not replace dbt's own results or Databricks' native Job history.
The complete path is shown below. The collector starts after dbt even when the dbt task fails.
Observed Job -> dbt build -> staging Volume
|
+---- after dbt ----> Collector <---- staged files
|
+-----------+-----------+
| |
raw archive normalized tables
|
three health views
/ \
read-only App Databricks SQL
The observed Job runs dbt
Installation copies and seals one approved project. At runtime, the observed Job:
- checks the installed project and policy;
- runs the fixed
dbt buildcommand without a shell; - writes files to a task-local attempt directory;
- uploads only
manifest.json,run_results.json, and bounded structured logs; - reads each uploaded file back and verifies its size and SHA-256 hash; and
- returns dbt's exit code.
The paths include the Databricks task attempt, so a retry or repair does not overwrite earlier evidence.
The collector handles evidence
The collector runs after the dbt task whether dbt succeeds or fails. It:
- verifies the parent Job, task, attempt, installed source, and runtime policy;
- reads only the fixed files from the staging Volume;
- builds one deterministic bounded archive;
- writes and reads back the exact archive in the restricted raw Volume;
- validates archive safety and the pinned dbt JSON schemas;
- checks that both primary files belong to the same invocation; and
- writes allowlisted fields to the evidence tables.
The exact archive is preserved before parsing, so invalid or partial evidence is not silently discarded.
Readers use curated views
The App and normal SQL users read three views:
- run health;
- node health; and
- collection health.
They do not receive raw SQL, log messages, archive paths, adapter responses, or environment values.