This is an automated email from the ASF dual-hosted git repository.

vatsrahul1001 pushed a commit to branch v3-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit b20e14a9c712dd9fe5a43952c55961b4864fccf6
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 22 14:28:03 2026 +0200

    [v3-2-test] Stop dumping full Click context dict in 
update-breeze-cmd-output (#65667) (#65669)
    
    The update-breeze-cmd-output prek hook called `breeze setup
    regenerate-command-images`, which printed the entire Click context
    dict (60K+ lines) when VERBOSE was set. CI runs prek with VERBOSE=true,
    so a failure of this hook drowned the actual error message under the
    dump (e.g. 
https://github.com/apache/airflow/actions/runs/24765956624/job/72462411984?pr=65660).
    
    The dump was a leftover developer debug print and provided no
    actionable information.
    (cherry picked from commit 205eae19e6388ef03d600855b9d50435db74e6b6)
    
    Co-authored-by: Jarek Potiuk <[email protected]>
---
 dev/breeze/src/airflow_breeze/commands/setup_commands.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/setup_commands.py 
b/dev/breeze/src/airflow_breeze/commands/setup_commands.py
index cf775bed471..6392fe15abc 100644
--- a/dev/breeze/src/airflow_breeze/commands/setup_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/setup_commands.py
@@ -48,7 +48,7 @@ from airflow_breeze.commands.main_command import main
 from airflow_breeze.utils.cache import check_if_cache_exists, delete_cache, 
touch_cache_file
 from airflow_breeze.utils.click_utils import BreezeGroup
 from airflow_breeze.utils.confirm import STANDARD_TIMEOUT, Answer, user_confirm
-from airflow_breeze.utils.console import console_print, get_stderr_console
+from airflow_breeze.utils.console import console_print
 from airflow_breeze.utils.custom_param_types import BetterChoice
 from airflow_breeze.utils.docker_command_utils import 
VOLUMES_FOR_SELECTED_MOUNTS
 from airflow_breeze.utils.path_utils import (
@@ -352,8 +352,6 @@ def get_command_hash_dict() -> dict[str, str]:
     hashes: dict[str, str] = {}
     with Context(main) as ctx:
         the_context_dict = ctx.to_info_dict()
-        if get_verbose():
-            get_stderr_console().print(the_context_dict)
         commands_dict = the_context_dict["command"]["commands"]
         options = rich_click.rich_click.OPTION_GROUPS
         for command in sorted(commands_dict.keys()):

Reply via email to