Skip to content

chore: remove the dbt plugin and alpine-dbt docker image - #9084

Merged
Startrekzky merged 1 commit into
mainfrom
kw-rm-dbt
Aug 31, 2026
Merged

Startrekzky merged 1 commit into
mainfrom
kw-rm-dbt

Conversation

@klesh

@klesh klesh commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes the deprecated dbt plugin from the backend, its alpine-dbt Docker image, the corresponding config-ui example entry, and the dbt-mysql / dbt-postgres Python dependencies. Updates the plugin registration test lists (table_info_test.go, migration_schema_test.go, server_startup_test.go) accordingly.

Closes #8970.

Background

Per the issue, the dbt plugin architecture relies on passing external user-supplied configurations to external CLI tools (git and dbt), exposing the server to SSRF and CLI argument manipulation. Rather than maintaining complex input-filtering rules for this changing command-line surface, the plugin is being deprecated and removed from the codebase.

Scope

  • Backend plugin: Deleted backend/plugins/dbt/ (9 files: entry point, impl, api/swagger, tasks/convertor, tasks/git, tasks/options, tasks/options_test, tasks/task_data, README)
  • Docker image: Deleted devops/docker/alpine-dbt/ (Dockerfile + README)
  • Config-UI: Deleted example/dbt.ts and removed the dbt entry from example/index.ts
  • Python deps: Removed dbt-mysql and dbt-postgres from backend/python/requirements.txt
  • Tests: Removed dbt imports and registrations from table_info_test.go, migration_schema_test.go, and server_startup_test.go

Verification

  • go vet passes for the edited packages (only a pre-existing, unrelated libgit2 system-dependency error remains)
  • tsc --noEmit passes for config-ui
  • rg for all dbt plugin symbols (plugins/dbt, dbt/impl, alpine-dbt, dbt-mysql, dbt-postgres, DbtOptions, DbtTaskData, DbtConverter, impl.Dbt, dbt.Dbt) returns no matches

Checklist

  • The backend builds without referencing the dbt package
  • No regressions introduced to other core backend plugins or connection management APIs
  • Plugin registration test lists updated to stay in sync with backend/plugins/ directories

Remove the deprecated dbt plugin from the backend, its alpine-dbt
Docker image, the config-ui example entry, and the dbt-mysql /
dbt-postgres Python dependencies. Update the plugin registration
test lists (table_info, schema_e2e, server_startup) accordingly.

@Startrekzky Startrekzky 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.

lgtm

@Startrekzky
Startrekzky merged commit 79ef9f4 into main Aug 31, 2026
11 checks passed
@Startrekzky
Startrekzky deleted the kw-rm-dbt branch August 31, 2026 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate and Remove the dbt Plugin from Backend Components

2 participants