The GitHub Actions job "Tests" on airflow.git/fix/issue-63532 has failed.
Run started by GitHub user YoannAbriel (triggered by YoannAbriel).

Head commit for run:
85bc352d5e557c894c746bf8531207f70201ae2d / Yoann Abriel <[email protected]>
fix: optimize migration 0094 upgrade to use SQL instead of Python 
deserialization

Replace row-by-row Python serde deserialization with pure SQL JSON
manipulation for PostgreSQL (writable CTE with gen_random_uuid()
and jsonb operations). For MySQL/SQLite, use batched approach with
Python UUID generation but direct JSON dict access instead of
importing and invoking serde.deserialize().

This eliminates the Python object instantiation bottleneck that
caused ~33 minute migration times for 10M deadline rows.

Also removes runtime module imports (airflow.serialization.serde,
airflow.models.callback, airflow.models.deadline) from the upgrade
path, hardcoding the constant values instead. This follows the
migration best practice of avoiding ORM/runtime imports.

Closes: #63532

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

With regards,
GitHub Actions via GitBox


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

Reply via email to