Skip to content

[v3-2-test] Breeze: make breeze down discover and stop every compose project (#66311) - #66928

Merged
vatsrahul1001 merged 1 commit into
v3-2-testfrom
backport-322-66311
May 15, 2026
Merged

[v3-2-test] Breeze: make breeze down discover and stop every compose project (#66311)#66928
vatsrahul1001 merged 1 commit into
v3-2-testfrom
backport-322-66311

Conversation

@vatsrahul1001

@vatsrahul1001vatsrahul1001 commented May 14, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #66311
needs #66927 to be merged first

Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.7)

Generated-by: Claude Code (Opus 4.7) following the guidelines

@vatsrahul1001vatsrahul1001 added this to the Airflow 3.2.2 milestone May 14, 2026
@vatsrahul1001
vatsrahul1001 changed the base branch from backport-322-65223 to v3-2-testMay 14, 2026 10:11
@vatsrahul1001
vatsrahul1001 requested a review from kaxil as a code ownerMay 14, 2026 10:11
@vatsrahul1001vatsrahul1001 added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label May 14, 2026
…66311)
Discovers running docker compose projects via the
`com.docker.compose.project` label and brings down every one matching
a known breeze prefix (`breeze`, `prek`, `docker-compose`, `docs`, `db`,
`providers`, plus `breeze-`, `airflow-test`, `constraints-`, `providers-`).
One `breeze down` now leaves the host clean regardless of which breeze
commands, prek hooks, or CI steps were running.
Two new flags: `--all-projects` also catches compose projects that don't
match any known breeze prefix (off by default to avoid wiping unrelated
host projects); `--project-name <name>` restricts cleanup to a single
project (useful in CI).
Single-use cleanup gaps fixed:
- `run_command_via_breeze_shell` (used by every breeze-shell-based prek
hook) now wraps the subprocess in try/finally and passes `--volumes`
to the down call, so prek runs no longer leak DB volumes between hooks
and KeyboardInterrupt no longer skips cleanup.
- `breeze registry extract-data` and `breeze registry backfill-data`
added try/finally cleanup of their unique compose projects (previously
leaked `breeze-registry-*` and `breeze-backfill-*` on every invocation).
- `breeze doctor` now uses the same label-based cleanup.
(cherry picked from commit 2635495)
@potiuk
potiukforce-pushed the backport-322-66311 branch from 14a5e3d to 1e5625bCompareMay 15, 2026 01:48
@vatsrahul1001
vatsrahul1001 merged commit a6bd360 into v3-2-testMay 15, 2026
110 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-322-66311 branch May 15, 2026 04:46
@github-project-automationgithub-project-automationBot moved this from Backlog to Done in Airflow RegistryMay 15, 2026
vatsrahul1001 added a commit that referenced this pull request May 20, 2026
…66311) (#66928)
Discovers running docker compose projects via the
`com.docker.compose.project` label and brings down every one matching
a known breeze prefix (`breeze`, `prek`, `docker-compose`, `docs`, `db`,
`providers`, plus `breeze-`, `airflow-test`, `constraints-`, `providers-`).
One `breeze down` now leaves the host clean regardless of which breeze
commands, prek hooks, or CI steps were running.
Two new flags: `--all-projects` also catches compose projects that don't
match any known breeze prefix (off by default to avoid wiping unrelated
host projects); `--project-name <name>` restricts cleanup to a single
project (useful in CI).
Single-use cleanup gaps fixed:
- `run_command_via_breeze_shell` (used by every breeze-shell-based prek
hook) now wraps the subprocess in try/finally and passes `--volumes`
to the down call, so prek runs no longer leak DB volumes between hooks
and KeyboardInterrupt no longer skips cleanup.
- `breeze registry extract-data` and `breeze registry backfill-data`
added try/finally cleanup of their unique compose projects (previously
leaked `breeze-registry-*` and `breeze-backfill-*` on every invocation).
- `breeze doctor` now uses the same label-based cleanup.
(cherry picked from commit 2635495)
Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001 added a commit that referenced this pull request May 20, 2026
…66311) (#66928)
Discovers running docker compose projects via the
`com.docker.compose.project` label and brings down every one matching
a known breeze prefix (`breeze`, `prek`, `docker-compose`, `docs`, `db`,
`providers`, plus `breeze-`, `airflow-test`, `constraints-`, `providers-`).
One `breeze down` now leaves the host clean regardless of which breeze
commands, prek hooks, or CI steps were running.
Two new flags: `--all-projects` also catches compose projects that don't
match any known breeze prefix (off by default to avoid wiping unrelated
host projects); `--project-name <name>` restricts cleanup to a single
project (useful in CI).
Single-use cleanup gaps fixed:
- `run_command_via_breeze_shell` (used by every breeze-shell-based prek
hook) now wraps the subprocess in try/finally and passes `--volumes`
to the down call, so prek runs no longer leak DB volumes between hooks
and KeyboardInterrupt no longer skips cleanup.
- `breeze registry extract-data` and `breeze registry backfill-data`
added try/finally cleanup of their unique compose projects (previously
leaked `breeze-registry-*` and `breeze-backfill-*` on every invocation).
- `breeze doctor` now uses the same label-based cleanup.
(cherry picked from commit 2635495)
Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001 added a commit that referenced this pull request May 21, 2026
…66311) (#66928)
Discovers running docker compose projects via the
`com.docker.compose.project` label and brings down every one matching
a known breeze prefix (`breeze`, `prek`, `docker-compose`, `docs`, `db`,
`providers`, plus `breeze-`, `airflow-test`, `constraints-`, `providers-`).
One `breeze down` now leaves the host clean regardless of which breeze
commands, prek hooks, or CI steps were running.
Two new flags: `--all-projects` also catches compose projects that don't
match any known breeze prefix (off by default to avoid wiping unrelated
host projects); `--project-name <name>` restricts cleanup to a single
project (useful in CI).
Single-use cleanup gaps fixed:
- `run_command_via_breeze_shell` (used by every breeze-shell-based prek
hook) now wraps the subprocess in try/finally and passes `--volumes`
to the down call, so prek runs no longer leak DB volumes between hooks
and KeyboardInterrupt no longer skips cleanup.
- `breeze registry extract-data` and `breeze registry backfill-data`
added try/finally cleanup of their unique compose projects (previously
leaked `breeze-registry-*` and `breeze-backfill-*` on every invocation).
- `breeze doctor` now uses the same label-based cleanup.
(cherry picked from commit 2635495)
Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-toolsarea:registrychangelog:skipChanges that should be skipped from the changelog (CI, tests, etc..)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants

@vatsrahul1001@potiuk