vatsrahul1001 opened a new pull request, #66928:
URL: https://github.com/apache/airflow/pull/66928

   Cherry-pick of #66311 for the Airflow 3.2.2 patch release.
   
   **Stacked on #66927** (#65223 backport — needed for the \`_backfill_docker\` 
function this PR adds cleanup to, and for the \`registry_commands.py\` shape 
#66311 expects). Merge order: #66902 (already merged) → #66927 → this PR.
   
   ### Conflict resolution
   
   One conflict in \`dev/breeze/doc/images/output-commands.svg\` 
(auto-generated CLI help artifact). Took PR side; the \`Update breeze docs\` 
prek hook regenerates these from the actual CLI surface on commit, so the 
choice doesn't affect runtime.
   
   The substantive change in 
\`dev/breeze/src/airflow_breeze/commands/registry_commands.py\` (import 
\`bring_compose_project_down\`/\`remove_docker_networks\`, wrap 
\`extract_data\` in try/finally, add cleanup to \`_backfill_docker\`'s finally 
block) **auto-merged byte-equivalently to upstream's intended diff** — verified.
   
   All other files (\`developer_commands.py\`, 
\`developer_commands_config.py\`, \`docker_command_utils.py\`, 
\`global_constants.py\`, \`test_docker_command_utils.py\`, 
\`common_prek_utils.py\`, doc rst, output_down svg/txt) auto-merged cleanly.
   
   ### Once merged
   
   \`breeze down\` will discover and stop every running docker compose project 
matching breeze prefixes (\`breeze\`, \`prek\`, \`docker-compose\`, \`docs\`, 
\`db\`, \`providers\`, etc.) via the \`com.docker.compose.project\` label. 
\`breeze registry extract-data\` and \`breeze registry backfill-data\` now 
cleanly tear down their unique compose projects in try/finally. 
\`run_command_via_breeze_shell\` (used by every breeze-shell-based prek hook) 
wraps the subprocess in try/finally with \`--volumes\` so prek runs no longer 
leak DB volumes between hooks.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.7)
   
   Generated-by: Claude Code (Opus 4.7) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to