This is an automated email from the ASF dual-hosted git repository.
shahar1 pushed a change to branch airflow-ctl/v0-1-stable
in repository https://gitbox.apache.org/repos/asf/airflow.git
from 93fc24af68c Run CI on airflow-ctl release-branch pull requests and
pushes (#70726)
add 7c6326db37f [airflow-ctl/v0-1-test] Fix airflow-ctl connections import
schema handling (#67063) (#67609)
add 1bb714a50c0 [airflow-ctl/v0-1-test] Fix CLI variables import with
structured falsy values (#67060) (#68247)
add 2707b4abe01 [airflow-ctl/v0-1-test] Add airflowctl dags state command
(#68564) (#69217)
add 8415241ef36 [airflow-ctl/v0-1-test] Added dagrun delete command to
airflowctl (#68046) (#69263)
add 1ae08ac1432 [airflow-ctl/v0-1-test] Simplify airflowctl query
parameter handling (#69475) (#69568)
add eae061864dc [airflow-ctl/v0-1-test] Fix airflowctl JSON parsing for
Dag run conf (#68985) (#69837)
add 727dccaddd8 [airflow-ctl/v0-1-test] Split airflowctl dags state
argument into run_id and --logical-date (#69915) (#70352)
add a5c8ce6f990 [airflow-ctl/v0-1-test] Bump datamodel-code-generator pin
from 0.33.0 to 0.41.0 (#69854) (#70201)
add 39e11233db0 [airflow-ctl/v0-1-test] Fix config lint warnings for
remove_if_equals rules (#66370) (#69395)
add 2c23c42735d [airflow-ctl/v0-1-test] Remove no-op exception re-raise
and parser override in airflowctl (#70903) (#70909)
add e81bca1035f [airflow-ctl/v0-1-test] Fix airflowctl showing a traceback
instead of the server error on 5xx (#70841) (#70910)
add fe651080cb5 Fix airflowctl dags state crash from an incomplete
backport (#71095)
add 96e4b19cd40 Regenerate airflowctl datamodels from this branch's API
spec (#71094)
add 2c5b6e36c90 [airflow-ctl/v0-1-test] Fix airflowctl list operations
ignoring the requested offset (#70989) (#71119)
add c8ddab49564 [airflow-ctl/v0-1-test] Fix a bad retry env var taking
down the whole airflowctl CLI (#72429) (#72663)
add 2fc1bb84610 [airflow-ctl/v0-1-test] Add asset state store commands to
airflowctl (#70771) (#72742)
add 65b0bc18163 [airflow-ctl/v0-1-test] Drop the redundant re-validation
round trip in airflowctl list pagination (#71928) (#72760)
add ec6aab23e23 [airflow-ctl/v0-1-test] Stop airflowctl update commands
from clearing fields left unset (#71333) (#73100)
add 074dd07498f [airflow-ctl/v0-1-test] Fix airflowctl connections test
failing on stored connections (#73098) (#73102)
add 43a8f0a518d [airflow-ctl/v0-1-test] Fix airflowctl retry env-var tests
failing on self-hosted runners (#73212) (#73223)
add 8087c453530 [airflow-ctl/v0-1-test] Fix airflowctl backfill
pause/unpause/cancel always failing with 405 (#73282) (#73293)
add 1172cf9a84d [airflow-ctl/v0-1-test] Fix airflowctl tracebacks on
redirects and non-JSON error bodies (#73307) (#73331)
add 52b9dc2115f Fix airflowctl commands crashing instead of printing their
result (#72675) (#73988)
add 2ada30d207c [airflow-ctl/v0-1-test] Fix airflowctl dags get-tags
crashing whenever a Dag has tags (#73743) (#74437)
add 3755d07a86e [airflow-ctl/v0-1-test] Fix airflowctl pools export/import
dropping pool team ownership (#73132) (#74846)
add f4eda1efe0b Bump Actions pins to ASF-allowlisted versions (#75073)
add 850cc7a8d03 [airflow-ctl/v0-1-test] Log the retry reason in airflowctl
API client retries (#75059) (#75198)
add 5b454e82612 [airflow-ctl/v0-1-test] Fix wrong command and API wording
in airflowctl docs and help (#75058) (#75202)
add 5693c9bcfd7 [airflow-ctl/v0-1-test] Enable auto-merge, gated on a
dedicated CI passed check (#75142) (#75555)
add 1730d9b70a5 [airflow-ctl/v0-1-test] Fix API client errors losing
detail behind a reverse proxy (#75493) (#75622)
add 0ab22ebac52 Run CI on airflow-ctl release-branch pull requests and
pushes (#70724)
add 744097bd4f6 [airflow-ctl/v0-1-test] Handle empty or corrupted JSON in
airflowctl credentials loading (#75279) (#75714)
add 1a8f35716aa [airflow-ctl/v0-1-test] Fix airflowctl config lint filters
matching partial config names (#75690) (#75736)
add 21361e2d41f [airflow-ctl/v0-1-test] Remove unused type: ignore
comments in airflow-ctl (#75203) (#75728)
add 0f458938083 [airflow-ctl/v0-1-test] Fix airflowctl ignoring --env for
non-auth commands (#73808) (#75746)
add 6a176cc03b7 [airflow-ctl/v0-1-test] airflow-ctl-tests: wait for Dag
run terminal state before xcom commands (#67065) (#75752)
add ab64b280ca2 [airflow-ctl/v0-1-test] Stop airflowctl from failing on
fields added by newer API servers (#75610) (#75754)
add 9bd9a99d186 [airflow-ctl/v0-1-test] Stop airflowctl e2e xcom tests
failing on a slow compose stack (#72260) (#75756)
add a49b7472c3b [airflow-ctl/v0-1-test] Remove unused airflowctl lowercase
argument helper (#75768) (#75816)
add b4d562838b5 [airflow-ctl/v0-1-test] Parametrize airflowctl environment
output tests (#75900) (#75927)
add 7e5dc92d75b airflowctl: fix datetime.datetime CLI parameters rejecting
all input (#70249) (#75770)
add c7feac0b231 Add airflowctl tasks states-for-dag-run command (#69366)
(#70276)
add 0fbea432f7e [airflow-ctl/v0-1-test] Remove no-op ServerResponseError
re-raise blocks in airflowctl operations (#70376) (#76042)
add 8473f689f3f [airflow-ctl/v0-1-test] Handle None response from
airflowctl connections create-defaults (#68853) (#75769)
add cd0ce251dd2 [airflow-ctl/v0-1-test] Limit the CLI reference's page
contents to top-level commands (#75483) (#75500)
add b413f60cbe5 [airflow-ctl/v0-1-test] Fix airflowctl list argument
parsing (#72454) (#76045)
add 68f438f82cc [airflow-ctl/v0-1-test] Fix incorrect asset queued-event
endpoint paths in airflowctl (#70461) (#76044)
add 34d38effe7d [airflow-ctl/v0-1-test] Stop swallowing unexpected keyring
errors when saving airflowctl credentials (#70991) (#76047)
add aa326df42ae [airflow-ctl/v0-1-test] Keep airflowctl operation defaults
when an optional flag is omitted (#65062) (#76046)
add 6d567e72cc1 [airflow-ctl/v0-1-test] Flag deprecated
expose_config=non-sensitive-only in config lint (#72507) (#76049)
add 58fa96df1ac [airflow-ctl/v0-1-test] Make airflowctl command generation
safe to read more than once (#73097) (#76048)
add 17fafd18950 [airflow-ctl/v0-1-test] Reject non-positive
max_active_runs when creating a backfill (#75071) (#75380)
add 66f12f8acfb [airflow-ctl/v0-1-test] Require a request body on the
asset materialize endpoint (#73328) (#76070)
add 3a4a26c0b88 [airflow-ctl/v0-1-test] Fix typos, grammar, and broken
references across the docs (#73146) (#76071)
add cac1458f459 [airflow-ctl/v0-1-test] Stop airflowctl from resending
writes after ambiguous failures (#74382) (#76072)
add fc4baa0f980 [airflow-ctl/v0-1-test] Handle undecryptable Variable
values gracefully in Stable REST API (#65452) (#76075)
add 7aa0260d43e [airflow-ctl/v0-1-test] Add DagRunType for operator
(#63733) (#76076)
add 0a9a34d1d0f [airflow-ctl/v0-1-test] Fix Dag detail page 500 for Dags
without a fileloc #69035 (#69110) (#76074)
add 1d3b0910144 [airflow-ctl/v0-1-test] Validate the file structure in
airflowctl connections import (#75176) (#76088)
add 63075890f2e [airflow-ctl/v0-1-test] Stop airflowctl connection-refused
test depending on the local network (#76077) (#76082)
add 93c33cd86ea [airflow-ctl/v0-1-test] Report missing required airflowctl
options as readable errors (#75177) (#76089)
add 0578b7b3830 Accept the awaiting_input task instance state from Airflow
3.3+ servers (#76118)
add 0011d2a2e17 Accept Airflow 3.4 Dag warning types and plugin
destinations in airflowctl (#76119)
add 72288433d97 [airflow-ctl/v0-1-test] Fix airflowctl operations create
command validation error (#69317) (#76116)
add dc5eb007c51 [airflow-ctl/v0-1-test] Skip airflowctl state store tests
on servers older than 3.3 (#75753) (#76122)
add 8319da8e948 Report airflowctl response validation errors instead of a
traceback (#76121)
add 5a002c6ead4 [airflow-ctl/v0-1-test] Let airflowctl and its integration
tests use a non-default API server port (#76124) (#76137)
add a06c906a222 [airflow-ctl/v0-1-test] Stop airflowctl timing out after 5
seconds on slow API servers (#76125) (#76138)
add 2b738bb4d32 [airflow-ctl/v0-1-test] Report missing and invalid fields
in airflowctl connections import (#76090) (#76141)
add 03f67a84a28 [airflow-ctl/v0-1-test] Keep airflowctl dags
pause/unpause/drain output parseable (#76133) (#76172)
add 5acdfd545fc [airflow-ctl/v0-1-test] Fix airflowctl sending ids with
URL special characters to the wrong path (#76147) (#76192)
add b48192e54ce [airflow-ctl/v0-1-test] Handle connection and request
timeouts in airflowctl (#76132) (#76193)
add 8625e672a0f [airflow-ctl/v0-1-test] Keep airflowctl auth token stdout
limited to the token (#76134) (#76195)
add 5af6e9fb71f [airflow-ctl/v0-1-test] Report invalid variables in
airflowctl variables import as readable errors (#76174) (#76196)
add f67950583ef [airflow-ctl/v0-1-test] Report invalid pools in airflowctl
pools import as readable errors (#76173) (#76204)
add 7bb6765389c [airflow-ctl/v0-1-test] Show square brackets in airflowctl
table and plain output as typed (#76175) (#76205)
add bab3049de26 [airflow-ctl/v0-1-test] Fix airflowctl tracebacks on an
unusable credentials file (#72468) (#76208)
add ef9a2a01e8c [airflow-ctl/v0-1-test] Stop airflowctl auth commands
sending the stored token to --api-url (#76280) (#76318)
add c64d9f3877e [airflow-ctl/v0-1-test] Add tests for airflowctl utils
helpers and module loading (#76271) (#76379)
add 01f43b87553 [airflow-ctl/v0-1-test] Keep airflowctl stdout parseable
when a request is retried or fails (#76347) (#76380)
add 2b8f70a1ac1 [airflow-ctl/v0-1-test] Fix airflowctl dagrun list
ignoring --start-date and --end-date (#76348) (#76382)
add eb3a36223e1 [airflow-ctl/v0-1-test] Escape error text in airflowctl
safe_call_command messages (#76264) (#76385)
add 078e83f9cdd [airflow-ctl/v0-1-test] Exit non-zero when airflowctl
connections test fails (#76281) (#76319)
add 0c032d17b98 [airflow-ctl/v0-1-test] Fix airflowctl list pagination
when the server caps the page size (#76268) (#76414)
add d1985767376 [airflow-ctl/v0-1-test] Stop airflowctl sending an old
token to a new API URL (#76287) (#76475)
add abf07244821 [airflow-ctl/v0-1-test] Fix airflowctl backfill
create-dry-run printing one all-null row (#76224) (#76478)
add 38d75c518c3 [airflow-ctl/v0-1-test] Escape Rich markup in airflowctl
variable and pool commands (#76419) (#76476)
add e9ceae75f57 [airflow-ctl/v0-1-test] Fix enum names and non-ISO dates
in airflowctl dags output (#76354) (#76574)
add 9b8ea7819fc [airflow-ctl/v0-1-test] Escape server and user text in
airflowctl command messages (#76265) (#76621)
add 483ad2a58b9 Remove asset state store commands from airflowctl 0.1.x
(#76662)
add 5586bb00eb5 [airflow-ctl/v0-1-test] Require rich-argparse 1.4.0 for
airflowctl (#76661) (#76668)
add f38bafb416a Prepare airflow-ctl 0.1.6rc1 release (#76663)
No new revisions were added by this update.
Summary of changes:
.github/workflows/airflow-ctl-tests.yml | 68 ++
.github/workflows/basic-tests.yml | 2 +-
.github/workflows/ci-amd-arm.yml | 12 +-
.github/workflows/ci-image-checks.yml | 8 +-
.github/workflows/ci-notification.yml | 6 +-
.github/workflows/e2e-flaky-tests-report.yml | 2 +-
.github/workflows/publish-docs-to-s3.yml | 2 +-
.github/workflows/registry-backfill.yml | 8 +-
.github/workflows/registry-build.yml | 4 +-
.github/workflows/registry-tests.yml | 2 +-
.../scheduled-verify-release-calendar.yml | 2 +-
.github/workflows/ui-e2e-tests.yml | 2 +-
.../update-constraints-on-push-stable.yml | 2 +-
.github/workflows/upgrade-check.yml | 4 +-
.pre-commit-config.yaml | 7 +
airflow-core/docs/cli-and-env-variables-ref.rst | 3 +
.../docs/howto/docker-compose/docker-compose.yaml | 2 +-
airflow-core/docs/howto/docker-compose/index.rst | 6 +-
airflow-core/newsfragments/75493.bugfix.rst | 1 +
.../api_fastapi/core_api/datamodels/assets.py | 8 +-
.../api_fastapi/core_api/datamodels/backfills.py | 2 +-
.../api_fastapi/core_api/datamodels/config.py | 8 +-
.../api_fastapi/core_api/datamodels/dags.py | 2 +-
.../api_fastapi/core_api/datamodels/variables.py | 2 +-
.../api_fastapi/core_api/openapi/_private_ui.yaml | 6 +-
.../core_api/openapi/v2-rest-api-generated.yaml | 23 +-
.../src/airflow/cli/commands/variable_command.py | 2 +-
.../airflow/ui/openapi-gen/requests/schemas.gen.ts | 50 +-
.../airflow/ui/openapi-gen/requests/types.gen.ts | 12 +-
.../src/airflow/ui/src/components/RunTypeIcon.tsx | 3 +
.../Code/FileLocation.test.tsx} | 27 +-
.../airflow/ui/src/pages/Dag/Code/FileLocation.tsx | 14 +-
.../ManageVariable/EditVariableButton.tsx | 2 +-
.../airflow/ui/src/pages/Variables/Variables.tsx | 4 +-
airflow-core/src/airflow/utils/state.py | 2 +
airflow-core/src/airflow/utils/types.py | 1 +
.../tests/unit/api/common/test_trigger_dag.py | 19 +
.../core_api/routes/public/test_backfills.py | 28 +
.../core_api/routes/public/test_dags.py | 20 +
.../core_api/routes/public/test_variables.py | 26 +
.../unit/cli/commands/test_variable_command.py | 31 +
.../tests/airflowctl_tests/conftest.py | 170 ++++-
.../tests/airflowctl_tests/constants.py | 11 +-
.../airflowctl_tests/test_airflowctl_commands.py | 39 +-
.../tests/airflowctl_tests/test_dag_run_wait.py | 237 +++++++
airflow-ctl/README.md | 2 +-
airflow-ctl/RELEASE_NOTES.rst | 139 ++++
airflow-ctl/docs/cli-and-env-variables-ref.rst | 32 +-
airflow-ctl/docs/conf.py | 5 +-
airflow-ctl/docs/howto/index.rst | 21 +-
airflow-ctl/docs/images/command_hashes.txt | 12 +-
airflow-ctl/docs/images/output_auth.svg | 76 +--
airflow-ctl/docs/images/output_auth_login.svg | 100 +--
airflow-ctl/docs/images/output_dagrun.svg | 70 +-
airflow-ctl/docs/images/output_dags.svg | 130 ++--
airflow-ctl/docs/images/output_main.svg | 142 ++--
airflow-ctl/docs/images/output_taskinstances.svg | 97 +++
airflow-ctl/docs/images/output_tasks.svg | 105 +++
airflow-ctl/docs/installation/index.rst | 2 +-
.../docs/installation/installing-from-sources.rst | 14 +-
airflow-ctl/docs/installation/prerequisites.rst | 5 +-
airflow-ctl/docs/spelling_wordlist.txt | 1 +
airflow-ctl/newsfragments/59850.significant.rst | 30 -
airflow-ctl/pyproject.toml | 4 +-
airflow-ctl/src/airflowctl/__init__.py | 2 +-
airflow-ctl/src/airflowctl/__main__.py | 5 +
airflow-ctl/src/airflowctl/api/client.py | 277 +++++---
.../airflowctl/api/datamodels/auth_generated.py | 2 +-
.../src/airflowctl/api/datamodels/generated.py | 52 +-
airflow-ctl/src/airflowctl/api/operations.py | 676 +++++++++----------
airflow-ctl/src/airflowctl/ctl/cli_config.py | 411 +++++++++---
.../src/airflowctl/ctl/commands/auth_command.py | 72 +-
.../src/airflowctl/ctl/commands/config_command.py | 58 +-
.../airflowctl/ctl/commands/connection_command.py | 57 +-
.../src/airflowctl/ctl/commands/dag_command.py | 95 ++-
.../src/airflowctl/ctl/commands/pool_command.py | 34 +-
.../src/airflowctl/ctl/commands/task_command.py | 104 +++
.../airflowctl/ctl/commands/variable_command.py | 37 +-
.../src/airflowctl/ctl/commands/version_command.py | 3 +-
.../src/airflowctl/ctl/console_formatting.py | 7 +-
airflow-ctl/src/airflowctl/ctl/help_texts.yaml | 8 +
airflow-ctl/src/airflowctl/ctl/utils/validation.py | 48 ++
airflow-ctl/src/airflowctl/exceptions.py | 4 +
airflow-ctl/tests/airflow_ctl/api/test_client.py | 608 ++++++++++++++++-
.../tests/airflow_ctl/api/test_operations.py | 585 +++++++++++++++-
.../airflow_ctl/ctl/commands/test_auth_command.py | 278 ++++++--
.../ctl/commands/test_config_command.py | 214 +++++-
.../ctl/commands/test_connections_command.py | 88 +++
.../airflow_ctl/ctl/commands/test_dag_command.py | 330 ++++++++-
.../airflow_ctl/ctl/commands/test_pool_command.py | 134 ++++
.../airflow_ctl/ctl/commands/test_task_command.py | 324 +++++++++
.../ctl/commands/test_variable_command.py | 122 +++-
.../ctl/commands/test_version_command.py | 10 +-
.../tests/airflow_ctl/ctl/test_cli_config.py | 746 ++++++++++++++++++++-
.../airflow_ctl/ctl/test_console_formatting.py | 29 +
.../tests/airflow_ctl/test_main.py | 32 +-
.../tests/airflow_ctl/utils}/__init__.py | 0
.../tests/airflow_ctl/utils/test_helpers.py | 38 +-
.../tests/airflow_ctl/utils/test_module_loading.py | 39 +-
contributing-docs/testing/airflow_ctl_tests.rst | 12 +
docs/spelling_wordlist.txt | 2 +
.../ci/prek/check_airflowctl_command_coverage.py | 1 -
scripts/ci/prek/check_ci_gate_needs.py | 70 ++
.../in_container/run_capture_airflowctl_help.py | 2 +
scripts/tests/ci/prek/test_check_ci_gate_needs.py | 60 ++
task-sdk/pyproject.toml | 2 +-
task-sdk/src/airflow/sdk/api/client.py | 10 +-
.../src/airflow/sdk/api/datamodels/_generated.py | 5 +-
task-sdk/tests/task_sdk/api/test_client.py | 29 +
uv.lock | 12 +-
110 files changed, 6397 insertions(+), 1216 deletions(-)
create mode 100644 .github/workflows/airflow-ctl-tests.yml
create mode 100644 airflow-core/newsfragments/75493.bugfix.rst
copy
airflow-core/src/airflow/ui/src/pages/{Connections/NothingFoundInfo.test.tsx =>
Dag/Code/FileLocation.test.tsx} (59%)
create mode 100644
airflow-ctl-tests/tests/airflowctl_tests/test_dag_run_wait.py
create mode 100644 airflow-ctl/docs/images/output_taskinstances.svg
create mode 100644 airflow-ctl/docs/images/output_tasks.svg
create mode 100644 airflow-ctl/docs/spelling_wordlist.txt
delete mode 100644 airflow-ctl/newsfragments/59850.significant.rst
create mode 100644 airflow-ctl/src/airflowctl/ctl/commands/task_command.py
create mode 100644 airflow-ctl/src/airflowctl/ctl/utils/validation.py
create mode 100644
airflow-ctl/tests/airflow_ctl/ctl/commands/test_task_command.py
copy airflow-core/tests/unit/serialization/test_helpers.py =>
airflow-ctl/tests/airflow_ctl/test_main.py (58%)
copy {airflow-core/src/airflow/_shared =>
airflow-ctl/tests/airflow_ctl/utils}/__init__.py (100%)
copy airflow-core/tests/unit/listeners/dag_listener.py =>
airflow-ctl/tests/airflow_ctl/utils/test_helpers.py (51%)
copy
airflow-core/src/airflow/migrations/versions/0008_2_8_1_refactor_dag_run_indexes.py
=> airflow-ctl/tests/airflow_ctl/utils/test_module_loading.py (53%)
create mode 100755 scripts/ci/prek/check_ci_gate_needs.py
create mode 100644 scripts/tests/ci/prek/test_check_ci_gate_needs.py