The GitHub Actions job "Tests" on airflow.git/fix_xcom_migration_nan_inf has 
failed.
Run started by GitHub user jedcunningham (triggered by jedcunningham).

Head commit for run:
f0bf6333cd1fa56b96046f18eb87d56b4520edc4 / Jed Cunningham 
<[email protected]>
Fix XCom migration failing for NaN/Infinity float values

XCom values containing float('nan'), float('inf'), or float('-inf')
caused the database migration to silently corrupt data or fail
outright when upgrading. Three bugs were present across backends:

- Consecutive tokens (e.g. [NaN, NaN]) were only partially replaced,
  leaving bare NaN/Infinity in the output and breaking the JSON cast.
- Infinity and -Infinity were not handled at all — only NaN was.
- Bare top-level values (a single NaN or Infinity, not inside a list
  or dict) were not matched and passed through unconverted.

MySQL also had two bugs in the replacement query that caused it to produce
the wrong output (one of these was pre-existing from #57866).

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

With regards,
GitHub Actions via GitBox


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

Reply via email to