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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
