Skip to content

Stop or uninstall dbtobsb

Run lifecycle commands from the same checkout and macOS account that installed the product. The local protected state tells the launcher which resources belong to this installation. The verification commands near the end also require jq.

Stop compute

Stopping is the safe default. It preserves the App, Jobs, configuration, grants, tables, views, Volumes, and evidence.

uv run --project installer --no-sync dbtobsb stop

Example when the selected warehouse is already stopped:

{"app_state":"STOPPED","event":"dbtobsb_stop_verified","reconciler_state":"PAUSED","warehouse_auto_stop_mins":5,"warehouse_cost_may_continue":false,"warehouse_managed_by_product":false,"warehouse_next_action":"NONE","warehouse_state":"STOPPED"}

The command does not manage, stop, delete, or resize a customer warehouse. Its configured auto-stop policy remains in effect. The receipt reports the observed warehouse state, auto-stop setting, whether cost may continue, and the exact next action. An unreadable warehouse state fails closed.

This is also a valid stop receipt when the unrelated warehouse is still running:

{"app_state":"STOPPED","event":"dbtobsb_stop_verified","reconciler_state":"PAUSED","warehouse_auto_stop_mins":5,"warehouse_cost_may_continue":true,"warehouse_managed_by_product":false,"warehouse_next_action":"WAIT_FOR_AUTO_STOP_OR_USE_SEPARATELY_AUTHORIZED_DIRECT_STOP","warehouse_state":"RUNNING"}

In that case, warehouse cost may continue. Wait for auto-stop or use only the separately authorized direct-stop action for that exact dedicated warehouse.

Remove the runtime but keep evidence

Use retain when policy requires the normalized rows or raw archives to remain:

uv run --project installer --no-sync dbtobsb uninstall --retain

Read the consequence shown by the installer. Type RETAIN only after confirming that the nine evidence objects must remain.

This removes the App, all three Jobs, product access grants, App resource connections, deployed Bundle files, and local installer state. It keeps all nine product objects in the selected schema under the existing administrator's ownership.

Delete product evidence

This deletes tables, views, and raw archives

Continue only after an authorized owner checks retention, legal hold, and required exports. The command preserves the selected schema and unrelated objects, but the deleted dbtobsb evidence cannot be restored by this release.

uv run --project installer --no-sync dbtobsb uninstall --delete

Read each prompt when it appears. Type DELETE, review the retention, legal-hold, and export warning, and only then type DELETE PRODUCT DATA. Do not pipe or prequeue these acknowledgements.

Retain ends with:

{"app_state":"REMOVED","event":"dbtobsb_uninstall_verified","mode":"RETAIN","product_objects":"RETAINED","schema_preserved":true,"warehouse_auto_stop_mins":5,"warehouse_cost_may_continue":false,"warehouse_managed_by_product":false,"warehouse_next_action":"NONE","warehouse_state":"STOPPED"}

Delete ends with:

{"app_state":"REMOVED","event":"dbtobsb_uninstall_verified","mode":"DELETE","product_objects":"REMOVED","schema_preserved":true,"warehouse_auto_stop_mins":5,"warehouse_cost_may_continue":false,"warehouse_managed_by_product":false,"warehouse_next_action":"NONE","warehouse_state":"STOPPED"}

If the command is interrupted, rerun the same mode. Do not switch between retain and delete during an unfinished uninstall.

Verify the final state

Use the installation's named profile. These checks name only dbtobsb resources; they do not treat unrelated workspace resources as product compute.

After stop, check the App:

databricks apps get dbtobsb-smoke --profile '<profile>' --output json \
  | jq -r '.compute_status.state'

The value must be STOPPED.

Check that each product Job exists and has no active run:

for name in dbtobsb-observed dbtobsb-collector dbtobsb-reconciler; do
  job_id="$(databricks jobs list --name "$name" --profile '<profile>' --output json \
    | jq -er 'if length == 1 then .[0].job_id else error("expected one job") end')"
  databricks jobs list-runs --job-id "$job_id" --active-only \
    --profile '<profile>' --output json
done

Each active-run result must be an empty list. Then check the reconciler schedule:

reconciler_id="$(databricks jobs list --name dbtobsb-reconciler \
  --profile '<profile>' --output json | jq -er '.[0].job_id')"
databricks jobs get "$reconciler_id" --profile '<profile>' --output json \
  | jq -r '.settings.schedule.pause_status'

The value must be PAUSED.

After either uninstall mode, databricks apps get dbtobsb-smoke must report that the App does not exist, and each exact-name Job query must return an empty list:

databricks apps get dbtobsb-smoke --profile '<profile>' --output json
for name in dbtobsb-observed dbtobsb-collector dbtobsb-reconciler; do
  databricks jobs list --name "$name" --profile '<profile>' --output json
done

An evidence-schema owner can check the exact nine product objects in a Databricks SQL editor:

SELECT table_name AS object_name, table_type AS object_type
FROM `<catalog>`.information_schema.tables
WHERE table_schema = '<evidence-schema>'
  AND table_name IN (
    'dbtobsb_object_manifest', 'dbt_artifact_registry', 'dbt_invocations',
    'dbt_node_results', 'dbt_run_health', 'dbt_node_health',
    'dbt_collection_health'
  )
UNION ALL
SELECT volume_name AS object_name, 'VOLUME' AS object_type
FROM `<catalog>`.information_schema.volumes
WHERE volume_schema = '<evidence-schema>'
  AND volume_name IN ('dbtobsb_raw', 'dbtobsb_stage')
ORDER BY object_name;

After --delete, the query must return zero rows. After --retain, it must return all nine names. The selected schema and unrelated objects remain in both modes.

Stop only the exact customer warehouse when policy authorizes it. Never delete or change unrelated Jobs, clusters, warehouses, catalogs, or schemas to make a broad inventory look empty.