Commit 04d136f
Harsh Patadia
ci: add coverage gates (backend pytest-cov + frontend vitest thresholds)
Backend: pytest-cov with --cov-fail-under=40 ratchet (currently 43%; drag is
the untested Flask API + network-heavy llm/swarm_runner). Frontend: vitest v8
coverage thresholds (stmts 65 / lines 68 / branches 55 / funcs 50) over the
unit-tested surface — Result.vue excluded (unmountable; its helpers are
mirror-tested in ResultHelpers.test.js). Both wired into CI + ci-local.
Also corrected tech_debt: utils/retry.py is NOT dead (imported by utils/llm.py).1 parent 1f26c4d commit 04d136f
6 files changed
Lines changed: 280 additions & 2060 deletions
File tree
- .github/workflows
- backend
- frontend
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
0 commit comments