feat: [AI-1799] support uv/uvx via corecommand mode and dbtExecutablePath#1862
Draft
ralphstodomingo wants to merge 1 commit intomasterfrom
Draft
feat: [AI-1799] support uv/uvx via corecommand mode and dbtExecutablePath#1862ralphstodomingo wants to merge 1 commit intomasterfrom
ralphstodomingo wants to merge 1 commit intomasterfrom
Conversation
…cutablePath` Users with uv-managed dbt (no persistent .venv) can now use `dbt.dbtIntegration: "corecommand"` with an optional `dbt.dbtExecutablePath` pointing to a wrapper script. - Add `dbt.dbtExecutablePath` setting for custom dbt binary path - Route `corecommand` to `DBTCoreCommandDetection` (CLI-based check) - Skip Python path validation for CLI modes (corecommand/cloud/fusion) - Add `environmentVariables` to `RuntimePythonEnvironment` implementations Closes #1799 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
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.
Summary
dbt.dbtExecutablePathsetting for custom dbt binary path (e.g. uvx wrapper script)corecommandintegration mode toDBTCoreCommandDetection(CLI-baseddbt --versioncheck instead ofpython -c "import dbt")Context
Closes #1799 — Users running dbt via
uv/uvxhave no persistent.venvon disk. The extension's Python-based dbt detection always fails. With this change, users set:{ "dbt.dbtIntegration": "corecommand", "dbt.dbtExecutablePath": "/path/to/bin/dbt" }Where the wrapper script calls
uvx --python 3.12 --with "dbt-snowflake" --from "dbt-core" dbt "$@".Depends on: AltimateAI/altimate-dbt-integration#41
Test plan
npx tsc --noEmitpassesnpx webpack --mode developmentsucceedscoremode (default Python-based detection still works)🤖 Generated with Claude Code