Repository navigation
Commit ea1b258
ci: replace the route check that failed silently with a pytest test
Backend CI has failed on every run since at least 8 September, main included.
The failing step was an inline python -c route assertion; it exits 1 and the
public annotations say nothing more. The same assertion passes locally, and on
the runner the pytest step - which imports and boots the same app - passed.
The check now lives in tests/test_api.py and names ten public routes
explicitly, so a failure says which route is missing. The inline step is
removed rather than debugged blind.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent bea2a11 commit ea1b258
2 files changed
Lines changed: 15 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 18 | | |
28 | 19 | | |
29 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
0 commit comments