Skip to content

Clean up unused Docker orchestration functions after Docker Compose migration #1621

@coderabbitai

Description

@coderabbitai

Description

After the migration to Docker Compose orchestration in PR #1178, several functions in components/clp-package-utils/clp_package_utils/general.py are no longer used and should be removed.

Confirmed Unused Functions

The following functions/classes have no callers outside their definition in general.py:

  1. get_celery_connection_env_vars_list()
  2. get_common_env_vars_list()
  3. get_credential_env_vars_list()
  4. CLPDockerMounts class

Additional Functions to Investigate

The following functions may also be unused but need verification:

  • is_container_running()
  • is_container_exited()
  • DockerMount class
  • DockerMountType enum
  • append_docker_port_settings_for_host_ips()

These were heavily used in the old start_clp.py but are likely obsolete now that Docker Compose handles orchestration.

Related

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions