Skip to content

fix: Catch missing dbt parser dependency in dbt CLI commands#6534

Open
kchawlani19 wants to merge 4 commits into
feast-dev:masterfrom
kchawlani19:fix/issue-5870
Open

fix: Catch missing dbt parser dependency in dbt CLI commands#6534
kchawlani19 wants to merge 4 commits into
feast-dev:masterfrom
kchawlani19:fix/issue-5870

Conversation

@kchawlani19

Copy link
Copy Markdown
Contributor

What this PR does

This PR improves error handling in the dbt CLI import flow when the dbt-artifacts-parser dependency is not installed.

Previously, users could encounter an unclear import-related failure. This change catches the missing dependency condition and provides a clearer error path for users.

Changes

  • Improve handling of missing dbt-artifacts-parser imports in the dbt CLI integration.
  • Add integration test coverage for the missing dependency scenario.

Testing

  • Added integration test for missing dependency behavior.
  • Verified existing behavior remains unchanged when the dependency is available.

Related Issue

#5870

Catch ImportError in `feast dbt import` and `feast dbt list` so missing dbt parser dependency returns a clean CLI error. Add regression tests to verify both commands exit with actionable install guidance.

Signed-off-by: kchawlani19 <kchawlan@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@kchawlani19 kchawlani19 requested a review from a team as a code owner June 17, 2026 06:32
@kchawlani19 kchawlani19 changed the title fix(dbt): handle missing dbt-artifacts-parser import errors in CLI fix: catch ImportError in feast dbt import/list commands Jun 17, 2026
@kchawlani19 kchawlani19 changed the title fix: catch ImportError in feast dbt import/list commands fix: Catch missing dbt parser dependency in dbt CLI commands Jun 17, 2026

@franciscojavierarceo franciscojavierarceo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix tests thank you

Signed-off-by: kchawlani19 <kchawlan@redhat.com>
Signed-off-by: kchawlani19 <kchawlan@redhat.com>
Signed-off-by: kchawlani19 <kchawlan@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants