Skip to content

remove dev CLI subgroup #20607

Description

@zzstoatzz

context

as part of ongoing improvements to our docker image publishing strategy, we've consolidated all image publishing to the main prefecthq/prefect and prefecthq/prefect-client dockerhub repos. dev/prerelease builds now use dev tags in the main repos instead of separate -dev repos.

problem

we have a prefect dev command group that:

  1. is rarely (if ever) used in practice
  2. still references the deprecated -dev repo naming in src/prefect/utilities/dockerutils.py:82
  3. was primarily relevant when we maintained separate dev dockerhub repos

the commands provide local development tooling:

  • hot-reloading dev server (api, start, ui)
  • building docs/ui (build-docs, build-ui)
  • building local docker images (build-image, container)

proposal

remove the entire prefect dev subgroup or propose an improved one that speaks to patterns contributors actually use in 2026

affected files

  • src/prefect/cli/dev.py - main command group (394 lines)
  • src/prefect/utilities/dockerutils.py - image naming logic (line 82)
  • tests/cli/test_dev.py - tests
  • docs/v3/api-ref/python/prefect-cli-dev.mdx - docs
  • scripts/build-all-dev-images - helper script

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions