The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/migration-strip-nul-bytes has failed.
Run started by GitHub user seanmuth (triggered by seanmuth).

Head commit for run:
6cd6c07d9ea11f4464d9c83188eb66a70fed4474 / seanmuth <[email protected]>
Add migration tests for 0049/0055 NaN+NUL sanitization

Extract 0049's per-dialect value-sanitization SQL into module-level helpers
(_xcom_pg/mysql/sqlite_sanitize_sql), mirroring the testability pattern in
migration 0117. Production calls default to table="xcom" so the emitted SQL is
byte-for-byte identical to the previous inline statements.

Tests:
  * test_0049: runs the real sanitize SQL against an isolated table. SQLite case
    is backend-independent; Postgres (asserts the JSONB cast fails on the NUL
    escape pre-sanitize and succeeds after) and MySQL cases are backend-marked.
  * test_0055: pure-Python tests for _json_safe (non-finite float quoting,
    recursion into dict/list/tuple) and the full json.dumps(...).replace(NUL,'')
    pipeline, asserting strict-valid JSON via json.loads(parse_constant=...).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to