Skip to content

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Oct 30, 2025

The breeze run command was missing the @option_answer decorator, preventing users from bypassing interactive prompts when image rebuilds were required. This caused the command to ignore -y/-n/--answer flags even though other breeze commands supported them.

Added @option_answer decorator to enable non-interactive execution via:

  • breeze run --answer y
  • breeze run -a n
  • ANSWER=y breeze run

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

The breeze run command was missing the `@option_answer` decorator, preventing
users from bypassing interactive prompts when image rebuilds were required.
This caused the command to ignore `-y`/`-n`/`--answer` flags even though other
breeze commands supported them.

Added `@option_answer` decorator to enable non-interactive execution via:
- breeze run --answer y <command>
- breeze run -a n <command>
- ANSWER=y breeze run
@kaxil kaxil merged commit 3c13f7c into apache:main Oct 30, 2025
111 checks passed
@kaxil kaxil deleted the breeze-run-answer branch October 30, 2025 23:48
github-actions bot pushed a commit that referenced this pull request Oct 30, 2025
The breeze run command was missing the `@option_answer` decorator, preventing
users from bypassing interactive prompts when image rebuilds were required.
This caused the command to ignore `-y`/`-n`/`--answer` flags even though other
breeze commands supported them.

Added `@option_answer` decorator to enable non-interactive execution via:
- breeze run --answer y <command>
- breeze run -a n <command>
- ANSWER=y breeze run
(cherry picked from commit 3c13f7c)

Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
@github-actions
Copy link

Backport successfully created: v3-1-test

Status Branch Result
v3-1-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Oct 30, 2025
…#57589)

The breeze run command was missing the `@option_answer` decorator, preventing
users from bypassing interactive prompts when image rebuilds were required.
This caused the command to ignore `-y`/`-n`/`--answer` flags even though other
breeze commands supported them.

Added `@option_answer` decorator to enable non-interactive execution via:
- breeze run --answer y <command>
- breeze run -a n <command>
- ANSWER=y breeze run
(cherry picked from commit 3c13f7c)

Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
kaxil added a commit that referenced this pull request Oct 30, 2025
#57591)

The breeze run command was missing the `@option_answer` decorator, preventing
users from bypassing interactive prompts when image rebuilds were required.
This caused the command to ignore `-y`/`-n`/`--answer` flags even though other
breeze commands supported them.

Added `@option_answer` decorator to enable non-interactive execution via:
- breeze run --answer y <command>
- breeze run -a n <command>
- ANSWER=y breeze run
(cherry picked from commit 3c13f7c)

Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
@potiuk
Copy link
Member

potiuk commented Nov 1, 2025

Nice :)

Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
The breeze run command was missing the `@option_answer` decorator, preventing
users from bypassing interactive prompts when image rebuilds were required.
This caused the command to ignore `-y`/`-n`/`--answer` flags even though other
breeze commands supported them.

Added `@option_answer` decorator to enable non-interactive execution via:
- breeze run --answer y <command>
- breeze run -a n <command>
- ANSWER=y breeze run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants