You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/06/26 22:49:37 UTC
[GH] (airflow/fix/migration-strip-nul-bytes): Workflow run "Tests (AMD)" failed!
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 <se...@gmail.com>
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) <no...@anthropic.com>
Report URL: https://github.com/apache/airflow/actions/runs/28267978605
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org