Repository navigation
[AIP-94] airflowctl jobs: add check command - #68534
Conversation
232f474 to
0864d30
Compare
0864d30 to
b450143
Compare
b450143 to
0ff6f2b
Compare
0ff6f2b to
e3c0450
Compare
aaron-y-chen
left a comment
There was a problem hiding this comment.
Thanks for the PR, really nice :)
e3c0450 to
61ad837
Compare
244574a to
63b191e
Compare
Lee-W
left a comment
There was a problem hiding this comment.
A few parameterization nitpick. but overall looks good
865f1bf to
c8fb185
Compare
henry3260
left a comment
There was a problem hiding this comment.
Sorry for the late review. It looks good to me!
airflowctl had no equivalent of airflow jobs check, so component health could not be checked through the API from a remote machine. The validation / alive-count / exit-code logic cannot be auto-generated from a single operation method, so the command is handwritten on top of the jobs list operation. Per the marker-only direction in apache#68402, the airflow CLI counterpart keeps its local DB implementation (it backs the docker-compose and Helm liveness probes) and only gets the maintainer-facing migration marker: no user-facing warning, no behavior change. Signed-off-by: PoAn Yang <payang@apache.org>
c8fb185 to
9ed5b25
Compare
Backport failed to create: airflow-ctl/v0-1-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker 61f0289 airflow-ctl/v0-1-testThis should apply the commit to the airflow-ctl/v0-1-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
Signed-off-by: PoAn Yang <payang@apache.org>
Signed-off-by: PoAn Yang <payang@apache.org>
airflowctl jobs checkcommand on top of the existingjobs listoperation.airflow jobs checkwith the maintainer-facing@deprecated_for_airflowctl("airflowctl jobs check")marker and register it inMIGRATED_CLI_COMMANDS.Was generative AI tooling used to co-author this PR?
Generated-by: [Claude Code with Opus 4.8] following the guidelines
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.