The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix-v1pod-unpicklable-config-in-cluster has failed.
Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).

Head commit for run:
54903468cde3734b752ba8fae6cb18149f03a735 / Ephraim Anierobi 
<[email protected]>
Make cncf.kubernetes model deserialization picklable in-cluster

The kubernetes client (v36) attaches the process-global in-cluster Configuration
to every model it deserializes, and that Configuration's refresh_api_key_hook is
an unpicklable local closure. Any deserialized model that later gets pickled --
for example a pod_override placed on the KubernetesExecutor multiprocessing
queue -- then crashes.

Deserialize through an ApiClient built with a fresh Configuration in the
provider's model-deserialization paths so the resulting models (and every nested
object) stay picklable regardless of the kubernetes client version:
PodGenerator.deserialize_model_dict, 
KubernetesJobOperator.deserialize_job_template_file,
and the backcompat _convert_from_dict converter.

Report URL: https://github.com/apache/airflow/actions/runs/27966248091

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to