The GitHub Actions job "Tests (AMD)" on 
airflow.git/ghaeli/callback-context-execution-api has failed.
Run started by GitHub user seanghaeli (triggered by seanghaeli).

Head commit for run:
5411c924c0aeff334f194f5874cc3cb2621b07bb / Sean Ghaeli <[email protected]>
Override require_auth in in-process Execution API to fix test hangs

The in-process Execution API test harness overrides auth dependencies
(_jwt_bearer, has_*_access) with always_allow so dry-run clients with an
empty token can call the routes. This PR added a router-level
Security(require_auth, scopes=...) dependency to the variables/connections
routes, but require_auth was not in the override map. With token='', the
real require_auth path ran on the in-process event loop and never returned
cleanly, so the lifespan could not close and test_processor /
test_triggerer_job tests timed out (Error while closing in-process
execution API lifespan -> TimeoutError).

Add require_auth to the in-process override map, mirroring _jwt_bearer.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to