Repository navigation
[airflow-ctl/v0-1-test] Fix airflowctl operations create command validation error (#69317) - #76116
Merged
shahar1 merged 2 commits intoOct 31, 2026
Conversation
shahar1
requested review from
bugraoz93,
dheerajturaga and
potiuk
as code owners
October 31, 2026 07:07
…dation error (apache#69317) The only conflict was context: _find_subgroup_suffix from the operation subgroups change is not on this branch and stays out. The fix itself applies unchanged. (cherry picked from commit 1c3b3de) Co-authored-by: Pratiksha Badheka <[email protected]>
…he#76092) apache#69317 made required request-body fields required in argparse, and apache#75177 added a test expecting the post-parse validation to report a missing --conn-type. Each passed on its own, but together argparse rejects the command during parsing, so the test failed on main. The argparse error is the intended behaviour; the test now checks it. (cherry picked from commit 9c164b5)
shahar1
force-pushed
the
backport-69317-v0-1-test
branch
from
October 31, 2026 07:35
7cc5199 to
00b43e7
Compare
shahar1
added a commit
that referenced
this pull request
Nov 19, 2026
…dation error (#69317) (#76116) * [airflow-ctl/v0-1-test] Fix airflowctl operations create command validation error (#69317) The only conflict was context: _find_subgroup_suffix from the operation subgroups change is not on this branch and stays out. The fix itself applies unchanged. (cherry picked from commit 1c3b3de) Co-authored-by: Pratiksha Badheka <[email protected]> * Fix airflowctl required-option test broken by concurrent merges (#76092) #69317 made required request-body fields required in argparse, and #75177 added a test expecting the post-parse validation to report a missing --conn-type. Each passed on its own, but together argparse rejects the command during parsing, so the test failed on main. The argparse error is the intended behaviour; the test now checks it. (cherry picked from commit 9c164b5) --------- Co-authored-by: Pratiksha Badheka <[email protected]>
28 of 67 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #69317 to
airflow-ctl/v0-1-test, plus its companion test fix #76092.The automatic backport failed on a context-only conflict: the hunk next to the new
_allows_nonehelper contains_find_subgroup_suffix, which comes from the operation subgroups change that is not on this branch. That method stays out; the fix itself applies unchanged (same+/-lines as the original commit, 3 files, +74/-5).Second commit: cherry-pick of #76092. On
main, #69317 together with #75177 changed how a missing required option surfaces (argparse now rejects it before the friendly-message path runs); the branch has #75177 as #76089, so without #76092test_create_command_without_required_option_exits_with_friendly_messagefails on the merge result, which is why CI was red on the first push. The branch is rebased on the current tip (35fe4f5f47).Tested on the rebased sources: full airflowctl unit suite, 580 passed.
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Opus 5.5 and Claude Code (Fable 5.1) following the guidelines