Repository navigation
Commit cd243d1
fix(ci): Backend CI was red because FastAPI 0.141 stopped listing routes
Found it. From FastAPI 0.141 an included router appears in app.routes as a
single path-less _IncludedRouter. Walking app.routes therefore finds no
/api/v1 route at all while every request still returns 200. requirements.txt
does not pin fastapi, so CI installs 0.141.1 and this laptop has 0.135.1 -
which is why the old inline route check failed on every CI run since at least
8 September and passed locally, and why its replacement failed the same way.
Reproduced with a minimal app on both versions. The route test now reads the
OpenAPI schema, which is public and version-stable. Full suite: 86 passed on
0.135.1 and 86 passed on 0.141.1.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent ea1b258 commit cd243d1
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
85 | 91 | | |
86 | 92 | | |
87 | 93 | | |
| |||
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
93 | | - | |
| 99 | + | |
94 | 100 | | |
95 | 101 | | |
0 commit comments