Skip to content

Conversation

@johnhoran
Copy link
Contributor

Closes #59366

I noticed the callbacks were just being passed the same log line over and over again. I tried previous versions of the provider, and they all seem to have the same bug, so I think this probably never worked correctly.

I think the best thing to do is have the callback be passed the same message that is passed to the logging call, and additionally to add some extra context, like the container name and timestamp. I've also expanded the test to catch this bug in future.


^ 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.

@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Dec 12, 2025
@johnhoran johnhoran marked this pull request as ready for review December 12, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kubernetes Pod Operator Callbacks progress_callbacks repeat same line

1 participant