The GitHub Actions job "Refresh image registry cache" on airflow.git/v3-3-test 
has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
baf117320733a83fa67cba1b4a6f28238d74bd98 / Jason(Zhe-You) Liu 
<[email protected]>
[v3-3-test] Fix Variables API handling of non-string JSON values (#71018) 
(#71526)

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)


(cherry picked from commit d83617b37526fad9c0ecc6161322f67dbe987fc8)

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

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

With regards,
GitHub Actions via GitBox


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

Reply via email to