Skip to content

Remove pipelines functionality#2671

Merged
markphelps merged 3 commits intomainfrom
md/remove-pipelines
Feb 2, 2026
Merged

Remove pipelines functionality#2671
markphelps merged 3 commits intomainfrom
md/remove-pipelines

Conversation

@michaeldwan
Copy link
Copy Markdown
Member

Summary

Removes the experimental pipelines feature that will not launch, simplifying the codebase ahead of upcoming major changes.

Removed (~3,650 lines)

Go packages:

  • pkg/api/ - Pipeline API client (PostNewPipeline, PullSource)
  • pkg/procedure/ - Pipeline validation logic

Go files:

  • pkg/docker/pipeline_push.go - Pipeline push implementation
  • pkg/cli/pull.go - Pipeline-only pull command
  • pkg/image/model_dependencies.go - Pipeline dependency analysis
  • pkg/coglog/pull_log_context.go - Orphaned pull logging

Templates & Python:

  • pkg/cli/init-templates/pipeline/ - Pipeline init templates
  • python/cog/command/call_graph.py - Python call graph analysis

CLI changes:

  • Removed --x-pipeline hidden flag from build, push, predict, run, init
  • Removed cog pull command

Other removals:

  • PipelinesImage field from BuildOptions
  • Pipeline field from docker.BuildInfo
  • R8_PIPELINES_RUNTIME_HOST environment variable
  • run.cog.r8_model_dependencies image label

Testing

  • All Go tests pass
  • All Python tests pass
  • Linters pass

Pipelines was an experimental feature that will not launch. This removes
all pipeline-related code to simplify the codebase ahead of upcoming
major changes.

Removed:
- pkg/api/ - Pipeline API client (PostNewPipeline, PullSource)
- pkg/procedure/ - Pipeline validation logic
- pkg/docker/pipeline_push.go - Pipeline push implementation
- pkg/cli/pull.go - Pipeline-only pull command
- pkg/image/model_dependencies.go - Pipeline dependency analysis (replicate.use)
- pkg/coglog/pull_log_context.go - Orphaned pull logging
- pkg/cli/init-templates/pipeline/ - Pipeline init templates
- python/cog/command/call_graph.py - Python call graph analysis
- Integration tests for pipelines

Also removed:
- --x-pipeline hidden flag from build, push, predict, run, init commands
- PipelinesImage field from BuildOptions
- Pipeline field from docker.BuildInfo
- R8_PIPELINES_RUNTIME_HOST environment variable
- run.cog.r8_model_dependencies image label
@michaeldwan michaeldwan marked this pull request as ready for review January 31, 2026 00:00
@michaeldwan michaeldwan requested a review from a team as a code owner January 31, 2026 00:00
Copy link
Copy Markdown
Contributor

@markphelps markphelps left a comment

Choose a reason for hiding this comment

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

let's gooo

@markphelps markphelps merged commit a44702a into main Feb 2, 2026
28 checks passed
@markphelps markphelps deleted the md/remove-pipelines branch February 2, 2026 16:20
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.

2 participants