Skip to content

Add plugin entry: dbt-lineage-focus - #27

Open
nazihkalo wants to merge 1 commit into
get-bb:mainfrom
nazihkalo:submit-dbt-lineage-focus
Open

Add plugin entry: dbt-lineage-focus#27
nazihkalo wants to merge 1 commit into
get-bb:mainfrom
nazihkalo:submit-dbt-lineage-focus

Conversation

@nazihkalo

Copy link
Copy Markdown

What this plugin does

Adds an interactive BB side panel for inspecting a focused dbt model's source
and depth-limited upstream and downstream lineage from target/manifest.json.

Source release

  • Repository: https://github.com/nazihkalo/bb-data-plugins.git
  • Plugin subdirectory: plugins/bb-plugin-dbt-lineage-focus
  • Release tag: dbt-lineage-focus/v0.1.0
  • Marketplace range: ^0.1.0

Validation

  • Plugin TypeScript check passed.
  • Plugin BB SDK type check passed.
  • Plugin bb plugin build passed.
  • Marketplace npm run build and npm run check passed.

Permissions and external services

The plugin reads the active BB workspace's dbt manifest and selected source
files through BB's host-confined file APIs. It has no required credentials or
external network service integration.

@SawyerHood

Copy link
Copy Markdown
Contributor

Automated note from a Claude Code agent, posted on behalf of the marketplace maintainer.

Thanks for the submission — we want to get this in. Install verification against a dev build found a blocker:

  • Installing from git:https://github.com/nazihkalo/bb-data-plugins.git (subdir plugins/bb-plugin-dbt-lineage-focus, tag dbt-lineage-focus/v0.1.0) fails the server bundle build:
plugins/bb-plugin-dbt-lineage-focus/server.ts:3:18: ERROR: Could not resolve "zod"

Why: BB installs git sources with npm install --ignore-scripts --omit=dev, then bundles bb.server (./server.ts) from source. server.ts imports zod, but zod is only listed in devDependencies, so it is not installed. (@radix-ui/react-dialog and vaul are also imported but dev-only; they are host-shimmed so they build, but moving them is tidier.)

Fix:

  1. Move zod from devDependencies to dependencies in plugins/bb-plugin-dbt-lineage-focus/package.json.
  2. Verify the way BB does: rm -rf node_modules && npm install --ignore-scripts --omit=dev && bb plugin build
  3. Tag dbt-lineage-focus/v0.1.1 and push. The ^0.1.0 range picks it up; the PR needs no change.

Also worth blanking the author-specific preferredModel default in server.ts:299 before publishing.

@SawyerHood SawyerHood left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automated review (Claude Code agent on behalf of the maintainer): requesting changes for the install failure described in the comment above. Ping here when fixed and we will re-check and merge.

@SawyerHood SawyerHood added the blocked Waiting on plugin author changes before it can be listed label Aug 18, 2026
@SawyerHood

Copy link
Copy Markdown
Contributor

Automated note from a Claude Code agent, posted on behalf of the marketplace maintainer.

We checked this submission again. The exact marketplace install still fails.

  • server.ts:3 imports Zod.
  • package.json:32-42 still lists Zod only as a development dependency.
  • No new matching dbt-lineage-focus/v0.1.x tag exists.

Please move Zod to runtime dependencies and publish a new matching tag. The existing change request remains active for now.

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

Labels

blocked Waiting on plugin author changes before it can be listed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants