Skip to content

Commit a44702a

Browse files
Remove pipelines functionality (#2671)
* Remove pipelines functionality 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 * chore: rm deadcode and run make fmt Signed-off-by: Mark Phelps <[email protected]> --------- Signed-off-by: Mark Phelps <[email protected]> Signed-off-by: Mark Phelps <[email protected]> Co-authored-by: Mark Phelps <[email protected]> Co-authored-by: Mark Phelps <[email protected]>
1 parent d8e9353 commit a44702a

39 files changed

+24
-3669
lines changed

cog-dataclass/python/cog/command/call_graph.py

Lines changed: 0 additions & 94 deletions
This file was deleted.

go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ go 1.25
44

55
require (
66
github.com/anaskhan96/soup v1.2.5
7-
github.com/aquasecurity/go-pep440-version v0.0.1
87
github.com/aws/aws-sdk-go-v2 v1.36.3
98
github.com/aws/aws-sdk-go-v2/credentials v1.17.67
109
github.com/aws/aws-sdk-go-v2/service/s3 v1.79.3
@@ -69,7 +68,6 @@ require (
6968
github.com/alexkohler/prealloc v1.0.0 // indirect
7069
github.com/alingse/asasalint v0.0.11 // indirect
7170
github.com/alingse/nilnesserr v0.1.2 // indirect
72-
github.com/aquasecurity/go-version v0.0.1 // indirect
7371
github.com/ashanbrown/forbidigo v1.6.0 // indirect
7472
github.com/ashanbrown/makezero v1.2.0 // indirect
7573
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.10 // indirect
@@ -308,7 +306,6 @@ require (
308306
golang.org/x/text v0.25.0 // indirect
309307
golang.org/x/time v0.11.0 // indirect
310308
golang.org/x/tools v0.33.0 // indirect
311-
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
312309
google.golang.org/genproto/googleapis/api v0.0.0-20250218202821-56aae31c358a // indirect
313310
google.golang.org/genproto/googleapis/rpc v0.0.0-20250219182151-9fdb1cabc7b2 // indirect
314311
google.golang.org/protobuf v1.36.6 // indirect

go.sum

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ github.com/anaskhan96/soup v1.2.5 h1:V/FHiusdTrPrdF4iA1YkVxsOpdNcgvqT1hG+YtcZ5hM
5858
github.com/anaskhan96/soup v1.2.5/go.mod h1:6YnEp9A2yywlYdM4EgDz9NEHclocMepEtku7wg6Cq3s=
5959
github.com/anchore/go-struct-converter v0.0.0-20221118182256-c68fdcfa2092 h1:aM1rlcoLz8y5B2r4tTLMiVTrMtpfY0O8EScKJxaSaEc=
6060
github.com/anchore/go-struct-converter v0.0.0-20221118182256-c68fdcfa2092/go.mod h1:rYqSE9HbjzpHTI74vwPvae4ZVYZd1lue2ta6xHPdblA=
61-
github.com/aquasecurity/go-pep440-version v0.0.1 h1:8VKKQtH2aV61+0hovZS3T//rUF+6GDn18paFTVS0h0M=
62-
github.com/aquasecurity/go-pep440-version v0.0.1/go.mod h1:3naPe+Bp6wi3n4l5iBFCZgS0JG8vY6FT0H4NGhFJ+i4=
63-
github.com/aquasecurity/go-version v0.0.1 h1:4cNl516agK0TCn5F7mmYN+xVs1E3S45LkgZk3cbaW2E=
64-
github.com/aquasecurity/go-version v0.0.1/go.mod h1:s1UU6/v2hctXcOa3OLwfj5d9yoXHa3ahf+ipSwEvGT0=
6561
github.com/ashanbrown/forbidigo v1.6.0 h1:D3aewfM37Yb3pxHujIPSpTf6oQk9sc9WZi8gerOIVIY=
6662
github.com/ashanbrown/forbidigo v1.6.0/go.mod h1:Y8j9jy9ZYAEHXdu723cUlraTqbzjKF1MUyfOKL+AjcU=
6763
github.com/ashanbrown/makezero v1.2.0 h1:/2Lp1bypdmK9wDIq7uWBlDF1iMUpIIS4A+pF6C9IEUU=
@@ -835,8 +831,6 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
835831
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
836832
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
837833
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
838-
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSmiC7MMxXNOb3PU/VUEz+EhU=
839-
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90=
840834
google.golang.org/genproto/googleapis/api v0.0.0-20250218202821-56aae31c358a h1:nwKuGPlUAt+aR+pcrkfFRrTU1BVrSmYyYMxYbUIVHr0=
841835
google.golang.org/genproto/googleapis/api v0.0.0-20250218202821-56aae31c358a/go.mod h1:3kWAYMk1I75K4vykHtKt2ycnOgpA6974V7bREqbsenU=
842836
google.golang.org/genproto/googleapis/rpc v0.0.0-20250219182151-9fdb1cabc7b2 h1:DMTIbak9GhdaSxEjvVzAeNZvyc03I61duqNbnm3SU0M=

integration-tests/tests/build_model_dependencies.txtar

Lines changed: 0 additions & 30 deletions
This file was deleted.

integration-tests/tests/predict_pipeline.txtar

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)