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

Head commit for run:
9101aa66754af052ba5010a5fce9f8fa4140e6c7 / Jarek Potiuk <[email protected]>
Stop exposing trigger kwargs in the REST API response (#67868)

TriggerResponse.kwargs returned the decrypted trigger keyword arguments
verbatim (as a stringified Python dict). Those kwargs can contain
credentials a deferred operator hands to its trigger (an API key, a token),
so the field leaked secrets.

Rather than removing the field (a breaking schema change for API consumers),
keep it but always return it empty as "{}" -- the same value an empty-kwargs
trigger already produced under the previous str() serialization. The field
is now marked `deprecated` in the response schema so consumers are nudged
off it, while retained for backwards compatibility. The triggerer still
decrypts and uses the real kwargs at runtime; only the API representation
is emptied.

A plain `Field(deprecated=True)` is used rather than a deprecated computed
field, so response serialization stays warning-free.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to