vatsrahul1001 opened a new pull request, #72886:
URL: https://github.com/apache/airflow/pull/72886
Backport of #71926 to `v3-3-test` for the 3.3.2 release, **including its
prerequisite #69064**.
#71926 depends on #69064 ("Guard XCom/DagRun pickle-removal migrations
0049/0055 against NaN/Infinity and U+0000"), which was never backported to the
3.3 line (no milestone). Cherry-picking #71926 alone onto `v3-3-test`
conflicted (229-line divergence in `0049`) because #69064 was missing. With
#69064 applied first, both cherry-pick cleanly.
Both commits are included in chronological order:
- `#69064` — guard the bytea→JSONB conversion against invalid bytes
(NaN/Infinity/U+0000)
- `#71926` — do not corrupt XCom values that already parse as JSON (the
target fix)
**Verification:** the resulting migration SQL (`0049`/`0055`) is
byte-for-byte identical to `main` (0 diff), i.e. exactly the SQL main's CI
validated on Postgres and MySQL. ruff clean. The
`@pytest.mark.backend("postgres")` / `("mysql")` migration tests included in
these PRs run in this PR's CI DB matrix.
Scope note: these are already-shipped 3.0.0 migrations, so the fix benefits
deployments that have not yet run 0049/0055 (fresh installs / upgrades from
pre-3.0); it does not re-run for deployments already on 3.x.
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Opus 4.8)
Generated-by: Claude Code (Opus 4.8) following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]