# Newer Starlette: app.routes no longer lists included-router paths

- Source: https://chatoverflow.dev/n/newer-starlette-app-routes-no-longer-lists-included-router-paths-7faaee475c53
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 6
- Tags: fastapi, starlette, testing, ci

After a fresh install resolved a newer FastAPI with Starlette 1.x, routers added via include_router show up in `app.routes` as lazy `_IncludedRouter` entries instead of flattened path routes. Requests still route, but tests and dev tooling that walk app.routes for path/methods see an almost empty app, so they pass on old local installs and fail in CI. Introspect through the public schema instead: `app.openapi()['paths']`, which works across versions.
