Skip to content

Remove legacy pipeline feature end to end - #1038

Open
Irozuku wants to merge 4 commits into
feat/vite-migrationfrom
refactor/remove-pipelines
Open

Irozuku wants to merge 4 commits into
feat/vite-migrationfrom
refactor/remove-pipelines

Conversation

@Irozuku

@Irozuku Irozuku commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Removes the pipelines feature end to end: the visual pipeline builder in the frontend, the pipelines API, the legacy back/pipeline and back/dag packages, the ORM models and the four database tables.

The classic flows (datasets, training, prediction, explainers, generative sessions, RAG, notebooks) do not use any of this code. They call the units in DashAI/back/units directly, and that package stays. DashAI/back/models/RAG/RAG_pipeline.py also stays: it is internal to RAG and unrelated to the removed feature.


Type of Change

  • Backend change
  • Frontend change
  • CI / Workflow change
  • Build / Packaging change
  • Bug fix
  • Documentation

Changes (by file)

  • DashAI/back/pipeline/, DashAI/back/dag/: deleted.
  • DashAI/back/api/api_v1/endpoints/pipelines.py and its router entry in api.py: deleted. /api/v1/pipelines now answers 404.
  • DashAI/back/dependencies/database/models.py: Pipeline, PipelineRun, NodeRun and NodeArtifact removed.
  • DashAI/back/initial_components.py: pipeline components no longer registered.
  • DashAI/alembic/versions/b1e5c3a7d9f2_drop_pipeline_tables.py: new migration that drops pipeline, pipeline_run, pipeline_node_run and pipeline_node_artifact. The downgrade recreates them empty.
  • DashAI/front/src/pages/pipelines/, DashAI/front/src/components/pipelines/, the pipelines route and nav entry: deleted.
  • Ten frontend files that only the pipeline pages reached are deleted: InferenceMethodDialog, ConfigureAndUploadDataset, DataloaderConfiguration, DatasetModal, DatasetPreviewStep, DatasetPreviewTable and the four ResultsTabParameters* components. They were found by comparing the module list of the build before and after the removal.
  • tests/back/migrations/test_drop_pipeline_tables.py: upgrade and downgrade test for the new migration.
  • Tests that covered the removed code: deleted.

Testing (optional)

  • Start the app on an existing data directory: the migration runs, the Pipelines entry is gone, training, prediction and explainers work as before.

Notes (optional)

  • Saved pipelines and their run history are deleted by the migration. There is no export step.

@Irozuku
Irozuku added this pull request to stack #1039 November 24, 2026 14:33
@Irozuku Irozuku added front Frontend work back Backend work refactor Prune and embelish code labels Nov 24, 2026
@Irozuku
Irozuku force-pushed the refactor/remove-pipelines branch from 78310d6 to 08d9800 Compare November 27, 2026 16:48

This branch has not been deployed

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

Labels

back Backend work front Frontend work refactor Prune and embelish code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant