Skip to content

standalone project cannot be stopped #2175

Description

@BasPH

Describe the bug

Both astro dev stop and astro dev kill do not stop an Astro standalone project.

➜ astro dev start --standalone
Note: Standalone mode is experimental. Report issues at https://github.com/astronomer/astro-cli/issues

✔ Environment ready

Starting Airflow in standalone mode…

✔ Airflow is ready! (PID 59681)
➤ Airflow UI: http://removeme.localhost:6563
➤ View logs: astro dev logs -f
➤ Stop:      astro dev stop
➜ astro dev stop
✔ Project stopped
➜ astro dev kill
✔ Project killed
➜ astro dev start --standalone
Note: Standalone mode is experimental. Report issues at https://github.com/astronomer/astro-cli/issues

Error: standalone Airflow is already running (PID 59681). Run 'astro dev stop' first

Only after running kill -9 59681 is the project stopped.

What CLI Version did you experience this bug?

Tested on both Astro CLI 1.42.0 and 1.42.1.

This CLI bug is related to which Astronomer Platform?

  • Astro
  • Software
  • None/Unknown

What Operating System is the above CLI installed on?

🪜 Steps To Reproduce

📸 Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions