dossett opened a new pull request, #77168: URL: https://github.com/apache/airflow/pull/77168
(Upgrading the cncf/kubernetes provider is a breaking change for that provider and would required a major release of the provider.) The code for this PR was written by Codex, but this PR description was written by a human. The `kubernetes` client took a leap forward with version 37, upgrading the version of the openapi library used to generate it. The upgraded version of the generator contains [a fix related to how often it was needlessly setting the python logging level](https://github.com/OpenAPITools/openapi-generator/pull/18872). Every time the level was set it cleared the caches of all in-process loggers. This doesn't sound like a lot, but at scale the work to lazily repopulate them will really add up. Check out [this benchmark](https://gist.github.com/dossett/71242eb45c2afb23700b16987c283f71). Instantiating a pod with PodGenerator with the current provider sets the log level (and clears all logging caches) 132 times. With this PR that happens zero times. The other changes in this PR are to account for the public changes in `kubernetes`. Update timeout handling, empty-template deserialization, examples, and dependency metadata for the new client while preserving pod-template behavior. Document migration requirements for keyword-only constructors and stricter validation. --- - [x] Generative AI used: Codex (GPT-6) Generated-by: Codex (GPT-6) following [the contribution guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
