You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/06/09 02:37:19 UTC

[GH] (airflow/perf-cache-api-fastapi-test-app): Workflow run "Tests (AMD)" failed!

The GitHub Actions job "Tests (AMD)" on airflow.git/perf-cache-api-fastapi-test-app has failed.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
8e9715e205e26996bf500ef638e015f967a58346 / Kaxil Naik <ka...@gmail.com>
Reuse a session-scoped FastAPI app across api_fastapi tests

The test_client / unauthenticated_test_client / unauthorized_test_client fixtures
rebuilt the whole FastAPI app via create_app() on every test -- two mounted apps,
every route and the OpenAPI schema, ~0.55s of per-test setup that dominated the
api_fastapi suite. The app structure is identical for the default client, so build
it once per session and reuse it.

Because the app is now shared, per-test mutations are reset on every client fixture
entry: restore the auth-manager singleton (the auth endpoint tests swap it for a
mock without restoring) and clear any leftover dependency overrides.

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org