The GitHub Actions job "Tests (AMD)" on airflow.git/v3-3-test has failed.
Run started by GitHub user ashb (triggered by ashb).

Head commit for run:
eda27d177151ad3335cc1294330c23b3d48a5bc0 / github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
[v3-3-test] Allow missing `api_auth.jwt_secret` for `InProcessExecutionAPI` 
(#68980) (#68982)

PR #68840 fixed an issue where exceptions thrown by the FastAPI
lifecycle hook were swallowed. In doing so, it exposed a pre-existing
problem where the lifecycle hook couldn't run when the JWT secret was
not provided.

As the `InProcessExecutionAPI` overrides auth, it doesn't need a JWT
secret, and we certainly don't want to start crashing processes that
previously ran fine as a result of a missing secret that we don't need.

This commit stubs out the registered `JWTValidator` in the FastAPI app
created for the `InProcessExecutionAPI`. This is done in an isolated
services registry to ensure we don't leak this into any real app
instantiations.
(cherry picked from commit e886dfd05eee4b8b38efdbd34f2fae5ae49ac6cd)

Co-authored-by: Nick Stenning <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to