The GitHub Actions job "CodeQL" on airflow.git/main has failed.
Run started by GitHub user ashb (triggered by ashb).

Head commit for run:
537feafb3697338b3988d826b9c9b45da06b1f23 / Kaxil Naik <[email protected]>
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".

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

With regards,
GitHub Actions via GitBox


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

Reply via email to