Add Kubernetes provider utility test coverage - #72461
Open
YusefSyed wants to merge 1 commit into
Open
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide
|
YusefSyed
marked this pull request as ready for review
September 3, 2026 00:03
YusefSyed
requested review from
hussein-awala,
jedcunningham and
jscheffl
as code owners
September 3, 2026 00:03
YusefSyed
marked this pull request as draft
September 3, 2026 00:25
The decorator source rewriting and YAML deletion helpers can silently corrupt user code or hide aggregate API failures without focused regression coverage.
YusefSyed
force-pushed
the
codex/kubernetes-provider-tests
branch
from
September 4, 2026 05:31
339a495 to
c1f8ef3
Compare
YusefSyed
marked this pull request as ready for review
September 4, 2026 15:56
YusefSyed
marked this pull request as draft
September 4, 2026 18:15
YusefSyed
marked this pull request as ready for review
September 4, 2026 18:16
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.
Closes #72265.
Why
The Kubernetes task source-rewrite and YAML deletion utilities had no direct
tests. A regression could silently corrupt generated task code, select the wrong
Kubernetes API method, or change deletion error handling without the
project-structure gate noticing the behavior change.
What changed
and teardown decorators, and absent task decorators.
behavior.
.k8s.io, andmulti-label DNS groups.
namespace precedence, List expansion, inherited API versions, and aggregated
ApiExceptionformatting.OVERLOOKED_TESTS.Verification
airflow-core/tests/unit/always/test_project_structure.py: 10 passed, 1expected xfail.
CI-image build ended before producing a test result. No Breeze success is
claimed. Hosted CI is the remaining environment-level verification.
Generative AI tools assisted with repository navigation, test drafting, command
execution, and diff analysis. The resulting three-file test-only change was
narrowed to direct utility coverage and removal of the two matching
overlooked-test entries, then verified with the checks listed above.
The account holder reviewed and approved the final three-file diff and
validation evidence on 2026-09-04 and accepts final responsibility for the
contribution.
Was generative AI tooling used to co-author this PR?
Generated-by: OpenAI Codex (GPT-5.6 Sol) following the
guidelines