The GitHub Actions job "Tests" on airflow.git/backport-562cc3e-chart/v1-2x-test has failed. Run started by GitHub user rohan9446 (triggered by rohan9446).
Head commit for run: 925aaa88c6863c87755456a8d5f9bb96c98f958d / rohan9446 <[email protected]> [chart/v1-2x-test] Separate JWT secret env var from the standard Airflow environment helper (#70896) `AIRFLOW__API_AUTH__JWT_SECRET` was rendered from inside `standard_airflow_environment` behind an `IncludeJwtSecret` flag, so every component had to opt out of it explicitly with `(merge (dict "IncludeJwtSecret" false) .)`. Move the variable into its own `jwt_secret_environment` helper, following the shape of the existing `keda_airflow_environment` helper, and include it only in the API server and scheduler containers that need it. Every other caller of `standard_airflow_environment` passes a plain context again, and the `IncludeJwtSecret` context mutation is gone. No behavioural change: the same containers receive the same variable, still gated on `enableBuiltInSecretEnvVars.AIRFLOW__API_AUTH__JWT_SECRET`, preserving the least-privilege exposure introduced in #63204. Only the position of the variable within the rendered env list changes, so the ordered assertion in `test_have_all_variables` is updated to match. Closes: #70843 (cherry picked from commit 562cc3e243c756d25c1c1996c38ec7a480ce7b59) Co-authored-by: rohan9446 <[email protected]> Co-authored-by: rohan9446 <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/30958477878 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
