Repository navigation
fix(dbt-tools): Fusion advice and Fusion fallbacks in Fusion mode, and the rest of the #1757 review - #1825
Draft
ralphstodomingo wants to merge 7 commits into
Draft
fix(dbt-tools): Fusion advice and Fusion fallbacks in Fusion mode, and the rest of the #1757 review#1825ralphstodomingo wants to merge 7 commits into
ralphstodomingo wants to merge 7 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VEmKQv6E2XpAgL5eJE8RYi
…p test A timer another fiber sets in the window (an Effect sleep an earlier file left running) fires by itself and was counted as a leak. Count only timers set from `dbt-adapter-access.ts`, and assert all four were seen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VEmKQv6E2XpAgL5eJE8RYi
In Fusion mode the "didn't start"/"didn't load" refusals said to fix a Python. They now say Fusion needs a dbt 2.x binary, where the lookup searched, and to run `altimate-dbt doctor`. Other modes' text is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VEmKQv6E2XpAgL5eJE8RYi
USAGE says `doctor` checks Fusion and the project in Fusion mode. The not-found message names the interpreter's folder only for a path, as the lookup does. The CLI doctor tests reuse `config()`, report a crash's output, and skip both where `~/.local/bin/dbt` is Fusion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VEmKQv6E2XpAgL5eJE8RYi
`create` hands dbt-integration an empty interpreter for a Fusion config with no `pythonPath` (dropping `?? ""` now fails). The e2e stale-manifest test covers `parents` as well as `children`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VEmKQv6E2XpAgL5eJE8RYi
The fallbacks took `resolveDbt`'s first `dbt`, which can be dbt Core or the dbt Cloud CLI. In Fusion mode they now run the Fusion binary that the check and the adapter find, and fail without one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VEmKQv6E2XpAgL5eJE8RYi
The session prints a validator's reason before its fix hint, so the agent read "column-shape mismatch" before learning the spec came from a stale manifest. The note now leads the reason; the fix hint is as before the note existed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VEmKQv6E2XpAgL5eJE8RYi
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Contributor
Author
Codex review logClaims (each falsifiable by a concrete trace):
Disclosed residuals (accepted, not findings):
Rounds
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #1756
Follow-up to #1757: the review items it left open, plus the next dbt-integration release.
Type of change
What does this PR do?
From the #1757 review:
altimate-dbt doctor, or switching to core), not virtualenv advice. Other modes are unchanged.dbtfound (possibly dbt Core). With no Fusion they fail and start nothing.parentson a stale manifest, and a doctor test that reports a crashed run.dbt-integration 0.3.20 → 0.3.21. dbt-tools uses none of what changed; a fresh checkout installs with a frozen lockfile.
Separate flake fix (own commit): the adapter-access timer-cleanup test counted a timer from a fiber an earlier file left running, which failed main twice. It now counts only the adapter's own timers, and still fails if one leaks.
How did you verify your code works?
Claims, residuals and Codex review log: #1825 (comment).
Cost side effects
None.
Screenshots / recordings
Not a UI change.
Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01VEmKQv6E2XpAgL5eJE8RYi
Summary by cubic
Fixes Fusion-mode handling in
dbt-toolsand opencode: when Fusion fails, users now get advice about the Fusion binary instead of Python, and the CLI fallbacks run the Fusion binary rather than a possibly Core/Clouddbt. Also closes the rest of the #1757 review items.altimate-dbt doctor, installing dbt Fusion, or switching to core, and only name the interpreter's folder when it was searched.dbt-clifallbacks and the prerequisite check now use the same Fusion binary lookup as the adapter; without a Fusion binary they fail instead of running another dbt.@altimateai/dbt-integrationto 0.3.21 (no functional changes used).Written for commit 0dcad86. Summary will update on new commits.