The GitHub Actions job "Tests (AMD)" on airflow.git/backport-537feaf-v3-3-test 
has failed.
Run started by GitHub user jason810496 (triggered by jason810496).

Head commit for run:
d83617b37526fad9c0ecc6161322f67dbe987fc8 / Kaxil Naik <[email protected]>
[v3-3-test] Fix Variables API handling of non-string JSON values (#71018)

POST /api/v2/variables with a non-string JSON value (array, object,
bool, null) silently stored the Python repr of the value, which cannot
be read back with deserialize_json. PATCH with the same payload failed
with a masked 500 because the raw value hit the ORM Fernet encryption
step.

VariableBody now JSON-encodes non-string values once at request
validation, covering POST, PATCH and bulk consistently, matching the
behaviour the bulk create path already had for dicts and lists.
Variable.set_val also raises a clear TypeError instead of the cryptic
"encoding without a string argument".
(cherry picked from commit 537feaf)

Co-authored-by: Kaxil Naik <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to