The GitHub Actions job "Tests" on 
airflow.git/fix/redact-token-from-workload-repr has failed.
Run started by GitHub user SibtainOcn (triggered by eladkal).

Head commit for run:
faa0c0eb6a90e2092f3fb0c9c4725dd3b9797dad / SibtainOcn 
<[email protected]>
fix: exclude JWT token from workload repr to prevent log exposure

Prevents JWT tokens from leaking into task logs by setting
repr=False on the token field in BaseWorkloadSchema.

When workload objects are logged (e.g. in execute_workload.py),
Pydantic's auto-generated __repr__ previously included the raw
JWT token string. This is a security concern as tokens should
never appear in log output.

The fix uses Pydantic's Field(repr=False) to exclude the token
from string representations while keeping it fully accessible
as an attribute.

Fixes: #62428

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

With regards,
GitHub Actions via GitBox


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

Reply via email to