Skip to content

fix(dbt-tools): Fusion refusals from dbt_cte_profile and dbt_health say "reload the window" and omit altimate-dbt doctor #1904

In review

Description

@sahrizvi

Found in the end-to-end check of the published v0.12.13 npm package. Related to #1757 fix(dbt-tools): run dbt Fusion without Python, and pin the stale-manifest fixes and #1825 fix(dbt-tools): Fusion advice and Fusion fallbacks in Fusion mode, and the rest of the #1757 review.

Repro: set "dbtIntegration": "fusion" in ~/.altimate-code/dbt.json, with no dbt 2.x binary next to the Python, in ~/.local/bin or on PATH. Then:

altimate tool run dbt_cte_profile --no-daemon --allow-write --args '{"model":"cte_chain","cte":"fast"}'
altimate tool run dbt_health --no-daemon --allow-write --args '{}'

Observed: "The count query for fast failed: dbt Fusion was not found. None of these report a dbt 2.x version: …/bin/dbt, ~/.local/bin/dbt, dbt. Install dbt Fusion (https://docs.getdbt.com/docs/fusion/install-fusion), or put its dbt on PATH, then reload the window." dbt_health gives the same text. "Reload the window" is VS Code wording, and altimate-dbt doctor is not mentioned.

Expected: the fusionHint refusal the v0.12.13 changelog promises ("In Fusion mode their refusals say what Fusion needs and to run altimate-dbt doctor").

Likely cause: in dbt-adapter-access.ts the hint is added only when the adapter fails to start or isInitialized() is false. Here the adapter starts, and the Fusion error comes from the first query or parse.

Related: with Fusion missing, dbt_lineage on a column falls back to the manifest with only "tracing order_id needs the dbt integration; this is the whole model's lineage", without saying Fusion is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions