The GitHub Actions job "Check newsfragment PR number" on airflow.git/fix/deadline-0094-callback-encoding has failed. Run started by GitHub user seanmuth (triggered by seanmuth).
Head commit for run: e865ad16d2fe293d0567f378c1cb6324a3e81ea0 / Sean Muth <[email protected]> Fix deadline callback data encoding in migration 0094 Migration 0094 (replace_deadline_inline_callback_with_fkey) moves inline deadline callbacks into the callback table, whose data column is ExtendedJSON (read back via BaseSerialization.deserialize). Both upgrade paths built the callback data without recursively extended-serializing the callback kwargs: - Postgres: json_build_object wrapped only the top level, embedding the old kwargs jsonb raw. - MySQL/SQLite: wrote the callback dict with no extended wrapping at all. Any callback whose kwargs contain a nested dict (e.g. metric tags) is then unreadable -- BaseSerialization.deserialize raises KeyError('__var') and the scheduler enters CrashLoopBackOff on the deadline-processing loop. Both upgrade paths now extended-serialize the callback data (a recursive pg_temp SQL function for the Postgres CTE, a _serialize_extended helper for the Python path), and the downgrade paths decode kwargs back to raw so an upgrade/downgrade round-trip is preserved. Deployments already upgraded across 0094 must repair existing callback.data rows out of band. Closes: #69980 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/29527549350 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
