-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcoverage.config.schema.json
More file actions
58 lines (58 loc) · 1.91 KB
/
coverage.config.schema.json
File metadata and controls
58 lines (58 loc) · 1.91 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Coverage Warning Configuration",
"description": "Configuration for packages with time-limited coverage/test warning exceptions",
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Overall description of the warning-only package system"
},
"warningOnly": {
"type": "array",
"description": "List of packages with coverage warnings that don't block CI (until expiry)",
"items": {
"type": "object",
"required": ["package", "reason", "addedDate", "expiryDays"],
"properties": {
"package": {
"type": "string",
"description": "Package path relative to packages/ directory"
},
"reason": {
"type": "string",
"description": "Why this package is warning-only",
"minLength": 10
},
"addedDate": {
"type": "string",
"format": "date",
"description": "Date when warning was added (YYYY-MM-DD)",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"expiryDays": {
"type": "number",
"description": "Days until expiry (typically 90)",
"minimum": 1,
"maximum": 180
},
"assignee": {
"type": ["string", "null"],
"description": "Optional assignee username (e.g., @username)"
},
"linear": {
"type": ["string", "null"],
"description": "Optional Linear ticket URL or reference (e.g., https://linear.app/...)"
},
"notes": {
"type": ["string", "null"],
"description": "Optional additional context or coordination notes"
}
},
"additionalProperties": false
}
}
},
"required": ["warningOnly"],
"additionalProperties": false
}