-
Notifications
You must be signed in to change notification settings - Fork 169
Expand file tree
/
Copy pathcoverage-thresholds.json
More file actions
68 lines (68 loc) · 1.97 KB
/
Copy pathcoverage-thresholds.json
File metadata and controls
68 lines (68 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"$comment": [
"Per-package minimum coverage (issue #1090). Single source of truth for the",
"coverage gate: scripts/coverage-report.js --check reads this, and each",
"package's own test config mirrors its numbers so `npm test -- --coverage`",
"fails locally too.",
"",
"These are RATCHETS, not targets. Set at the measured floor so the gate is",
"green and meaningful today; raise them as coverage improves. Never lower a",
"minimum to make a red build pass — add tests instead.",
"",
"A minimum of 0 with \"pending\": true means the package's coverage has not",
"been measured in CI yet. The PR comment reports the real number on the first",
"run; raise the minimum to just under it in a follow-up."
],
"packages": {
"backend": {
"dir": "backend",
"type": "jest",
"minimum": {
"lines": 55,
"statements": 55,
"functions": 55,
"branches": 44
},
"measuredAt": "2026-07-25",
"measured": {
"lines": 58.0,
"statements": 57.48,
"functions": 57.14,
"branches": 46.48
}
},
"client": {
"dir": "client",
"type": "vitest",
"pending": true,
"minimum": {
"lines": 0,
"statements": 0,
"functions": 0,
"branches": 0
},
"note": "vitest.config.ts declares 80/80/85/75 but CI has never run client tests with --coverage, so those numbers are unverified. Ratchet from the first reported run."
},
"sdk": {
"dir": "sdk",
"type": "jest",
"pending": true,
"minimum": {
"lines": 0,
"statements": 0,
"functions": 0,
"branches": 0
},
"note": "Ratchet from the first reported run."
},
"contracts": {
"dir": "contracts",
"type": "rust",
"pending": true,
"minimum": {
"lines": 0
},
"note": "cargo-llvm-cov line coverage. Ratchet from the first reported run."
}
}
}