The GitHub Actions job "Check newsfragment PR number" on 
airflow.git/bugfix/bulk-overwrite-preserves-team-name has failed.
Run started by GitHub user seanghaeli (triggered by seanghaeli).

Head commit for run:
c4d40bb41b6f0bd450aa5572a809115a2dbae3f1 / Sean Ghaeli <[email protected]>
Fix bulk create+overwrite silently resetting unset fields on pools and 
connections

A bulk 'create' with action_on_existence=overwrite dumped the whole request body
and set every field on the existing record, so fields the request omitted were
reset to their defaults. For multi-team setups this silently nulled an existing
pool's or connection's team_name ownership when an overwrite changed only e.g.
slots; description and include_deferred were affected too.

Only write the fields the request actually provided 
(model_dump(exclude_unset=True)),
so omitted fields keep their current value while explicitly-set fields (even 
None)
are still applied. Adds regression tests for both pools and connections.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to